March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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 ;)):
User | Count |
---|---|
118 | |
77 | |
58 | |
52 | |
46 |
User | Count |
---|---|
171 | |
117 | |
63 | |
57 | |
51 |