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
emma313823
Helper V
Helper V

Syntax error

Hi All

 

I am using the Manage Roles feature in Power BI Desktop and all is great until I needed to have multiple fields included from the table I'm working with.  I bumped into a syntax error.  I'm an extreme novice with Dax and would appreciate some help.

 

I have a role I'm trying to create which includes two territories.  I thought I had it, however the app indicates the syntax is wrong.  So for salesperson A...the role needs to be that they can see only data from territories PA and MID.

 

[Territory] = "PA";"MID"

 

Would anyone be able to tell me when I'm creating a role with the need for multiple criteria from one column/field...how would I modify this syntax to get it right?

 

Emma

Emma
1 ACCEPTED SOLUTION
idanco
Advocate II
Advocate II

[Territory] = "PA" || [Territory] = "MID"

View solution in original post

1 REPLY 1
idanco
Advocate II
Advocate II

[Territory] = "PA" || [Territory] = "MID"

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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