cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
HelpAccount
Frequent Visitor

Removing certain page level filters whilst keeping others with measures

How can I create a measure that shows percentage of data (with several page level filters e.g. multiple slicers on my page) against the same data set minus 2 filters?

 

E.g filteredData / (filteredDataWithoutX&Yfilter)

 

 I've tried the ALL function but that unfortunately removes all the filters and I only want to remove some of the filters not return the entire unfiltered data set. I've also tried the KEEPFILTERS function but I cannot get this to work at all.

1 ACCEPTED SOLUTION
v-sihou-msft
Microsoft
Microsoft

@HelpAccount

 

In this scenari, since you want to remove all other filters but keep some filters, you should use ALLEXCEPT() to keep expected filters in you CALCULATE() function.

 

Regards,

View solution in original post

2 REPLIES 2
v-sihou-msft
Microsoft
Microsoft

@HelpAccount

 

In this scenari, since you want to remove all other filters but keep some filters, you should use ALLEXCEPT() to keep expected filters in you CALCULATE() function.

 

Regards,

Phil_Seamark
Microsoft
Microsoft

Hi @HelpAccount

 

You can probably build a measure were you ca hardcode the names of these filters to ignore.  If you provide a small sample of data we might be able to help.

 

Cheers,

 

Phil


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors