Forum Discussion
iqb
3 years agoHelper III
Get User Role in Power Query Editor
Let's I have created 3 roles using role level security.
1) Admin
2) Employee
3) Employer
Now I have a power m query(direct query) as below (right click > advance editor).
let
SomVar = SomeValue,
Source = .....
in
Source
How can I get user role who is viewing the report/dashboard? I mean I need to know whether the user who is viewing is Admin or Employee or Employer?
2 Replies
- ShauryaMemorable Member
Hi iqb,
I believe this link might answer your problem.
https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-usage-metrics
Mark this post as a solution if that works for you!
Check out this blog of mine: How to Export Telemetry Data from Azure IoT Central into Power BI- iqbHelper III
Sorry but how can I get the user role using this link?