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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
jcastr02
Post Prodigy
Post Prodigy

Filter based off of 2 conditions

I'd like to be able to remove (filter out) any values where the # of Coachings and # Headcount is equal to 0 in Both.  See screen shot below, if they have 0 in both columns I'd like to exclude.  I can put the filter for one of those, but I want it for both.  Note both values are measures.  Thank you.

 

Screenshot 2022-10-04 132320.png

1 ACCEPTED SOLUTION
Arul
Super User
Super User

@jcastr02 ,

Can you create new measure to filter out those 0's from the visual? By applying that new measure at visual level filter you can get rid of 0's.

 

Filter Measure = 
IF(AND([Test Measure 1] = 0,[Test Measure 2] = 0),0,1)

 

Arul_0-1664915667474.png

Thanks,

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


View solution in original post

1 REPLY 1
Arul
Super User
Super User

@jcastr02 ,

Can you create new measure to filter out those 0's from the visual? By applying that new measure at visual level filter you can get rid of 0's.

 

Filter Measure = 
IF(AND([Test Measure 1] = 0,[Test Measure 2] = 0),0,1)

 

Arul_0-1664915667474.png

Thanks,

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.