Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have rows of data selected from a Slicer like Dec-16, Jan-17. The result from the DAX statement: TitleDateAncillary = CONCATENATEX( VALUES('Ancillary'[YearMonthName]), 'Ancillary'[YearMonthName], ", ") gives me Jan-17 , Dec16. I need to reorder them Chronologically.
Thanks, Mark
Solved! Go to Solution.
Hi u156531,
Simplely sort data in query editor or report view can't achieve your requirement, you can add a sort optional param in CONCATENATEX() function like below:
CONCATENATEX(Table, Expression, [Delimiter], [OrderBy_Expression1], [Order1], ...)
Reference thread: https://community.powerbi.com/t5/Desktop/I-want-to-quot-Order-by-quot-before-using-CONCATENATEX-trie....
Regards,
Jimmy Tao
Hi u156531,
Simplely sort data in query editor or report view can't achieve your requirement, you can add a sort optional param in CONCATENATEX() function like below:
CONCATENATEX(Table, Expression, [Delimiter], [OrderBy_Expression1], [Order1], ...)
Reference thread: https://community.powerbi.com/t5/Desktop/I-want-to-quot-Order-by-quot-before-using-CONCATENATEX-trie....
Regards,
Jimmy Tao
| User | Count |
|---|---|
| 57 | |
| 43 | |
| 32 | |
| 16 | |
| 13 |
| User | Count |
|---|---|
| 84 | |
| 70 | |
| 38 | |
| 27 | |
| 24 |