Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have data as follows,
REGION | CATEGORY | SUB_CATEGORY | VALUE |
EAST | H | GH | 50 |
EAST | G | FL | 100 |
EAST | H | KP | 50 |
EAST | G | IO | 80 |
EAST | K | ZX | 70 |
EAST | L | HM | 90 |
EAST | M | RO | 45 |
WEST | N | PE | 62 |
WEST | Q | CH | 40 |
WEST | R | UV | 67 |
WEST | R | IR | 73 |
WEST | TU | RE | 50 |
WEST | X | DE | 74 |
CENTRAL | W | BC | 88 |
CENTRAL | V | HG | 92 |
CENTRAL | V | IQ | 106 |
CENTRAL | Z | AB | 110 |
CENTRAL | L | ST | 54 |
SOUTH | M | YS | 18 |
SOUTH | O | JS | 60 |
SOUTH | E | PO | 40 |
SOUTH | F | LI | 200 |
SOUTH | G | BM | 50 |
SOUTH | H | GM | 150 |
SOUTH | V | UT | 50 |
I want to show top 3 cat as follows:
Please help me to do it.
Thanks,
AshDil.
Solved! Go to Solution.
Hi,
please check the below picture and the attached pbix file.
All measures are in the attached pbix file.
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi,
please check the below picture and the attached pbix file.
All measures are in the attached pbix file.
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hope this measure will help you
Top3Category =
VAR Rank = Values(Table[Category])
Return
Calculate (
[Total value],
TOPN(3, All(Table[Category]), [Total value]), Rank)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |