web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Power BI embedded in CRM Dynamics (Filter)

(0) ShareShare
ReportReport
Posted on by 390

Hi!,

I have a field string in my CRM and use this field to filter my panel embedded in CRM. The problem is tha when the value of my filed is a number, does not work.

Example: 

My field has a value = *00001 that works fine becouse y have a character .

My filed has a value = 10001, this does not work becouse the value is a number. Curiosly if it has 000001 works fine...

<control id="filteredreport" classid="{ - - - - }">
<parameters>
<PowerBIGroupId>xxxxxxxxx</PowerBIGroupId>
<PowerBIReportId>xxxxxxxxxxxxxxx</PowerBIReportId>
<TileUrl>app.powerbi.com/.../TileUrl>
<PowerBIFilter>{"Filter":"[{\"$schema\":\"basic\",\"target\":{\"table\":\"Customer\",\"column\":\"CodCustomer\"},\"operator\":\"In\",\"values\":[$a],\"filterType\":1}]","Alias":{"$a": "new_myfilterstring" }}</PowerBIFilter>
</parameters>
</control>

Thanks for the help.
Best regards

I have the same question (0)
  • Suggested answer
    Mustufa Furniturewala Profile Picture
    50 on at

    Hi Enrique,

    Hope you are doing good.

    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

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

    If this doesnt work, Then raise a support case and it will be taken care.

    Hope this helps,

    Mustufa F

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 151

#2
ManoVerse Profile Picture

ManoVerse 149 Super User 2026 Season 1

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 66 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans