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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

@ss89 , please share the expected output

Hi @amitchandak ,

 

how can I share the pbix file in the reply?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.