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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Adding a measure ignores all the filters applied

I have created below table visualization which is filterd by the month selected in the slicer. There are also some visual level filters applied.

sonami_1-1595224854659.png

 

I have created this measure which I want to add to the visualization.

Status = IF([MP COUNT]>0,1,

IF (
ISBLANK([IB Template Created])|| ISBLANK([OB Created Date]),
2,3))

When I do so, the table displays all the records. The slicer and visual filters are both ignored. However, the value returned by the measure is accurate and there are no duplicate records. But why are the filters not applying anymore?

4 REPLIES 4
harshnathani
Community Champion
Community Champion

Hi @Anonymous ,

 

Can you elaborate the problem description.

 

Not very clear as to what you need in the visualization.

 

Also, share the major details to help yo better.

 

Regards,
Harsh Nathani

Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!

amitchandak
Super User
Super User

@Anonymous , is blank can force a left join.

Can you share sample data and sample output in table format?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thank you for your response. Here is a sample dataset:

sonami_1-1595269299220.png

The slicer would filter column B to show only the items created in Month of Jan. I would like to add values calculated by the below measure to this visualization as well:

Status = IF([MP COUNT]>0,1,

IF (
ISBLANK([IB Template Created])|| ISBLANK([OB Created Date]),
2,3))
 
So expected result is:
PIDPID CreatedIB Template CreatedOB Created DateMP CountStatus
A1/6/20206/30/202012/30/201911
B1/17/20205/6/20201/17/2020 3
D1/13/20202/11/2020  2
 
But what I get on the visualization is: 
PIDPID CreatedIB Template CreatedOB Created DateMP CountStatus
A1/6/20206/30/202012/30/201911
B1/17/20205/6/20201/17/2020 3
C2/14/20203/18/20207/2/202021
D1/13/20202/11/2020  2
E3/16/20201/18/20201/23/2020 3

Eventhough the Status value calculation is correct, all the items are displayed irrespective of the slicer selection.

Hi @Anonymous 

 

i have used your sample data, but I am unable to reproduce your issue.

 

Also, the dax code you have created will only work as a calculated column, not as a measure.

 

Could try to recreate your issue in a sample report and share the report?

Cheers,
Sturla

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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