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
Lewa
Helper I
Helper I

Standalone Filter

Hi All! 

 

How I can create a standalone filter? 

In order to: 

  • use it on all measures; 
  • edit it once in one place. 

Thx. 

1 ACCEPTED SOLUTION
iamprajot
Responsive Resident
Responsive Resident

It is not possible to create a Variable or Filtered Context and use it in multiple Measures instead, create a separate table filtered from the source data according to need and than use all the measures based on that table.

View solution in original post

3 REPLIES 3
shebr
Resolver III
Resolver III

Hi @Lewa

 

Is this so that you can set the slicer once and filter the whole report? You need report level slicers I believe. Watch this short video and let me know how you get on. https://youtu.be/CuT5Wtld_iU

 

 

Thanks

 

shebr

Hi, @shebr 

 

Nope, I talking about standalone filter code. 

For example: 

1. Many aggregate measures have a one filter: 

 

VAR FILTER1 = FILTER(VALUES(Table1); USERPRINCIPALNAME() = Table1[EMail])

2. I want to edit it 

3. I have to edit every measure 

 

I want to edit it once in one place. The problem is, I can't keep a standalone filter on an measure. 

 

iamprajot
Responsive Resident
Responsive Resident

It is not possible to create a Variable or Filtered Context and use it in multiple Measures instead, create a separate table filtered from the source data according to need and than use all the measures based on that table.

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.