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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

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
ianka08
Frequent Visitor

Hi Lin,

Thanks for letting me know. As I feared, my company's OneDrive doesn't allow to share content with people outside of the organisation. 

Do you have an alternative for me to send you the pbix file?

Regards,

Iana

sewai
Frequent Visitor

Hi @v-lili6-msft 

 

I'm also getting this issue on a line chart when trying to add a constant line on Y Axis.

 

I'm on March 2021 version. 

 

Regards,

 

Feedback Type:
Frown (Error)

Timestamp:
2021-04-15T07:24:06.4958126Z

Local Time:
2021-04-15T08:24:06.4958126+01:00

Session ID:
b779522b-bd50-4a37-8f19-6a71baa1342b

Release:
March 2021

Product Version:
2.91.701.0 (21.03) (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:1530:45)
at ms-pbi://pbi.microsoft.com/minerva/scripts/exploreUIShell.js:1521:30
at UndoRedoStack.register (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:16097:163)
at UndoRedoService.register (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:16057:52)
at UndoRedoService.register (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:34078:39)
at AnalyticsCardControllerBase.addInstance (ms-pbi://pbi.microsoft.com/minerva/scripts/exploreUIShell.js:1520: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:3475: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.91.701.0","ModuleName":"ms-pbi://pbi.microsoft.com/minerva/scripts/exploreUIShell.js","Component":"AnalyticsCardControllerBase","Error":"TypeError","MethodDef":"addInstanceAction","ErrorOffset":"1530:45"}

OS Version:
Microsoft Windows NT 10.0.18363.0 (x64 en-US)

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

Peak Virtual Memory:
38.3 GB

Private Memory:
521 MB

Peak Working Set:
802 MB

IE Version:
11.1411.18362.0

User ID:
dadcf64d-b34b-4a8f-a648-6cb099acb862

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

Telemetry Enabled:
True

AS Live Connection:
True

Enabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_JsonTableInference
PBI_NewWebTableInference
PBI_ImportTextByExample
PBI_ExcelTableInference
PBI_eimInformationProtectionForDesktop
PBI_dataPointLassoSelect
PBI_narrativeTextBox
PBI_newFieldList
PBI_cartesianMultiplesAuthoring

Disabled Preview Features:
PBI_SpanishLinguisticsEnabled
PBI_qnaLiveConnect
PBI_azureMapVisual
PBI_compositeModelsOverAS
PBI_dynamicParameters
PBI_anomalyDetection

Disabled DirectQuery Options:
TreatHanaAsRelationalSource

Cloud:
GlobalCloud

Recent Actions:
add instance, update slices, remove instance

DPI Scale:
100%

Supported Services:
Power BI