Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Assume Azure AD (AAD) tenant, with Premium Power BI capacity, and a Sharepoint intranet page.
Our task is to present a simple Power BI dashboard in a Sharepoint page, with numbers filtered by the region the Sharepoint user belongs to. Reading the report in Power BI service is not an option in this case.
Is it possible to extract the AAD user principal name, e.g. with DAX, and pass as a parameter to the PBI embedded report?
Solved! Go to Solution.
Hi , @BiJoe
For your question , for getting AAD, we can use the USERPRINCIPALNAME() DAX function, and you can refer to the following document for passing parameters:
https://stackoverflow.com/questions/54286048/how-to-pass-parameter-to-powerbi-embedded-report
USERPRINCIPALNAME function (DAX) - DAX | Microsoft Learn
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi , @BiJoe
For your question , for getting AAD, we can use the USERPRINCIPALNAME() DAX function, and you can refer to the following document for passing parameters:
https://stackoverflow.com/questions/54286048/how-to-pass-parameter-to-powerbi-embedded-report
USERPRINCIPALNAME function (DAX) - DAX | Microsoft Learn
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly