The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi all,
I know that this problem has already been described and solved a few times, but I can't find a solution to my problem.
I have the following measure:
anzahl_msa_esa_teilnahme_all_selected_measures =
SWITCH(
TRUE(),
SELECTEDVALUE(SzenarioSchule[Index]) = 1, [anzahl_msa_esa_teilnahme],
SELECTEDVALUE(SzenarioSchule[Index]) = 2, [anzahl_msa_esa_teilnahme_alle_schulen],
SELECTEDVALUE(SzenarioSchule[Index]) = 3, [anzahl_msa_esa_teilnahme_vergleichsschule],
BLANK()
)
The table 'SzenarioSchule' looks like this:
Index | Measure |
1 | Ihre Schule |
2 | Alle Schulen |
3 | Vergleichsschulen |
I have a slicer on this table to select which measures are displayed in other visuals, e.g. bar charts. Now I want to always show the measure "Ihre Schule" (index 1) even if it is not selected in my slicer. How can I achieve this?
BR and thank you in advance!
Hi @lucmax ,
Base on your description, it seems that you want to show the measure "Ihre Schule" (index 1) on other visuals ignore the slicer selection. You can put the measure [anzahl_msa_esa_teilnahme] on the other visuals directly to replace the measure [anzahl_msa_esa_teilnahme_all_selected_measures].
If the above one can't help you get the expected result please provide some raw data(exclude the sensitive data) in the table 'SzenarioSchule' and expected result with specific samples base on the sample data? It would be helpful to get 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
Best Regards
Hi @v-yiruan-msft,
thank you for the answer, unfortunately, that doesn't help me. I'll share a few more screenshots to show what I want to achieve before I customise the report so that I can share it.
I have this slicer, where I only want to show two of the three possible values from the 'SzenarioSchule' table.
And then I have the bar chart with the measure mention above:
If I now filter on the slicer, so the comparision measure-values, it only shows the selected one:
But what I want is, the bar chart showing the selected bar and always the "Ihre Schule" bar. So like this (I placed it in there with the snipping tool ;)):
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
79 | |
72 | |
48 | |
39 |
User | Count |
---|---|
138 | |
108 | |
69 | |
64 | |
56 |