Forum Discussion
A mix between RLS and OLS?
- 4 years ago
Yes, that's a bit painful. Unfortunatley, for now I don't think we have other options here.
Ah, really?
Wouldn't that make sense, to atleast make a person only see specific rows and spesific columns in the same table?
I know my original question is a bit different, as I would like a person to see all rows, but only parts of a column. That it's not even possible to filter both rows and columns in the same table in the same time surprises me a bit.
Edit:
Actually, that seems to work. Setting up an RLS-role, and adding an OLS column specific filter on that RLS-role works fine. The role can only see the intended rows and intended columns.
But ok, I guess my original question still remains a difficult task as of now..
Actaully OLS is not fully developed on Power BI Desktop, for now we are using External tools like Tabular Editor or XMLA endpoints to make RLS whereas RLS can be developed on Power BI dekstop.
- Vegard19854 years agoHelper I
Yeah, I'm using Tabular Editor for the OLS part. So I created an RLS role with a filter on a "Business Unit", and also set up "None" on a Gross Profit column. While viewing as that role, both RLS and OLS seems to be correct. But yes, this means that every combination of RLS and OLS relevant security would have to be set up, which is a bit painful..
I would definitely not cut and hack into the fact table to create dimensional measures or anything like that, the performance would degrade too much in my case. Unless there's any ideas that could work 😞
- manikumar344 years agoSolution Sage
Yes, that's a bit painful. Unfortunatley, for now I don't think we have other options here.