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.

Error message when adding Constant line to visual

I'm trying to add a constant line to a visual (something I've done numerous times before without any issue) but I keep getting a "There's been a problem" dialog box.  Any idea what could be the problem? 

 

Thanks,

 

Iana

 

The error message is as follows : 

 
 

And the problem details appear below: 

 

Feedback Type:
Frown (Error)

Timestamp:
2021-03-11T10:01:30.9823227Z

Local Time:
2021-03-11T11:01:30.9823227+01:00

Session ID:
c8776f0a-d827-4efa-86e7-97752068938c

Release:
October 2020

Product Version:
2.86.902.0 (20.10) (x64)

Stack Trace:
(at TypeError: Cannot read property 'id' of undefined
at AnalyticsCardControllerBase.addInstanceAction (ms-pbi://pbi.microsoft.com/minerva/scripts/exploreUIShell.js:1445:45)
at ms-pbi://pbi.microsoft.com/minerva/scripts/exploreUIShell.js:1436:30
at UndoRedoStack.register (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:16766:163)
at UndoRedoService.register (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:16726:52)
at UndoRedoService.register (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:32172:39)
at AnalyticsCardControllerBase.addInstance (ms-pbi://pbi.microsoft.com/minerva/scripts/exploreUIShell.js:1435:36)
at fn (eval at compile (ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:16508:15), <anonymous>:4:181)
at AnalyticsInstanceSelectorController.destination.<computed> [as addInstance] (ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:11497:22)
at AnalyticsInstanceSelectorController.addInstanceAndSetFocus (ms-pbi://pbi.microsoft.com/minerva/scripts/exploreUIShell.js:3355:18)
at fn (eval at compile (ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:16508:15), <anonymous>:4:192):line:null:)
TypeError: Cannot read property 'id' of undefined
at AnalyticsCardControllerBase.addInstanceAction (ms-pbi://pbi.microsoft.com/minerva/scripts/exploreUIShell.js:1445:45)
at ms-pbi://pbi.microsoft.com/minerva/scripts/exploreUIShell.js:1436:30
at UndoRedoStack.register (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:16766:163)
at UndoRedoService.register (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:16726:52)
at UndoRedoService.register (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:32172:39)
at AnalyticsCardControllerBase.addInstance (ms-pbi://pbi.microsoft.com/minerva/scripts/exploreUIShell.js:1435:36)
at fn (eval at compile (ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:16508:15), <anonymous>:4:181)
at AnalyticsInstanceSelectorController.destination.<computed> [as addInstance] (ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:11497:22)
at AnalyticsInstanceSelectorController.addInstanceAndSetFocus (ms-pbi://pbi.microsoft.com/minerva/scripts/exploreUIShell.js:3355:18)
at fn (eval at compile (ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:16508:15), <anonymous>:4:192)

PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.86.902.0","ModuleName":"ms-pbi://pbi.microsoft.com/minerva/scripts/exploreUIShell.js","Component":"AnalyticsCardControllerBase","Error":"TypeError","MethodDef":"addInstanceAction","ErrorOffset":"1445:45"}

OS Version:
Microsoft Windows NT 10.0.19041.0 (x64 fr-FR)

CLR Version:
4.7 or later [Release Number = 528372]

Peak Virtual Memory:
39 GB

Private Memory:
0.994 GB

Peak Working Set:
1.1 GB

IE Version:
11.789.19041.0

User ID:
9c20c77d-26ed-4737-96a0-f6ad408588f9

Workbook Package Info:
1* - fr-FR, Query Groups: 0, fastCombine: Disabled, runBackgroundAnalysis: True.

Telemetry Enabled:
True

Model Default Mode:
Import

Model Version:
PowerBI_V3

Is Report V3 Models Enabled:
True

Enabled Preview Features:
PBI_NewWebTableInference
PBI_v3ModelsPreview

Disabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_SpanishLinguisticsEnabled
PBI_JsonTableInference
PBI_ImportTextByExample
PBI_ExcelTableInference
PBI_qnaLiveConnect
PBI_dataSearchCuration
PBI_azureMapVisual
PBI_dataPointLassoSelect
PBI_narrativeTextBox
PBI_dynamicParameters

Disabled DirectQuery Options:
TreatHanaAsRelationalSource

Cloud:
GlobalCloud

Recent Actions:
rename instance

DPI Scale:
150%

Supported Services:
Power BI

 

 

Status: New
Comments
v-lili6-msft
Community Support

HI

Please upgrade power bi desktop to the latest version and try it again.

Version: 2.90.1081.0 64-bit (February 2021)

https://www.microsoft.com/en-us/download/details.aspx?id=58494

 

Regards,

Lin

 

ianka08
Frequent Visitor

Hi,

I just upgraded to the lastest version and tested. The problem still appears.

Please advice.

Kind regards,

Iana

ianka08
Frequent Visitor

Here's the problem details (for the new version of PBI Desktop): 

 

Feedback Type:
Frown (Error)

Timestamp:
2021-03-12T16:14:38.3550974Z

Local Time:
2021-03-12T17:14:38.3550974+01:00

Session ID:
b507a299-5998-449a-a3c1-7e59ab33d874

Release:
February 2021

Product Version:
2.90.1081.0 (21.02) (x64)

Stack Trace:
Microsoft.PowerBI.Client.Windows.JavaScriptException
TypeError: Cannot read property 'id' of undefined
at AnalyticsCardControllerBase.addInstanceAction (ms-pbi://pbi.microsoft.com/minerva/scripts/exploreUIShell.js:1525:45)
at ms-pbi://pbi.microsoft.com/minerva/scripts/exploreUIShell.js:1516:30
at UndoRedoStack.register (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:15947:163)
at UndoRedoService.register (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:15907:52)
at UndoRedoService.register (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:33749:39)
at AnalyticsCardControllerBase.addInstance (ms-pbi://pbi.microsoft.com/minerva/scripts/exploreUIShell.js:1515:36)
at fn (eval at compile (ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:16508:15), <anonymous>:4:181)
at AnalyticsInstanceSelectorController.destination.<computed> [as addInstance] (ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:11497:22)
at AnalyticsInstanceSelectorController.addInstanceAndSetFocus (ms-pbi://pbi.microsoft.com/minerva/scripts/exploreUIShell.js:3454:18)
at fn (eval at compile (ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:16508:15), <anonymous>:4:192)

PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.90.1081.0","ModuleName":"ms-pbi://pbi.microsoft.com/minerva/scripts/exploreUIShell.js","Component":"AnalyticsCardControllerBase","Error":"TypeError","MethodDef":"addInstanceAction","ErrorOffset":"1525:45"}

OS Version:
Microsoft Windows NT 10.0.19041.0 (x64 fr-FR)

CLR Version:
4.7 or later [Release Number = 528372]

Peak Virtual Memory:
39.2 GB

Private Memory:
1.24 GB

Peak Working Set:
1.07 GB

IE Version:
11.789.19041.0

User ID:
9c20c77d-26ed-4737-96a0-f6ad408588f9

Workbook Package Info:
1* - fr-FR, Query Groups: 0, fastCombine: Disabled, runBackgroundAnalysis: True.

Telemetry Enabled:
True

Model Default Mode:
Import

Model Version:
PowerBI_V3

Enabled Preview Features:
PBI_NewWebTableInference
PBI_eimInformationProtectionForDesktop

Disabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_SpanishLinguisticsEnabled
PBI_JsonTableInference
PBI_ImportTextByExample
PBI_ExcelTableInference
PBI_qnaLiveConnect
PBI_azureMapVisual
PBI_dataPointLassoSelect
PBI_compositeModelsOverAS
PBI_narrativeTextBox
PBI_dynamicParameters
PBI_anomalyDetection
PBI_newFieldList
PBI_cartesianMultiplesAuthoring

Disabled DirectQuery Options:
TreatHanaAsRelationalSource

Cloud:
GlobalCloud

Recent Actions:
update slices

DPI Scale:
150%

Supported Services:
Power BI

v-lili6-msft
Community Support

HI

i have tested on my side, it works well.

On which visual did you add a Constant line to cause this error?

if possible, could you please share your sample pbix file for us have a test?

 

Regards,

Lin

ianka08
Frequent Visitor

Hi Lin,

I tried using it in an empiled histogram. I'm trying to share the pbix file with you but I can't seem to find how to share a file other than picture or video file here. 

Regards,

Iana

ianka08
Frequent Visitor

Here's a screenshot in the meantime. You'll notice that I managed to add the constant line to the upper visual but when I try to add the line to the lower visual I get the erreur. PBI bug.PNG

v-lili6-msft
Community Support

hi

1.JPG

 

it works on my side.

 

You can upload it to OneDrive for business and post the link here. Do mask sensitive data before uploading.

 

Regards,

Lin

ianka08
Frequent Visitor

Hi Lin,

As per your instructions, here's the link to the pbix file. 

https://sogeclairaerospace-my.sharepoint.com/:u:/g/personal/iana_encarnacion_avsimulation_fr/EaxS-qf...

 

Can you please confirm you have access to it? 

 

Regards,

 

Iana

ianka08
Frequent Visitor

PD: I'm afraid you won't be able to access the file. My company's OneDrive is configured as not to allow third parties any access. Do let me know if you manage to access  it or if you don't let me know of an alternative to share the pbix with you.

v-lili6-msft
Community Support

hi 

8.JPG

 

 

Regards,

Lin