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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
emma313823
Helper IV
Helper IV

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.