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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Caluclated column not filtering table visual

Hi Team,

 

I have a calculated column returning 1 or 0 when certain IF statements are met.

 

ContractorOutstanding =
IF(ISBLANK('09 Correspondence'[Acknowledgment Date]),
IF('09 Correspondence'[To Company]<>"Company ABC",
IF('09 Correspondence'[To Company]<>"Company XYZ",
IF('09 Correspondence'[Acknowledgment Required] = 1,
1,0)
)))
 
When I place this in the Report and use it to Filter the table of records visual it only filters the table with these two IF statements. 
IF('09 Correspondence'[To Company]<>"Company ABC",
IF('09 Correspondence'[To Company]<>"Company XYZ"
 
For some reason the table visual it is ignoring the filter with these two statements: 
IF(ISBLANK('09 Correspondence'[Acknowledgment Date]) and 
IF('09 Correspondence'[Acknowledgment Required] = 1,
 
You can see below, it correctly filters the "To Company". The problem is, I only want to see the rows that have a value of 1 when I choose a particular Company that has outstanding records. 
table visual.jpg
 
 
 
 
 
 
 
 
 
 
Here is the Filter visual where I have selected a company called "IMA" with 8 Outstanding records. The table visual above should only show the 8 outstanding records when I select the company in the filter visual. 
Screenshot 2021-04-14 153215.jpgScreenshot 2021-04-14 153236.jpg
3 REPLIES 3
v-xulin-mstf
Community Support
Community Support

Hi @Anonymous,

 

It looks like dax has no problem.
Are you applying other filters to the visuals, or adding other measures?

 

Best Regards,

Link

amitchandak
Super User
Super User

@Anonymous , Try like

 

IF(ISBLANK('09 Correspondence'[Acknowledgment Date]) && not('09 Correspondence'[To Company] in{"Company ABC","Company XYZ" }) && '09 Correspondence'[Acknowledgment Required] = 1,
1,0)

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

TABLE.jpgHi @amitchandak the formula is correct but the table still is not filtering values = 1 when I choose a specific To Company. 

 

Why does the table filter by the To Company but not filter when the value is = 1?

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors