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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
stuti
New Member

Filter the Fact Table Data based on User Role Table - RLS

I have User Role data available in a table which looks like this:

 

NameEmailregionteamproductclient
abcabc@xyz.comDelhi PD 
abcabc@xyz.comBangalore PEF 
abcabc@xyz.comBombay PEFIJK
defdef@xyz.comDelhi   
defdef@xyz.comBangalore   
ghighi@xyz.comChennaiPOT  

 

Blank in a column means ALL possible values (given the values in other columns).

Based on the user who is viewing the Power BI report, I need to filter the main data as per their role. For ex: If user "abc" is viewing the report. The data which should be shown in the report is a union of below 3 queries:

1) region = "Delhi" and team = ALL and product = "PD" and client = ALL

2) region = "Bangalore" and team = ALL and product = "PEF" and client = ALL

3) region = "Bombay" and team = ALL and product = "PEF" and client = "IJK"

 

I am struggling to achieve this in DAX. What could be the possible solutions?

 

1 REPLY 1
Anonymous
Not applicable

Hi @stuti ,

So far, to my knowledge, your demands may not be realizable.

 

Best regards,
Community Support Team_Binbin Yu

Helpful resources

Announcements
Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.