Quantcast
Channel: Service topics
Viewing all articles
Browse latest Browse all 61939

DAX help combining 2 RLS Filters

$
0
0

I'm still learning more on how to use Dynamic RLS with Filters to isolate only the particular data and rows for user.   And I found this article this morning that has been very helpful and useful.

Power BI Row Level Security RLS Setup | Step-by-step guide (biconnector.com)

 

And I have this half working at this point based on my data and tables.  But I'm wondering/hoping if there is way to combine the below 2 filters into 1?

 

I can get the data to filter on each one separately (GL Accounts Table).  But I want to try and combine the two together if possible. 

 

CONTAINSSTRING( MAXX( FILTER( Users, Users[Email]=USERPRINCIPALNAME() ), Users[GLCategories] ), [GL Category] ) CONTAINSSTRING( MAXX( FILTER( Users, Users[Email]=USERPRINCIPALNAME() ), Users[Departments] ), [Department] )

 


Viewing all articles
Browse latest Browse all 61939

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>