Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Dear Guru,
I need some help from you about question below.
Objective:
I would like the Power BI report to show the top two departments having the highest case count number in each month.
Power BI report to show like the one on the right:s
table structure in excel:
I have a Dax object below but it gave me the report on the left (refer top figure) instead of the report on the right.
Thank You.
Aiyosap
Solved! Go to Solution.
@aiyosap , Create a rank
Rank = rankx(filter(allseleceted(Table[Month Year], Table[Department]), [Month year] =max([Month Year])),[Count of CASES],,desc,dense)
and use visual level filter <= 2
@aiyosap , Create a rank
Rank = rankx(filter(allseleceted(Table[Month Year], Table[Department]), [Month year] =max([Month Year])),[Count of CASES],,desc,dense)
and use visual level filter <= 2
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 85 | |
| 69 | |
| 38 | |
| 29 | |
| 27 |