Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
craig811
Helper III
Helper III

Help with easy DAX formula

Hi ,

 

Sorry, this should be very easy but I am missing something here:

 
Abs Var Relieved = ABS(Sum('WIP Summary'[ Variances Relieved]))
 
I need the above DAX to sort in 'Ascending order', I do not want to use the sort on the visual.
 
Can I not just add ',asce' or would that not work?
 
Thanks 
3 REPLIES 3
amitchandak
Super User
Super User

@craig811 , In visual you have sort using the option in visual.

 

Only for axis, you can have a default sort order. That too when you sort visual on axis.

Thanks, but I was hoping I could do it through DAX instead of the visual.

Hi @craig811 

 

You can try RANKX function or TOPN function. 

 

In addition, your DAX formula is for a measure or a calculated column? As you want it to be sorted, where do you want to see the sorting result? You could share some sample data and desired output then we can help create a DAX expression accordingly. 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.