Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
84 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |