Forum Discussion
PeterChu
8 years agoFrequent Visitor
Get Top5 by Dates
Hi, I want to do get top5 RegisteredNumbers measure by dates and Nickname in power bi desktop,but I don't know how to do.Hope you guys can help me out, thanks in advance I want to do as I shown ...
- 8 years ago
First Add a Rank Column (Calculated Column) in your Table
RANK = RANKX ( FILTER ( TableName, TableName[Date] = EARLIER ( TableName[Date] ) ), TableName[RegisteredNumbers], , DESC, DENSE ) - 8 years ago
Zubair_Muhammad
8 years agoCommunity Champion
First Add a Rank Column (Calculated Column) in your Table
RANK =
RANKX (
FILTER ( TableName, TableName[Date] = EARLIER ( TableName[Date] ) ),
TableName[RegisteredNumbers],
,
DESC,
DENSE
)
- Zubair_Muhammad8 years agoCommunity Champion
- PeterChu8 years agoFrequent Visitor
It's work.Thank you very much.
- v-huizhn-msft8 years agoMicrosoft Employee
Hi PeterChu,
Glad to hear that you have resolved your issue. Please mark the right/helpful reply as answer. More people will learn new things here.
Thanks,
Angelia