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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
_chris_
Helper III
Helper III

Calculated Table RLS issue

Hi,

 

I have a table which containes bookings for all cost center (..KstAuswertungMitPlanung).

 

I have another table which holds all the cost center (Kst) a particular user is allowed to see (dimKstRechte, right visual) which is filtered by the user by RLS.

 

Now I want to create a calculated table which is filtered by the values of the "rights" table (see table definition in screenshot)

 

However, the filter does not work as it also shows data for cost center (Kst) 5310 and 5320

 

_chris__0-1717235447277.png

 

However, if I am using the DAX

 

Tabelle = FILTER(FASTEC_backofficeKstAuswertungMitPlanung, FASTEC_backofficeKstAuswertungMitPlanung[Kst] IN {"5200"})
 
it works and I am only seeing the values for 5200.
 
Where is my mistake?
 
Thx, Christian
1 REPLY 1
aduguid
Memorable Member
Memorable Member

You can either relate the calculated table to the table the row level security (dimKstRechte) in your model view or include (dimKstRechte) in the summary calculated table and update the roles to include both your summary table and (dimKstRechte).

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors