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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
AliceW
Power Participant
Power Participant

Manage Roles / Users can STILL see the measures, even if I've hid the entire table

Hi team,

Am I doing something wrong?

I've created a Role called 'Everyone Else' in Desktop. For each table, i've put 'false' in the 'Table filter DAX expression.

Then, in the Service version, I've allocated users to this role.

They can see blanks when it comes to COLUMNS, but they can still see the MEASURES.

Which defeats the purpose...

Am I doing something wrong?

Please help, as this is quite urgent.

Thanks,

Alice

1 ACCEPTED SOLUTION
AliceW
Power Participant
Power Participant

Figured it out with a colleague.

The trick is to build the IF measure with a blank as a first condition.

VALUE =

IF (MEASURE=0, "",

IF(MEASURE <10, 100,

etc.

The logic is that, for those roles, the rows will be zero, so the MEASURE will be zero too.

 

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

@AliceW What is it you are trying to accomplish? RLS is for data, not hiding objects in the report (Tables, columns, measures)

Hi @Anonymous 

I need a report with Sales Targets per Rep. Published in an App (they have Premium licenses).

Goal: some people to see the targets and how much they've accomplished AND the rest of the folks members in the App to see, well, blanks.

I thought it was possible after reading https://docs.microsoft.com/en-us/power-bi/desktop-rls

😞

Alice

Anonymous
Not applicable

@AliceW Does it filter appropriately when you test it out under the "View as Roles" in the Desktop?

How are you sharing the report to the end users, are they members of the workspace?

It tests appropriately when it comes to columns (the visuals in the report containing column data are blanked, and only the column names are in).

However, I have this Card with a Measure and, alas, the Measure is visible.

I published the report in the App. There, there are around 30 users, and I only want 5 of them to see the measures and columns...

AliceW
Power Participant
Power Participant

Update: a measure with CALCULATE(DISTINCT COUNT....) is blanked out - hurray (call it CONTRACT COUNT).

The problem is another measure based on this one. This one is an IF one

PAY = IF([CONTRACT COUNT] = 1, 100, 300).

Is there a way to rewrite this, please?

AliceW
Power Participant
Power Participant

Figured it out with a colleague.

The trick is to build the IF measure with a blank as a first condition.

VALUE =

IF (MEASURE=0, "",

IF(MEASURE <10, 100,

etc.

The logic is that, for those roles, the rows will be zero, so the MEASURE will be zero too.

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.