Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
7 replies
Subscribers
7 subscribers
Views
2049 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Hi All, There is possible to format field inside a!queryAggregationColumn f
heriz
over 10 years ago
Hi All,
There is possible to format field inside a!queryAggregationColumn function?
My script is like below:
a!queryAggregationColumn(
field:"dateTrans",
alias:"qt",
visible:true(),
isgrouping:true()
)
I want to format field 'dateTrans' from "dd/mm/yyyy" to "mmm yyyy".
This 'dateTrans' field stored in data store with data type of Date.
Thanks before.
Regards...
OriginalPostID-112860
OriginalPostID-112860
Discussion posts and replies are publicly visible
Parents
0
heriz
over 10 years ago
Okay, can you help me provide the work around on this case?
Below is my script:
=load(
local!data: queryrecord(
recordType: cons!TransRecord,
query: a!query(
aggregation: a!queryAggregation(
aggregationColumns: {
a!queryAggregationColumn(
field: "dateTrans", /* <----- want to show in mmm-yyyy format */
alias: "label",
visible: true,
isGrouping: true
),
a!queryAggregationColumn(
field: "idTrans",
alias: "data",
visible: true,
aggregationFunction: "COUNT"
)
}
),
pagingInfo: a!pagingInfo(
startIndex: 1,
batchSize: -1,
sort: a!sortInfo(
field: "label",
ascending: true
)
)
)
).data,
a!columnChartField(
series: local!data,
showDataLabels: true
)
)
Thanks.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
heriz
over 10 years ago
Okay, can you help me provide the work around on this case?
Below is my script:
=load(
local!data: queryrecord(
recordType: cons!TransRecord,
query: a!query(
aggregation: a!queryAggregation(
aggregationColumns: {
a!queryAggregationColumn(
field: "dateTrans", /* <----- want to show in mmm-yyyy format */
alias: "label",
visible: true,
isGrouping: true
),
a!queryAggregationColumn(
field: "idTrans",
alias: "data",
visible: true,
aggregationFunction: "COUNT"
)
}
),
pagingInfo: a!pagingInfo(
startIndex: 1,
batchSize: -1,
sort: a!sortInfo(
field: "label",
ascending: true
)
)
)
).data,
a!columnChartField(
series: local!data,
showDataLabels: true
)
)
Thanks.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data