Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
11 | |
11 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |