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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
mchaudhr
Frequent Visitor

Embed Power BI Report in CRM with Dynamic Filtering

Hi,

Currently attempting to embed a Power BI report within a workspace in CRM using dynamic filtering based on the account selection within CRM that corresponds to the customer number (CustomerTrim0s) within the PBI model connected to the report.

Filtering works correctly when we dynamically filter on the customer name (name) field, but whenever we attempt to do the same with customer number we a presented with an issue where the filter automatically converts to customer number in (blank) for some reason. 

mchaudhr_0-1649363192045.png

Sometime also run into an issue where it does not recognize the filter:

mchaudhr_1-1649363214194.png

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @mchaudhr ,

Can you refresh the report successfully?  What have you done before the Customertrim0s is blank?  Could you please provide more details? 

 

I have found a similar post, please refer to it to see if it help you.

Power BI embedded in CRM Dynamics (Filter) 

  • We have observed this when an entity field value is a valid number, the value is sent to Power BI as a number but Power BI is expecting strings.

    Solution : Update the "values" condition to surround the $a with escaped double quotes

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
mchaudhr
Frequent Visitor

Thanks Community Support Team _ Polly. Using the escaped double quotes resolved the issue for us.

Anonymous
Not applicable

Hi @mchaudhr ,

Can you refresh the report successfully?  What have you done before the Customertrim0s is blank?  Could you please provide more details? 

 

I have found a similar post, please refer to it to see if it help you.

Power BI embedded in CRM Dynamics (Filter) 

  • We have observed this when an entity field value is a valid number, the value is sent to Power BI as a number but Power BI is expecting strings.

    Solution : Update the "values" condition to surround the $a with escaped double quotes

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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