Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi !
I wonder wheter it is possible to somehow get the user name that is currently logged in (from custom visual). Later on that data could be displayed e.g. as a text.
Thanks for any help
Michal
Solved! Go to Solution.
Power BI Custom Visuals API does not provide user's info due to security reasons.
However, you might use DAX to get user name and pass it as a data field: https://powerbi.microsoft.com/en-us/blog/using-username-in-dax-with-row-level-security/
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Power BI Custom Visuals API does not provide user's info due to security reasons.
However, you might use DAX to get user name and pass it as a data field: https://powerbi.microsoft.com/en-us/blog/using-username-in-dax-with-row-level-security/
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
2 | |
1 | |
1 | |
1 |