Forum Discussion

ArmoneyJ210's avatar
ArmoneyJ210
Regular Visitor
2 years ago

Power BI Freezing with Quick Measure

My Power BI freezes for a long time then throws the error below when I try to add a 'difference in filtered value' quick measure. I've seen similar posts that say this issue has been fixed, but it is still not working on my end.

 

JS Error Message:
Cannot read properties of undefined (reading 'displayName')

PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.128.1380.0","ModuleName":"https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.quick-measures-ui.min.js","Component":"","Error":"TypeError","MethodDef":"QuickMeasuresTemplateComponent_div_1_ng_container_1_div_10_ng_container_1_div_1_tri_dropdown_6_Template","ErrorOffset":"251:144","ErrorCode":""}

2 Replies

    • ArmoneyJ210's avatar
      ArmoneyJ210
      Regular Visitor

      Hello Anonymous  and thanks for the reply. My version is 2.128.1380.0 and yes it is Power BI Desktop. Here is more of the Error message:

      Quick measure error
      Feedback Type:
      Frown (Error)

      Error Message:
      An error occurred while rendering the report.

      Stack Trace:
      Javascript:TypeError
      at QuickMeasuresTemplateComponent_div_1_ng_container_1_div_10_ng_container_1_div_1_tri_dropdown_6_Template (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.quick-measures-ui.min.js:251:144)
      at executeTemplate (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:595130:87)
      at refreshView (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:595610:121)

      Performance Trace Logs:
      C:\Users\JArmoney\AppData\Local\Microsoft\Power BI Desktop\PerformanceTraces.zip

      Enabled Preview Features:
      PBI_sparklines
      PBI_scorecardVisual
      PBI_NlToDax
      PBI_fieldParametersSuperSwitch
      PBI_angularRls
      PBI_backstageUI
      PBI_setLabelOnExportPdf
      PBI_dynamicFormatString
      PBI_oneDriveSave
      PBI_oneDriveShare
      PBI_gitIntegration
      PBI_newCard
      PBI_buttonSlicerAuthoring
      PBI_mobileAutoReportLayout
      PBI_daxQueryView
      PBI_daxInlineCopilot
      PBI_aiNarrativesVisual
      PBI_generateMeasureDescriptionsButton
      PBI_desktopReportAuthoringCopilot

      Disabled Preview Features:
      PBI_shapeMapVisualEnabled
      PBI_SpanishLinguisticsEnabled
      PBI_qnaLiveConnect
      PBI_b2bExternalDatasetSharing
      PBI_enhancedTooltips
      PBI_onObject
      PBI_useModernPublishDialogs
      PBI_tmdlInDataset
      PBI_EimLessElevatedUser
      PBI_modelExplorer
      PBI_qnaImproveLsdlCopilot
      PBI_visualCalculationsAuthoring

      Disabled DirectQuery Options:
      TreatHanaAsRelationalSource

      Cloud:
      GlobalCloud

      PowerBIUserFeedbackServices_IsReported:
      True


      at detectChangesInView (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:595679:81)
      at detectChangesInEmbeddedViews (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:595671:176)
      at refreshView (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:595622:35)
      at detectChangesInView (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:595679:81)
      at detectChangesInEmbeddedViews (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:595671:176)
      at refreshView (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:595622:35)
      at detectChangesInView (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:595679:81)

      Stack Trace Message:
      An error occurred while rendering the report.

      Invocation Stack Trace:
      at Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
      at Microsoft.Mashup.Client.UI.Shared.StackTraceInfo..ctor(String exceptionStackTrace, String invocationStackTrace, String exceptionMessage)
      at Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.GetStackTraceInfo(Exception e)
      at Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.ReportException(IWindowHandle activeWindow, IUIHost uiHost, FeedbackPackageInfo feedbackPackageInfo, Exception e, Boolean useGDICapture)
      at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass14_0.<HandleException>b__0()
      at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)
      at Microsoft.PowerBI.Client.PowerBIUnexpectedExceptionHandler.HandleException(Exception e)
      at Microsoft.PowerBI.Client.Windows.Utilities.PowerBIFormUnexpectedExceptionHandler.HandleException(Exception e)
      at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
      at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
      at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
      at Microsoft.PowerBI.Client.Windows.HostServiceDispatcher.<>c__DisplayClass15_0.<ExecuteInteropCsMethod>b__0()
      at Microsoft.PowerBI.Client.Windows.HostServiceDispatcher.<ExecuteInteropCsMethod>d__15.MoveNext()
      at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
      at Microsoft.PowerBI.Client.Windows.HostServiceDispatcher.ExecuteInteropCsMethod(Object interopObj, MethodInfo method, Object[] arguments, Nullable`1 runOn, Nullable`1 jsonOptions)
      at Microsoft.PowerBI.Client.Windows.WebView2.WebView2Interop.<>c__DisplayClass22_0.<<InvokeCsMethod>b__0>d.MoveNext()
      at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
      at Microsoft.PowerBI.Client.Windows.WebView2.WebView2Interop.<>c__DisplayClass22_0.<InvokeCsMethod>b__0()
      at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<HandleAwaitableAsyncExceptions>d__1.MoveNext()
      at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
      at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.HandleAwaitableAsyncExceptions(IExceptionHandler exceptionHandler, Func`1 asyncFunc)
      at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<HandleAsyncExceptions>d__0.MoveNext()
      at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
      at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.HandleAsyncExceptions(IExceptionHandler exceptionHandler, Func`1 asyncFunc)
      at Microsoft.PowerBI.Client.Windows.WebView2.WebView2Interop.InvokeCs(InteropCall call)
      at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
      at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
      at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
      at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
      at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
      at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
      at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
      at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
      at Microsoft.Mashup.Client.UI.Shared.WindowManager.ShowModal[T](T dialog, Func`1 showModalFunction)
      at Microsoft.PowerBI.Client.Program.<>c__DisplayClass7_0.<RunApplicationLegacy>b__0()
      at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<>c__DisplayClass3_0.<HandleExceptionsWithNestedTasks>b__0()
      at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
      at Microsoft.PowerBI.Client.Program.RunApplicationLegacy(String[] args)
      at Microsoft.PowerBI.Client.Program.Main(String[] args)


      JS Error Message:
      Cannot read properties of undefined (reading 'displayName')

      PowerBINonFatalError:
      {"AppName":"PBIDesktop","AppVersion":"2.128.1380.0","ModuleName":"https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.quick-measures-ui.min.js","Component":"","Error":"TypeError","MethodDef":"QuickMeasuresTemplateComponent_div_1_ng_container_1_div_10_ng_container_1_div_1_tri_dropdown_6_Template","ErrorOffset":"251:144","ErrorCode":""}

      Snapshot Trace Logs:
      C:\Users\JArmoney\AppData\Local\Microsoft\Power BI Desktop\FrownSnapShotce5f876f-b466-4b56-9a99-3e0dc98a0c3d.zip

      Model Default Mode:
      Import

      Model Version:
      PowerBI_V3