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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
planning
Frequent Visitor

Two-Condition Filter

Hi,

 

I have a talbe like below:

 

User        Type of Document       USD

Carlos           A                             10
Carlos           B                             20

Roberto        A                             30

Roberto        B                             40

 

I want to exclude the lines where "Carlos" and "B" are together (in this case the USD 10 line). Is it possible to use a two-conditions filter in the filter pane in order to avoid using DAX, new columns, etc.?

 

Please help. Thanks!

6 REPLIES 6
amitchandak
Super User
Super User

@planning , You can have measure like

calculate(sum(Table[USD]), filter(Table, Table[User] = "Carlos" && Table[Type of Document] ="B"))

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

Thanks! The only thing is that in this way I'm including that information when I want to exclude it. How can I filter it out instead of in?

Greg_Deckler
Community Champion
Community Champion

@planning I don't believe you can combine them like that, you will need a measure like:

Measure = IF([User]="Carlos" && [Type of Document] = "B",1,0)

Filter out the 1's.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thanks! The thing is that I can´t choose neither the User nor the Type of Doc columns in the measure. Is there a workaround for this?

Thanks! The thing is that I can´t choose neither the User nor the Type of Doc columns in the measure. Is there a workaround for this?

planning
Frequent Visitor

* In this case the USD 20 line (sorry)

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.