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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
huseyincenik_28
Frequent Visitor

How to Ignore Filter on a Specific Column in a DAX Measure

 

Hi Community,

 

I need help with a DAX measure in Power BI. I want to calculate the distinct count of Partnership Event Id, but the measure should ignore filters on the investment_check column while considering other filters (e.g., partnership_check). Both measures are created on the same data.

What I Tried:

 

Count of Partnership Events = CALCULATE( DISTINCTCOUNT(output[Partnership Event Id]), REMOVEFILTERS(output[investment_check]) )
 

This doesn’t seem to work as expected.

Question:

How can I create a measure that ignores filters on investment_check but considers all other filters?

Thanks for your help!

Best,

 

The measure outlined in red contains REMOVEFILTERS as seen in the picture. On the other hand, the measure that should not be affected is Count of Partnership Events.

 

with no investment_check filter

huseyincenik_28_0-1721666314894.png

with investment_check filter

huseyincenik_28_1-1721666358937.png

 

 

1 ACCEPTED SOLUTION

Hi @huseyincenik_28 
It seems working as needed ...
It ignores manipulations on the investment check slicer and reacts to others.

Ritaf1983_0-1721873192974.pngRitaf1983_1-1721873217427.pngRitaf1983_2-1721873237622.png

What am I missing...
please share a wanted result...

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

5 REPLIES 5
Ritaf1983
Super User
Super User

Hi @huseyincenik_28 

Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Hello, thank you for your interest. I am sending the sample file as attachment.

https://pixeldrain.com/u/zakx8jdn

Hi @huseyincenik_28 
It seems working as needed ...
It ignores manipulations on the investment check slicer and reacts to others.

Ritaf1983_0-1721873192974.pngRitaf1983_1-1721873217427.pngRitaf1983_2-1721873237622.png

What am I missing...
please share a wanted result...

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Hello @Ritaf1983 , thank you for your interest. Although it works in the sample dashboard, as I mentioned in my first message, it does not work in the main dashboard.

Regards,


Huseyin Cenik | Data Scientist

Linkedin Account
Github Profile

Hi @huseyincenik_28 
If it works in the sample you attached but not in your original report, it means there are differences in the logic between them. Despite my willingness to help, I can't guess what might be wrong with something I can't see..

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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