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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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!!

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

 

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors