Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
TobiasWiegand
Regular Visitor

How to create a filter for a measure to (de-)select it in a combo chart

Hi,

I have the following measure: 

**bleep**. PLAUF-Crisis Scenario = SUMX(FILTER(ALLSELECTED(Output[YYYYMM]), Output[YYYYMM] <= MAX(Output[YYYYMM])),[PLAUF - Crisis Scenario])
which is creating the orange line in below combo chart: 

TobiasWiegand_0-1704360098888.png

 

Now I'm struggeling with creating a slicer to select- or deselect this measure for the chart so that when I publish the report, visitors can deselect the measure from the graph. How could I solve this?

 

Thank you very much for your help, highly appreciated.

 

Best


Tobias

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @TobiasWiegand ,

 

Based on the information you provided, you can follow these steps:

 

1.Add new measure and new table.

 

orange =

IF ( ISFILTERED ( 'Table2'[select] ), [total], BLANK () )

 

 

 

 

vyifanwmsft_0-1704704409686.png

 

 

2.Put [orange] in Line and clustered column chart, put 

vyifanwmsft_1-1704704409688.png

 

vyifanwmsft_0-1704704531269.png

 

Final output:

vyifanwmsft_1-1704704564472.png

 

 

vyifanwmsft_2-1704704564474.png

 

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

If it does not help, please provide more details with your desired out put and pbix file without privacy information.

 

Best Regards,

Yifan Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @TobiasWiegand ,

 

Based on the information you provided, you can follow these steps:

 

1.Add new measure and new table.

 

orange =

IF ( ISFILTERED ( 'Table2'[select] ), [total], BLANK () )

 

 

 

 

vyifanwmsft_0-1704704409686.png

 

 

2.Put [orange] in Line and clustered column chart, put 

vyifanwmsft_1-1704704409688.png

 

vyifanwmsft_0-1704704531269.png

 

Final output:

vyifanwmsft_1-1704704564472.png

 

 

vyifanwmsft_2-1704704564474.png

 

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

If it does not help, please provide more details with your desired out put and pbix file without privacy information.

 

Best Regards,

Yifan Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.