The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
How can I rank the measure below in ascending order:
Solved! Go to Solution.
@Weatherreport
If the following does not work, please share sample data and the expected result to understand the question.
Time ranking =
RANKX(
ALL('Database'[Restaurant]),
calculate(
SUMX(
RELATEDTABLE(Times),
[KDS Kitchen Time]
)
),,ASC
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Thanks for your reply Fowmy.
I have now realised that it was working, the database table was not correct
@Weatherreport
If the following does not work, please share sample data and the expected result to understand the question.
Time ranking =
RANKX(
ALL('Database'[Restaurant]),
calculate(
SUMX(
RELATEDTABLE(Times),
[KDS Kitchen Time]
)
),,ASC
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group