Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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.
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.
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.
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.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
13 | |
11 | |
10 | |
8 | |
6 |
User | Count |
---|---|
13 | |
12 | |
11 | |
8 | |
8 |