cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ss89
Helper II
Helper II

Multiple Filters AND and OR

Hello Community,

 

I have to include another filter in the formula; I have to add 

'TABLE[STAGE_NAME]="SAMPLING",'TABLE[CONDITION]="ONLINE" but The OR function in DAX accepts only two (2) arguments.

 

ss89_0-1681387340182.png

Could you please help me? 

 

Thanks in advance for your support!

4 REPLIES 4
amitchandak
Super User
Super User

@ss89 , You can try like

 

TABLE[STAGE_NAME]="SAMPLING" || 'TABLE[CONDITION]="ONLINE"

 

or

 

TABLE[STAGE_NAME] in {"SAMPLING", "ONLINE" }

Hi @amitchandak ,

thanks for your prompt reply.

I have to include at the sime time the three filters (STAGE NAME with his corresponding CONDITION).

STAGE NAMECONDITION
SAMPLING

ONLINE

SAMPLINGAPPROVED
RELEASEONLINE

Hi @amitchandak ,

 

how can I share the pbix file in the reply?

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors