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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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