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
stupido
New Member

Two page filters combined with AND

Hello,

I wonder if it's possible to set two filter on a page or a table for two different colums that are combined with a logical AND.

example table:

MaterialActualMargin
ABC1500
BCD0120
CDE00

I only want to get rid of material CDE, but when I set two filter "Actual is not 0" and "Margin is not 0" all record sets dissappear.

It seem the logical AND is only available within one column. Is there a way to get to the filtered table?

Thanks

1 ACCEPTED SOLUTION
S_JB
Resolver III
Resolver III

You can include this measure as a visual level filter without including it as a column.

 

Navigate to the 'Add a filter to a visual' section in the below link to see how this can be done:

 

https://docs.microsoft.com/en-us/power-bi/create-reports/power-bi-report-add-filter 

 

 

View solution in original post

3 REPLIES 3
S_JB
Resolver III
Resolver III

You can include this measure as a visual level filter without including it as a column.

 

Navigate to the 'Add a filter to a visual' section in the below link to see how this can be done:

 

https://docs.microsoft.com/en-us/power-bi/create-reports/power-bi-report-add-filter 

 

 

S_JB
Resolver III
Resolver III

You could create a new measure which sums actual and margin, then use this as the filter:

 

Combined = Table[Actual] + Table[Margin]

Combined = Table[Actual] + Table[Margin]

doesn't work for me, as I can not use a column name without aggregation directly in a measure.

This one will work:

Combined = SUM(Table[Actual]) + SUM(Table[Margin])

but I' have to add it to my table. I donn't want the user to see this column.

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.