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
alexa_0028
Resolver II
Resolver II

Implement different RLS for 2 measures in same table.

Hi All,

I have  a scenario where in 2 measures from same table should have different RLS.
One measure should filter from ofa_sa_calls and another one from ofa_sa_country.

So, as a solution I duplicated the table and separated the measure and now creating filters in the role like below.
My one table is connected to ofa_sa_calls and other to ofa_sa_country.

However, I am not getting right results in the report. When I see the result in database it looks good but in powerbi doesn't match.
Any ideas here pls?

alexa_0028_0-1628902884405.png

 

1 REPLY 1
VijayP
Community Champion
Community Champion

@alexa_0028 

In power bi desktop if you test it looks fine but when you publish and check this in service , you will be able to see all data because you are the owner for that!

once you publish then the end user will be able to see the changed scenario.

But one important thing you need to notice, if you share both RLS enabled reports to single user, the user can see both scenarios in the report. 

Does that  make sense?!




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


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