Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
I'm really hoping someone can help me here. I want to create a dynamic chart based on a count of products during a specific time that shows me the top 5 and puts the rest into an "Others" category. I can successfully make a measure that shows this but I can't use that measure in a chart legend. When I use the same code in a calculated column, the rankings come out differently. It seems to be grouping the dates in a different way but I can't figure out a way around it.
The following measures work:
Your exactly right.
A calculated column is process (calculated) when you refresh the data into the data model. After that the data is static, it wont change regardless of how you filter your report. As a result the ranking is operating over all the data in your table.
A measure on the other hand calculates at run time (when you interact with the report) . In this the scenerio it takes into account the filters you have on your dashboard as well as any filters you apply in your measure itself. As a result it will take into account the data filters that you have selected.
So is there any way to take the "Product Chart" measure in the left most table and use that as a legend or axis on a chart that changes depending on the dates selected?
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 28 | |
| 23 | |
| 18 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 43 | |
| 35 | |
| 32 |