Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
I successfully created a dynamic Top N model in Power BI using the following data
Salesperson | Units Sold | Region |
Jim | 20 | West |
Kelly | 18 | West |
Roger | 17 | East |
Pam | 15 | East |
Sally | 12 | West |
Tom | 9 | East |
Mike | 8 | West |
Joe | 7 | East |
Steve | 5 | West |
Lauren | 3 | East |
Top N |
3 |
5 |
8 |
10 |
2.) Created a measure called Selected N=
Solved! Go to Solution.
Hi,
Please check the below picture and the attached pbix file.
Hi,
Please check the below picture and the attached pbix file.
THis is perfect. Similarly how would i write a measure to get the Total Units sold by Salespeople in the west based on the top N selection.
So if 3 was selected the total units sold in the west would be 38 but if 5 was selected it would change to 50, etc.
Hi,
thank you for your message, and please check the attached pbix file.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
17 | |
14 | |
10 | |
9 | |
6 |