- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Filter to always show one measure irrespective of the filter selection
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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 ;)):

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
01-15-2023 11:23 AM | |||
Anonymous
| 07-03-2024 03:42 PM | ||
08-02-2024 08:59 AM | |||
06-27-2024 02:07 AM | |||
07-18-2024 08:55 AM |
User | Count |
---|---|
108 | |
89 | |
80 | |
54 | |
46 |