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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
yuewu
New Member

Can't Add Pi Chart to Dashboard

I was trying to add some graphs to my dashboard, which works great for line chart. However, when I was trying to add anything that is not a line chart, the following error message showed up:

 

AI: USRACT_StringValueTooLong message:"string value is too long. It has been truncated to 1024 characters." props:"{value:Cannot read property 'ScriptVisualBinding' of undefined (caused by \undefined\)\nTypeError: Cannot read property 'ScriptVisualBinding' of undefined\n at new r (https://app.powerbi.com/13.0.1100.472/scripts/powerbiportal.common.bundle.min.js:3:27816)\n at Object.s [as createTileConfig] (https://app.powerbi.com/13.0.1100.472/scripts/powerbiportal.web.bundle.min.js:28:12789)\n at Object.c [as createTileForPinData] (https://app.powerbi.com/13.0.1100.472/scripts/powerbiportal.web.bundle.min.js:28:13321)\n at t.showPinVisualDialog (https://app.powerbi.com/13.0.1100.472/scripts/powerbiportal.web.bundle.min.js:34:23737)\n at t.pinVisual (https://app.powerbi.com/13.0.1100.472/scripts/powerbiportal.web.bundle.min.js:13:2866)\n at https://app.powerbi.com/13.0.1100.472/scripts/powerbiportal.web.bundle.min.js:12:27141\n at m.$emit (https://app.powerbi.com/13.0.1100.472/scripts/powerbiportal.dependencies.bundle.min.js:154:505)\n at g.pinVisual (https://app.powerbi.com/13.0.1100.472/scripts/powerbiportal.web.}"

 

I tried different browsers (Chrome, Firefox and IE), none of them will solve the problem. I wonder if I did something wrong when adding chart to dashboard, or it's a bug of Power BI?

 

Thanks,

Yue

7 REPLIES 7
ankitpatira
Community Champion
Community Champion

Are trying to do that in powerbi.com ? If yes are modifying published report or building new one? Can you provide some more information.

I did it again this morning, and relized if I removed all page level filters, I will be able to add the chart. So is it true that dashboard doesn't support filters?

@yuewu

That seems a potential bug.

 

Can you provide more details about your page level so that we can reproduce and report it internally.

I was able to solve the issue by removing an advanced filter (not blank fileter for a field). 

 

And I tried to reproduce the error today by creating new charts, but everything worked great.The only problem is all the old charts I created last week are still producing the error, unless I remove the filter and add it again. Following is the error message:

 

AI: USRACT_StringValueTooLong message:"string value is too long. It has been truncated to 1024 characters." props:"{value:Cannot read property 'ScriptVisualBinding' of undefined (caused by \undefined\)\nTypeError: Cannot read property 'ScriptVisualBinding' of undefined\n at new r (https://app.powerbi.com/13.0.1100.480/scripts/powerbiportal.common.bundle.min.js:3:27816)\n at Object.s [as createTileConfig] (https://app.powerbi.com/13.0.1100.480/scripts/powerbiportal.web.bundle.min.js:28:12789)\n at Object.c [as createTileForPinData] (https://app.powerbi.com/13.0.1100.480/scripts/powerbiportal.web.bundle.min.js:28:13321)\n at t.showPinVisualDialog (https://app.powerbi.com/13.0.1100.480/scripts/powerbiportal.web.bundle.min.js:34:23737)\n at t.pinVisual (https://app.powerbi.com/13.0.1100.480/scripts/powerbiportal.web.bundle.min.js:13:2950)\n at https://app.powerbi.com/13.0.1100.480/scripts/powerbiportal.web.bundle.min.js:12:27239\n at m.$emit (https://app.powerbi.com/13.0.1100.480/scripts/powerbiportal.dependencies.bundle.min.js:154:505)\n at g.pinVisual (https://app.powerbi.com/13.0.1100.480/scripts/powerbiportal.web.}"

 

What I did last week is making the report on Power BI Desktop (Version: 2.33.4337.281 64-bit), publishing to the web, adding one of the chart to dashboard. And the error occurred. I'm not sure if it's a Power BI problem or just our enterprise gateway setting. 

@yuewu

That error message is raised in Javascript, so I think it is a problem in PowerBI.

Why trying to reproduce, was the same data source used?
Do you mind upload that problematic pbix that developed on PowerBI desktop? If possible, with some dummy data imported.

The report is connected to a SSAS Tabular Model, and I'm not able to share with you. The only thing I know for sure is it's caused by the advanced filter, but I don't know how it is triggered.

 

 

I'm doing it from powerbi.com. I'm trying to modify an existing report. Everything works fine if it is a line chart. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Kudoed Authors