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