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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Restrict access to ssas MD cube measures via roles

Hi!

 

Im wondering if there's a way of restricting access to certain measures when loading a MD cube into power BI via import data?

 

Let's say I have a cube with three measures. A B and C.

 

I want to create three different roles, X Y and Z where each role can only see one of the measures. X should only see measure A, Y should see measure B and Z should see measure C.

 

I can see that it's easy to create roles to filter dimension members, and also filter on values for measures, but can't find an option to actually hide certain measures completely from a role.

 

By connecting live to the cube this is possible of course, as measure security can be defined in ssas security roles, but I want to know which options that are available when importing the cube data to PBI. 

 

Is there a DAX expression available to do it maybe?

1 ACCEPTED SOLUTION

@Anonymous

 

Measures in a multidimensional cube are exposed in Power BI as tables with the ∑ sign beside them in the Fields pane. It just seems like a “column” in it. As you know, we can restirct different roles to see different row values, but we cannot restrict columns in Power BI.

 

Best Regards,

Herbert

View solution in original post

5 REPLIES 5
Greg_Deckler
Community Champion
Community Champion

You would use Row Level Security.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

But how? RLS doesn't seem to serve my needs if I understand how it works correcty.

 

I'm guessing that what i'm after is sort of a column level filter. Where I can define that a certain role in PBI should not see any values at all in some "columns".

 

For example if I have a measure group in my cube with measures Sales and Profit, and want to make sure that some users can only see values for sales, and not see anything at all regarding profit.

 

In ssas I can define role properties for the measures dimension, where I can pick which specific measures a role has access see. In Power BI I can't find if, where and how I can do the equivalent set up. I can apply a value filter on the measure but that's not what I want.

 

Or am I trying to approaching this the wrong way?

@Anonymous

 

Measures in a multidimensional cube are exposed in Power BI as tables with the ∑ sign beside them in the Fields pane. It just seems like a “column” in it. As you know, we can restirct different roles to see different row values, but we cannot restrict columns in Power BI.

 

Best Regards,

Herbert

Anonymous
Not applicable

Hi @v-haibl-msft

 

I'm guessing what you meant is that measures are exposed as "columns" in the fields pane?

 

Anyway, I didn't know that PBI didn't allow restrictions on column level. I was really hoping that there was a way of accomplishing it and that I just hadn't found it yet 🙂

 

Very unfortunate that this feature is not available. It's a key feature where I'm working at the moment. Really hope they introduce it eventually. MS already has a solution for it in the current ssas role security functionality.

 

Thanks for clarifying this cannot be achieved though.

 

Yes, that is what I meant.

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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