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 am still fumbling in the DAX world.
I have a SalesData table which has Customer Names in one column and Sales in another column. I have a visual to show the Top N Customers by Sales. I have a slicer to slice the visual into Top 5, Top 10, Top 50. When user clicks one of the items, the visual will show the Top 5, Top 10, Top 50 Customer Names and their Sales. Here is how I did this:
I created a seperate Slicer table, with one column as slicer item names (TopN Name) which feeds into the slicer. The other column of the Slicer table is the slicer value (TopN Value: 5, 10, 50). To "harvest" the slicer value, I have the following measure set up:
However, I want to add a fourth item to the slicer to show All, which is all the customers (not just the top ones). How do I incorporate this "All" into the slicer? (in other words, the slicer should have four items: Top 5, Top 10, Top 50 and All, when user click All, every customer shows up)?
Thanks for enlightment!
PBISean
Solved! Go to Solution.
HI, @Anonymous
You could try set your Slicer table like this "ALL" Value is 99999999
Then refer to this post
https://community.powerbi.com/t5/Desktop/Top-N-and-Others-monthly/m-p/490708#M228672
Just adjust the formula
Best Regards,
Lin
HI, @Anonymous
You could try set your Slicer table like this "ALL" Value is 99999999
Then refer to this post
https://community.powerbi.com/t5/Desktop/Top-N-and-Others-monthly/m-p/490708#M228672
Just adjust the formula
Best Regards,
Lin
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 |
---|---|
106 | |
94 | |
75 | |
62 | |
50 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |