rls problems
9 TopicsReporting on Degenerate dimension from 2 fact tables with a dimension in between
Hello, I have 2 fact tables (user, sales) and a dimension table (loaction) in between. Now I need to report on a degenrate dimension on one of the fact table (called brand in sales), a measure on the same fact table (count rows in sales) and a measure on the second fact table (count of related users). Desired table is what I am getting when I join the dimesnions and metrics together. However as you cab see the user count is the same for all brands. But I really would like to see is what are the count of users for those locations from where the brands were purchased. So I would like something like this. As you can see adidas was bought frpom location 1 which has only 2 users. I cant create a many to many relation between users and sales as I have a RLS set up using profile and staff. Is there any way I can solve this. Please please please help. johnt75 , MFelix , OwenAuger Regards, MeenaSolved675Views0likes2CommentsHelp on RLS in Power BI
Hi Team - We have tabular model (screenshot below) and enabled RLS on the "DimSubsidiary" table, which is applying security filter to the "FactSales" tables. However, we have a requirement to show sales different when slicer is placed on Geography. Example: As per Sample Data below, User A is allowed to see US and UK Subsidiary Data For User A: Total Sales (Subsidiary=US) = 100 + 600 ( Row 1 + Row 2) . This is working as expected. Total Sales (For Geo=US) = 100 ( because of RLS user A can see Row 1 and Row 2) and For US, it's 100. but User A has access to US subsidary , they should be able to see Revenue for US Geography i.e they should see sales as ( 100 (Row1) + 500 (Row 3) + 700 (Row 5) Beacuse of RLS in place this will not work Can you please suggest how to proceed further in order to show 1300 as sales for User A when we select Geo="US" ? Do I need to create any bridge table based of Fact? Data Model Thanks, Abhiram612Views0likes2CommentsOption to Disable/Bypass the RLS on active relationship
Hi Team - We have tabular model (screenshot below) and enabled RLS on the "DimCustomer" table, which is currently security applying the filter to both the "FactSales" and "FactCompute" tables. However, we have a requirement to disable RLS between the "DimCustomer" and "FactCompute" tables, while still keeping it enabled for the "FactSales" table. Upon reviewing the available solutions, I have come across below approaches, but it has certain disadvantages. Please suggest if there any other alternative options 1) Implement RLS on FactTable Implement RLS on FactSales Table Only Disadvantage: FactSales is very big , it occupies 70 GB in our data model. I think implementing RLS on Fact will slow down the performance. 2) Clone the Customer Table Have two set of Customer Table and enable RLS on One Customer Table. Disadvantage: If we want to show Sales and Cores by customerName in single chart then we will end up with customerName from different tables RLS Code On DimCustomer: VAR CUSTOMERS = CALCULATETABLE ( VALUES ( 'DimUser'[SubsidiaryID] ), 'DimUser'[UserAlias] = USERPRINCIPALNAME () ) RETURN 'DimCustomer'[CustomerID] IN CUSTOMERS Thanks, AbhiramSolved1KViews0likes1CommentRow level Security on multiple dimension alias table
Hello All, We have a current setup of DW tables one fact which is connected to multiple dimension table, for an example lets take Fact Sales which is connected to multiple Dim Agents tables like Dim-Agent(Who sold the product) , Dim-Agent(who billed the product), Dim-Agent(who serviced the product). which is connected to the fact table different columns like agent_sold, agent_billed, agent_servd. The issue happens when i try to setup row level security for the Agent table, so i tried putting the below code to all the agent table in the row filter under Roles. ='Dim - Agent_sold'[Agent NT Login]=MID(USERNAME(),FIND("\",USERNAME(),1)+1,LEN(USERNAME())-FIND("\",USERNAME(),1)+1) when it is applied to only one table it works fine, but when i started applying to all the agent table it is doing like a inner join and showing the result. Kindly let me know how to handle this situation. Let me know if you need further information ThanksSolved1.6KViews0likes4CommentsHow to create workspace access in RLS Table
Hi Team, we have a RLS table and added some uses into that, in the same table we have to use for workspace access, Please find below example xls for easy understanding. your help is required here. Branch Code Consultant Service Workspace Sales Workspace SS Workspace 250 [email protected] x 275 [email protected] x 286 [email protected] x 295 [email protected] x 250 [email protected] x 275 [email protected] x 250 [email protected] x 275 [email protected] x 286 [email protected] x 295 [email protected] x Regards, Babu683Views0likes1CommentRLS string transformation
Hi All, I am using Embeded power BI and in that RLS we are using. In the username() i am getting a string and i need to filter the data. In the RLS i get the list of values in the form of a string. I am getting additonal characters which i don't want in order to filter the data. Could you please help which DAX function will work. I am getting list of values as a string: "'ABC','TDEF','HIJ'" and i should have like this "ABC","TDEF","HIJ" Means i need to exclude the first and last character of the double quotes and replace single quotes with Double quotes. The list of values will increase. it should work dynamicallySolved718Views0likes2CommentsRow Level Security with Multiple levels (Complicated)
Hi, I am looking to implement RLS for multiple levels. I have 2 tables as below. 1) Groups 2) Tasks Groups table will have , Group name and Member email. And tasks will have below columns Upon login by the user i want to filter my report in below ways. Rule: 1) all the records should be visible wherer Isrestricted = NO for every user. Rule 2: 2) Up on login by User, Rule 1 above should be applied and also, Isrestricted group = Yes and it should look at group table who is the user and how many groups the user is part of and only those groups in Tasks table should be filtered. Rule 3: 3) Irrespective of above, who ever part of submitted by in the tasks table they have to see all the submitted by records along with Isrestricted access = NO. I have tried relaly very hard to crack this and finally coming here for help from great minds. Attaching the PBIX for your perusal. Appriciate your help guys. https://1drv.ms/u/s!ApY7Qk9reuaNiw9L76Qr3dkIwHC6?e=LAe1al Pragati11 amitchandak ValtteriN Greg_Deckler GilbertQ MikeJohnsonZA AlexisOlsonSolved4.6KViews0likes8CommentsPower BI Global Role Level Security
To any one reading this, I was wondering if you have come to a situation where you implement RLS on all of your reports (let say about 30). The RLS is set so that users assigned to site A Active Directory (AD) group can only see data for site A, users assigned to site B (AD) group can only see data for site B, and so on. For example, let say I have a fact table for Sites and I create RLS on this table and my RLS are: SiteA --> filter created is --> [site] = A SiteB --> filter created is --> [site] = B The issue now is that when a new sites C, D, and so on are open, then all reports need to be updated to add a new RLS and corresponding assignments need to be done in the portal. For example: SiteC --> filter created is --> [site] = C SiteD --> filter created is --> [site] = D Is there any good solution for something like this where each report won't need to be updated everytime a new site is added? I am looking for a way to set global RLS for all the reports in my environment or something that could work similar to this. If it exists, I am not aware of it. Thanks in advanced for your feedback.Solved1.8KViews0likes2CommentsProblems viwing data in Power Bi apps
Good morning to all. Recently I've created a report for people to see their respective data (RLS). I've created a dynamic RLS and created an app in power bi. On my desctop application and on the "Apss" part of power bi web, the test works just fine; I can see the data when I "test as Role". When the end user tries to see the data what they obtain is: Identificador de actividad: 2b5f3138-1a65-474a-b67f-dbec1a99affd Identificador de la solicitud: 2534c1a7-5b90-46d1-b5f6-91b3c02c824f Id. de correlación: 9b02bfc3-7174-0ad8-7a66-686d8cc8c35b Hora: Thu Oct 28 2021 16:45:09 GMT-0400 (hora de Bolivia) Versión del servicio: 13.0.17018.56 Versión del cliente: 2110.3.08222-train URI de clúster: https://wabi-south-central-us-redirect.analysis.windows.net/ and they can see the background but no data whatsoever. Can somebody, please, guide me or tell me how can i fiz this issue. Thanks in advance2.3KViews0likes9Comments