Forum Discussion
Month and Quarter Incorrect sorting
You can add two parameters [order_by_expression] and [order] in concatenatex() function like below:
User Selection = CONCATENATEX(VALUES(Sheet1[CAL_MTH_NAME]),Sheet1[CAL_MTH_NAME],", ", Sheet1[CAL_MTH_NAME], ASC)&" "&CONCATENATEX(VALUES(Sheet1[CAL_QTR]),Sheet1[CAL_QTR],", ", Sheet1[CAL_QTR], ASC)
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- powerbidevelope7 years agoFrequent Visitor
Hi v-yuta-msft
thanks for your reploy, your expression is not working.
Any help is appreciated..
Thanks......
- powerbidevelope7 years agoFrequent Visitor
i am just thinking like as we do not have continuous dates, sorting is not working. Is that correct? or any other reasons..
Thanks..
- v-yuta-msft7 years agoCommunity Support
Yes, based on my test, concatenatex() will sort by the first charater of the text if the values are not date or number.
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.