How to read the active security roles in Power BI with DAX by Marco Russo
How can one read the active security roles in a Tabular model for Power BI or Analysis Services? This can be achieved by using a DAX measure! This way, you can use measures and calculation groups to customize a report based dynamically on security roles active for the current user. Someone in the comment said “Very elegant! I wish I had come up with the idea first”. Is our solution elegant enough? 😉 See it for yourself in the extended version: https://lnkd.in/dqG55uqw