This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hello,
I am using two fields parameter with some categories, markets etc, because i want to give user to change between dimensions using slicers to investigate different values. One of them is used on X-axis, second is used in legend. I have a problem with measure top10, because its working but only when i dont have added field legend.
Measure for Top10:
Hi @Jakub_Poweska11 ,
Could you please provide some raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples here? It would be helpful to find out the solution. You can refer the following link to share the required info:
How to provide sample data in the Power BI Forum
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Thanks for your understanding. Your time and cooperation are much valued by us. We are looking forward to hearing from you to assist further.
Best regards,
Lucy Chen
@Jakub_Poweska11 , Try using
DAX
RANK10Values =
SWITCH(
TRUE(),
SELECTEDVALUE('Dim Inc - X axis for Top Values'[Dim Inc - X axis for Top Values Fields]) = "'Incidents'[Configuration Item]",
RANKX(
ALLSELECTED('Incidents'[Configuration Item], 'Incidents'[LegendField]),
[Top 5 Categories inside Created Tickets],
,
DESC
)
)
Proud to be a Super User! |
|
Hey i am adding to legend field from second field parameter:
'Dim Incidents'[Dim Incidents Fields]
i dont have this field in my table 'Incidents'[LegendField]. I change fields on chart using slicers
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |