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 guys
I would like to adjust this solution to my case
https://microsoft-bitools.blogspot.com/2020/03/embed-power-bi-tile-in-power-apps-with.html
I have PBI tile embedded in Power apps. This tile is actually direct link to the PBI report so the URL filtering condition is met.
I would like to leverage the User().Email and create dynamic URL filter.
I have Dim_Empl table that has IdentityEmail column that holds emails that are matching the User().Email but don't know how achieve something like
"https://app.powerbi.com/embed?dashboardId=11111111-aaaa-1234-aaaa-111111111111&tileId=11111111-aaaa-...&filter=DIM_Empl/IdentityEmail eq 'User().Email '"
..so PBI will pick up the USER email that is loged into the app and pass that as a filter to the report.
can someone help me with the correct URL filter part so that it will basically prefilter the default Employee matching the user that is loged. I don't want RLS as I want the user to be able to see data also from other users.
Thank you
Solved! Go to Solution.
Try this:
"https://app.powerbi.com/embed?dashboardId=11111111-aaaa-1234-aaaa-111111111111&tileId=11111111-aaaa-...&filter=DIM_Empl/IdentityEmail eq '"&Office365Users.MyProfile().Mail&"'"
Try this:
"https://app.powerbi.com/embed?dashboardId=11111111-aaaa-1234-aaaa-111111111111&tileId=11111111-aaaa-...&filter=DIM_Empl/IdentityEmail eq '"&Office365Users.MyProfile().Mail&"'"
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.