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
K4bal
Frequent Visitor

Measures disappear when using RLS

Hi all,

 

I need help with a strange problem. Some of my measures disappear in PowerBI Desktop and also service when I apply / test a RLS role. A few days back it worked just fine.

 

Also if I refresh a table in that dataset some measure appear again and some disappear.

 

I hope someone can help with that!

 

Thanks a lot

5 REPLIES 5
K4bal
Frequent Visitor

Hi @Pragati11 

mainly I'm calculate and sumx but these worked fine a few days back.

What is the most confusig is that when I refresh a table in the dataset some measures appear and others disappear. If I refresh the same table again some disappear again and others appear. But just when I "view as" a role of the RLS roles.

Hi @K4bal ,

 

Can you please share some screenshots around what you are seeing at your end?

RLS should never hide-unhide measures. It is for limiting access to rows of data.

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Pragati11
Super User
Super User

HI @K4bal ,

 

When you say disappear, you mean you can't see them in the dataset?

Keep one thing in mind RLS doesn't support few of the DAX functions. Are you bu chance using any of these DAX functions?

Can you tell what all DAX functions you are using in your measures?

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Anonymous
Not applicable

Hey guys!
I am experienceing exactly same issue. I am using SUMX with RELATED function, and whenever I use RLS View As function, all these measures dissappear. I tried to dig deeper and made a random SUMX measure in my fact, which then also dissappeared. 

Here is a screenshot of a fraction of my datamodel, the DAX function, and the RLS rule.y
To note, it is an User Defined Aggregation table.

Meeskass_0-1702843139425.png

DAX: 

Sum of Net Sales =
CALCULATE(
    SUMX(
        'Sales AGG',
        'Sales AGG'[Net Sales Acc] *
        'Sales AGG'[Tax Acc]))

RLS:
Meeskass_1-1702843315177.png


After using View As, I get the following error for my measure, and it is nowhere in the model:

Meeskass_2-1702843380892.png

 

Anonymous
Not applicable

UPDATE:
Seems like Aggregation tables cannot be used that easily with RLS.
Not a single measure works that is directly based on AGG table. 

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