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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! 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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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