Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
buchta
Frequent Visitor

Embed a Power BI report in Power Apps with dynamic filters

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 

1 ACCEPTED SOLUTION
jabir_k
Regular Visitor

1 REPLY 1
jabir_k
Regular Visitor

Try this:

"https://app.powerbi.com/embed?dashboardId=11111111-aaaa-1234-aaaa-111111111111&tileId=11111111-aaaa-...&filter=DIM_Empl/IdentityEmail eq '"&Office365Users.MyProfile().Mail&"'

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors