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! Request now

Reply
hidenseek9
Post Patron
Post Patron

Facing as issue filtering out data

Hello Power BI Community,

 

I have a problem filtering out data and would love to have your support on it.

 

Here is a problem that I have .

Below is a table that I created.

What this table does is comparing 2017 actual spend (Measure) and 2017 Plan spend (Measure)

and calculate a variance (Measure) by category.

 

What I would like to do in below table, is that

I want to filter out data that has 0 2017 actual spend and 0 plan spend, which has a variance of 0.

So in the end, I would like to have a table with 2017 actual spend or 2017 plan spend >0.

 

I am trying to use filter function, but I am not sure how to do it.

I cannot just filter out "VS Plan" that has a value of 0 because

if actual spend = plan, then I will not be able to see those data.

 

Appreciate your support.

 

Many thanks,

 

H

 

 

Sample photo.jpg

1 ACCEPTED SOLUTION
dilumd
Impactful Individual
Impactful Individual

Hi,

 

You can use “IF” function with “AND” function to create a new measure and that can be added to page level filter or report level filter to identify.

 

aa.JPG

 

Variance NIL = IF(AND(Actual Spent=0,Plan Spent=0),"1","0")

View solution in original post

2 REPLIES 2
dilumd
Impactful Individual
Impactful Individual

Hi,

 

You can use “IF” function with “AND” function to create a new measure and that can be added to page level filter or report level filter to identify.

 

aa.JPG

 

Variance NIL = IF(AND(Actual Spent=0,Plan Spent=0),"1","0")

@dilumd

 

Thank you so much!

Did not think this could be solved with such an easy measure!!

 

Many thanks,

 

H

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Top Kudoed Authors