Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Dear all,
I was wondering if anyone found a way around rank measures when using direct query? I have read a lot online and seems its not currently supported. There are suggestions like enabling restiricted formulas in option menu, but on my power bi i do not see such option. Anyone has a working solution on this?
Please let me know, thanks in advance for the help, stay safe.
Solved! Go to Solution.
Perhaps this will help:
https://community.powerbi.com/t5/Quick-Measures-Gallery/To-Bleep-with-RANKX/td-p/1042520
Has RANKX and non-RANKX ways of doing ranking.
This one worked for me thanks 🙂
ToHellWithRankXDescMeasure2 =
COUNTROWS(
FILTER(
SUMMARIZE(
ALL('Table'),
[Group],
"Value",SUM('Table'[Value])
),
[Value]>=SUM([Value])
)
)
The date was probably going to be my next questions so i will try now that thanks for the detailed info and taking the time to collect all this great info.
Perhaps this will help:
https://community.powerbi.com/t5/Quick-Measures-Gallery/To-Bleep-with-RANKX/td-p/1042520
Has RANKX and non-RANKX ways of doing ranking.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.