Forum Discussion
How to use selectedvalue in RLS
Hi,
You can achieve this by maintaining a table having the email ids in one column and user type in another column. For example, Admin (User type) should be able to see all values, for that the following DAX has to be used:
- Devender99993 years agoFrequent Visitor
Thanks for response, I am able to restrict when X type users logins and if admin or Y, Z type user login they can see the material but what i need that when a Admin logins then he can see what visible to X type an what visible to Y or Z
Let say we have three product Pen-- 10Pencil ---20
ruler --- 30
so when X logins he see only pencil and ruler let says sum of 20+30 = 50
and when any one else logins He sees all pen, pencil and ruler , 10+20+30= 60now i have scliers of X (x1,x2,x3 ) and similary sclier for Y and Z
Now a admin who has access to all data what to see what visible to X users and select x1 from sclier he should see only pencil and ruler not pen
but when select a value from Y or Z then he see all pen,pencil and ruler
can we achive this?