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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

How to embed Power BI report in Dynamics 365 with two filters?

Hi, 

I have a Power BI Report embedded in Dynamics 365 on a Account Form. I already added a filter so that the report is filtered based on the selected Account. 

<PowerBIFilter>{"Filter":"[{\"$schema\":\"basic\",\"target\":{\"table\":\"accounts\",\"column\":\"accountid\"},\"operator\":\"In\",\"values\":[$a],\"filterType\":1}]","Alias":{"$a":"accountid"}}</PowerBIFilter>

 

This filter works fine. 

The Report now needs to be filtered both on Account AND on the user who is currently logged in to Dynamics 365. 

 

I tried the add a second filter, but it doesn't work unfortunately. 

<PowerBIFilter>{"Filter":"[{\"$schema\":\"basic\",\"target\":{\"table\":\"accounts\",\"column\":\"accountid\"},\"operator\":\"In\",\"values\":[$a],\"filterType\":1},{\"$schema\":\"basic\",\"target\":{\"table\":\"contacts\",\"column\":\"contactid\"},\"operator\":\"In\",\"values\":[$b],\"filterType\":1}]","Alias":{"$a":"accountid","$b":"contactid"}} 

</PowerBIFilter>

 

So the question is, can I add multiple filters (from 2 different entities) to filter the report as desired? (based on the selected account AND on the user who is currently logged into Dynamics 365) 

 

 

Looking forward to your response

Thanks!

 

 

1 REPLY 1
v-easonf-msft
Community Support
Community Support

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors