Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi ,
Sorry, this should be very easy but I am missing something here:
@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.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 78 | |
| 40 | |
| 31 | |
| 27 | |
| 27 |