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
tuulia
Helper IV
Helper IV

Get row level security values to card/textbox

Hi! I need to return row level security values to card/textbox.

 

Example:

 

If User1 has RLS to rows of organisation "Department 1" card shows a value "Department 1"

If User2 has RLS to rows of organisations "Department 1" and "Department 2" card shows values "Department 1, Department 2 "

 

I know I can return one value with DAX "rls_measure=maxx(filter(values[organisation[departments]...." but how can I return multiple values?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@tuulia , a new measure

concatenatex(values[organisation[departments]), [departments], " ,")

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@tuulia , a new measure

concatenatex(values[organisation[departments]), [departments], " ,")

Thank you! I changed "maxx" to "concatenatex" with ", " and it's working now!

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.