Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I have been searching for the solution but cant been able to complete it.
I have 1 table (X) which has columns Costs (and has cost A,B,C,D,E), Country, Year, YearMonth, Quarter, Brand and Value (which has the values).
Then i have a dashboard that has 2 selectors (Brand - Costs) and 4 tables (Ranking by country/year - Ranking by country/brand/year - Ranking by country/brand/month- Ranking by country/brand/quarter.
The issue come up when i want to only show top 3 in each table, lets say create a rank where i need to show top 3 countries that has biggests cost A (selected in selector) and in there top 3 years in each brand, below you can find an example in excel, basically replicate it.
Selected cost A and below rank:
Hope someone can help me.
Thanks in advance!
Hi @juanchiledesma , i think the below solution will work for you.
1. Create a calculated meaure .
TOPN( 3,
VALUES( table1[Country] ),
CALCULATE( SUM(table1[Values] ) )
)
Regards,
Nikhil Chenna
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
Sadly no 😞
Error: Bringing a lot of values when expecting only 1
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
25 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
30 | |
11 | |
11 | |
10 | |
6 |