Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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&"'"
User | Count |
---|---|
23 | |
20 | |
11 | |
9 | |
7 |
User | Count |
---|---|
49 | |
31 | |
20 | |
18 | |
15 |