Forum Discussion

tuulia's avatar
tuulia
Icon for Helper IV rankHelper IV
4 years ago
Solved

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?

2 Replies

  • tuulia , a new measure

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

    • tuulia's avatar
      tuulia
      Icon for Helper IV rankHelper IV

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