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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
sanderson82
Helper I
Helper I

Use Measure as a filter

Hi

I have a number of visuals where the list of filtered values is quick long.  Rather than having to select the filter on each value, can I create a "static" measure which when applied as a filter applies the filter I need, then if/when I need to change filters I just modify the measure?

 

Hope that makes sense!

 

Regards

Steven

4 REPLIES 4
Anonymous
Not applicable

Hi,

I am sure this is possible.

Could you please share some sample data and explain this a bit in detail.

Thanks.

@Anonymous thanks for your reply.  One example, I have a slicer as a dropdown with the value 'PCProjectItem[Code]'

I would like to create a measure that selects for example

'PCProjectItem[Code]' = "Concrete"

'PCProjectItem[Code]' = "Rebar"
'PCProjectItem[Code]' = "Lifters"

etc etc

 

Then when I would apply this measure to the slicer my options would be the above filtered values.  I also have multiple visuals that I would like to apply this measure to, instead of manually applying the filters to each visual.

Anonymous
Not applicable

Hi @sanderson82 ,

If you could send some sample data it would help me implement this.

Thanks,

Anonymous
Not applicable

Hi,

You can do this by creating a bookmark as a filtered. Then you can have an option of 'remove filters' and have one more bookmark for the unfiltered report.

Thanks.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.