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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
MarkCBB
Helper V
Helper V

RLS DAX Syntax for OR/AND

Hello,

 

I am messing around with the RLS on PowerBi.com, I can get simple DAX to work i.e. [CHANNEL] = "PNP"

 

But I would like to create the ability for a user to see 2 CHANNEL. i.e. [CHANNEL] = "PNP" or [CHANNEL] = "OMO"

 

the other one that I am trying to do is [CHANNEL] = ("PNP or [CHANNEL] = "OMO") and ([REGION] = "R1" or [REGION] = "R2")

 

But I cant find the correct syntax to do this, has anyone been able to do something similar?

 

2 REPLIES 2
MarkCBB
Helper V
Helper V

 

ok, I was able to get the one working, OR([CHANNE] = "PNP",[CHANNEL] = "OMO"

 

still struggleing with the other one

 

 

 

I know, your message is a little older, but perhaps it helps someone else...

 

For the problem with [CHANNEL] = ("PNP or [CHANNEL] = "OMO") and ([REGION] = "R1" or [REGION] = "R2")

 

Did you try

 

AND(
OR([CHANNNEL]="PNP",[CHANNEL] = "OMO"),
OR([REGION]="R1",[REGION] = "R2")
)

Helpful resources

Announcements
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.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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