Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
I have a table with the following headers:
[Product Application Sales GrossMargin SellingPrice]
I want to create a dynamic Top N scatter plot with Sales being the size of the bubble, GrossMargin on x axis; and SellingPrice on y axis.
I have a slicer which goes from 1 to 10 (for choosing the value of N in Top N).
I also have a slicer for Product.
Now I have created a Top N scatter chart which shows me top N "Application" on the graph based on the sales value.
But now suppose I have chosen N value to be 10, and I unselect a certain product using the slicer, that products bubbles will dissappear from the graph and say I will be left with 8 bubbles on the graph which will belong to the other products. This is not what I want; I want that since the value of N is 10 and only 8 applications are being displayed on the graph, it automatically chooses the next 2 applications with highest sales of the remaining products to be displayed.
How do I make that happen?
I have used the following measures to make my graph right now:
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
try this:
Modify it according to your measures:
First, you need a measure to dynamically calculate the top N applications based on sales. This measure will be used to filter the scatter plot.
Create a measure to calculate total sales:
Create a measure to rank the applications based on sales:
This measure ranks the applications based on the total sales, considering any slicers or filters applied.
Create a measure to filter the top N applications dynamically:
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
30 | |
27 | |
21 | |
12 | |
12 |