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
Anonymous
Not applicable

Filter table on multiple Boolean columns

I'm following this posting.  I created my measure but P-BI will not allow me to add the measure as a filter.

 

https://community.powerbi.com/t5/Desktop/Filter-Table-based-on-multiple-True-False-columns/m-p/65461...

 

https://app.box.com/s/bqal9kknqzyix03ehihjoqv1jjnyxjqe

1 ACCEPTED SOLUTION
bcdobbs
Community Champion
Community Champion

Have now opened your file. It will let you put your measure into the visual filter section:

bcdobbs_0-1639420236115.png

You can put a measure onto a visual that has a row context.

 

It won't let you put it onto a page filter because there is no "row".



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

View solution in original post

5 REPLIES 5
bcdobbs
Community Champion
Community Champion

Have now opened your file. It will let you put your measure into the visual filter section:

bcdobbs_0-1639420236115.png

You can put a measure onto a visual that has a row context.

 

It won't let you put it onto a page filter because there is no "row".



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
bcdobbs
Community Champion
Community Champion

Further to this have a read of https://www.sqlbi.com/articles/applying-a-measure-filter-in-power-bi/



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Anonymous
Not applicable

Hi @Anonymous 

Measures are designed to calculate value based on or selection not to be used as a selection in Slicer. This is one of the point where you can understand when to use a measure vs a column.
Change  to a column and use it in filter criteria.

Anonymous
Not applicable

Why didn't "super user" state that in their solution?  I'm attempting to accompilsh the same thing.

 

https://community.powerbi.com/t5/Desktop/Filter-Table-based-on-multiple-True-False-columns/m-p/65461...

bcdobbs
Community Champion
Community Champion

Not by a computer so will check your file later. However make sure your measure is returning 1 or 0 and data type is set as whole number. It won't let you use a measure as a filter if it returns Boolean.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

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.