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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Persistent Error while creating measures

I keep on getting this error while creating a new measure.  The same error message pops up in what appears to be an endless loop and my only recourse is to kill PowerBI in Task Manager.

 

Feedback Type: Frown (Error)

Timestamp: 2024-08-16T20:36:33.4971621Z

Local Time: 2024-08-16T15:36:33.4971621-05:00

Session ID: ce9efaf1-bb50-4b33-a7c4-9ff036632483

Release: July 2024

Product Version: 2.131.1203.0 (24.07) (x64)

Stack Trace: System.NullReferenceException
at Microsoft.PowerBI.Client.Windows.Lucia.LuciaModelChangeImpactEvaluator.GetImpact(ModelChangeResult changeResult, Boolean inEmulationMode)
at Microsoft.PowerBI.Client.Windows.Services.LuciaSessionActivationManager.OnModelChanged(ModelChangedEventArgs args)
at Microsoft.Practices.Prism.PubSubEvents.EventSubscription`1.<>c__DisplayClass2.<GetExecutionStrategy>b__0(Object[] arguments)
at Microsoft.Practices.Prism.PubSubEvents.EventBase.InternalPublish(Object[] arguments)
at Microsoft.PowerBI.Client.Windows.Services.EventAggregationService.<>c__DisplayClass22_0`2.<PublishAndMarshalExceptions>b__0()
at Microsoft.Mashup.Host.Document.SynchronizationContextExtensions.<>c__DisplayClass2_0.<SendAndMarshalExceptions>b__0(Object null)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Mashup.Host.Document.SynchronizationContextExtensions.SendAndMarshalExceptions(SynchronizationContext context, Action callback)
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)

PowerBINonFatalError: {"AppName":"PBIDesktop","AppVersion":"2.131.1203.0","ModuleName":"Microsoft.PowerBI.Client.Windows.dll","Component":"Microsoft.PowerBI.Client.Windows.Lucia.LuciaModelChangeImpactEvaluator","Error":"System.NullReferenceException","MethodDef":"GetImpact","ErrorOffset":"6","ErrorCode":""}

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

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

Peak Virtual Memory: 71.9 GB

Private Memory: 890 MB

Peak Working Set: 1.13 GB

IE Version: 11.3636.19041.0

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

Telemetry Enabled: True

AS Live Connection: True

Enabled Preview Features: PBI_enhancedTooltips
PBI_sparklines
PBI_scorecardVisual
PBI_NlToDax
PBI_fieldParametersSuperSwitch
PBI_setLabelOnExportPdf
PBI_dynamicFormatString
PBI_oneDriveSave
PBI_oneDriveShare
PBI_useModernPublishDialogs
PBI_gitIntegration
PBI_newCard
PBI_buttonSlicerAuthoring
PBI_EimLessElevatedUser
PBI_mobileAutoReportLayout
PBI_daxInlineCopilot
PBI_aiNarrativesVisual
PBI_generateMeasureDescriptionsButton
PBI_desktopReportAuthoringCopilot

Disabled Preview Features: PBI_shapeMapVisualEnabled
PBI_SpanishLinguisticsEnabled
PBI_qnaLiveConnect
PBI_b2bExternalDatasetSharing
PBI_onObject
PBI_publishDialogsSupportSubfolders
PBI_tmdlInDataset
PBI_enhancedReportFormat
PBI_qnaImproveLsdlCopilot
PBI_visualCalculationsAuthoring

Disabled DirectQuery Options: TreatHanaAsRelationalSource

 

Status: Investigating
Comments
Anonymous
Not applicable

Hi @State0fBeing ,

 

I did a simple test but it doesn't seem to reproduce your error, is it possible to provide more details? For example what data source are you using? Connection mode?
Also, does it work if you roll back to a previous version?
Does this problem only occur with the current report?

 

Best regards.
Community Support Team_Caitlyn

State0fBeing
New Member

Community Support Team_Caitlyn --
The error did not recur after killing Power BI and restarting with a new file.  It appears to be a corrupted file