DAX rendering Issues

An error occurred while rendering the report.

DaxMode resource config is not defined

True

 

Feedback Type:

Frown (Error)

Timestamp:
2023-11-20T23:31:24.2172997Z

Local Time:
2023-11-21T09:31:24.2172997+10:00

Session ID:
571f7979-3180-4971-b5dd-0051a59fa88a

Release:
November 2023

Product Version:
2.123.684.0 (23.11) (x64)

Stack Trace:
Javascript:MonacoError
at new DaxConfigError (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:227889:40)
at DaxParserManager.parseModelExpression (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:228486:43)
at DaxParserManager.getParseResult (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:228465:41)
at DaxSemanticTokensProvider.provideDocumentSemanticTokens (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:228619:64)
at https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:91468:53
at Generator.next (<anonymous>)
at https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:91443:83
at new ZoneAwarePromise (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:143013:45)
at getSemanticTokens_awaiter (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:91422:24)
at https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:91465:95

PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.123.684.0","ModuleName":"https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js","Component":"","Error":"MonacoError","MethodDef":"new DaxConfigError","ErrorOffset":"227889:40","ErrorCode":""}

OS Version:
Microsoft Windows NT 10.0.19044.0 (x64 en-GB)

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

Peak Virtual Memory:
70.6 GB

Private Memory:
765 MB

Peak Working Set:
1.24 GB

IE Version:
11.789.19041.0

User ID:
5da6eb80-76a1-4eb8-9d26-9795219fa786

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

Telemetry Enabled:
True

AS Live Connection:
True

Enabled Preview Features:
PBI_qnaLiveConnect
PBI_sparklines
PBI_scorecardVisual
PBI_NlToDax
PBI_fieldParametersSuperSwitch
PBI_setLabelOnExportPdf
PBI_dynamicFormatString
PBI_oneDriveSave
PBI_oneDriveShare
PBI_newCard
PBI_buttonSlicerAuthoring
PBI_daxQueryView

Disabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_SpanishLinguisticsEnabled
PBI_b2bExternalDatasetSharing
PBI_enhancedTooltips
PBI_angularRls
PBI_onObject
PBI_backstageUI
PBI_gitIntegration
PBI_modelExplorer
PBI_aiNarrativesVisual
PBI_qnaImproveLsdlCopilot

Enabled DirectQuery Options:
TreatHanaAsRelationalSource

Cloud:
GlobalCloud

DPI Scale:
100%

Supported Services:
Power BI

Delivered
Comments
tvav
Advocate I

After updating to the new November version,  I get the same (MonacoError) error when opening any existing report :

Feedback Type:
Frown (Error)

Error Message:
An error occurred while rendering the report.

Stack Trace:
Javascript&colon;MonacoError
at new MonacoError (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:227895:40)
at https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:228855:35
at args.<computed> (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:143681:59)
at ZoneDelegate.invokeTask (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:142564:193)
at Zone.runTask (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:142446:67)
at ZoneTask.invokeTask (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:142602:67)
at ZoneTask.invoke (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:142596:60)
at data.args.<computed> (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:143665:48)

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.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__DisplayClass6_0.<RunApplication>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.RunApplication(String[] args)
at Microsoft.PowerBI.Client.Program.Main(String[] args)


JS Error Message:
DaxMode resource config is not defined

PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.123.684.0","ModuleName":"https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js","Component":"","Error":"MonacoError","MethodDef":"new MonacoError","ErrorOffset":"227895:40","ErrorCode":""}

AS Live Connection:
True

Enabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_qnaLiveConnect
PBI_b2bExternalDatasetSharing
PBI_enhancedTooltips
PBI_sparklines
PBI_scorecardVisual
PBI_NlToDax
PBI_fieldParametersSuperSwitch
PBI_angularRls
PBI_setLabelOnExportPdf
PBI_dynamicFormatString
PBI_oneDriveSave
PBI_oneDriveShare
PBI_gitIntegration
PBI_newCard
PBI_buttonSlicerAuthoring
PBI_modelExplorer
PBI_daxQueryView
PBI_aiNarrativesVisual
PBI_qnaImproveLsdlCopilot

Disabled Preview Features:
PBI_SpanishLinguisticsEnabled
PBI_onObject
PBI_backstageUI

Disabled DirectQuery Options:
TreatHanaAsRelationalSource

avatar user
Anonymous
Not applicable

Hi  @JB_1993 

Based on the information you've provided so far, there's no way for me to determine the exact cause of the problem. Please provide more detailed information.

1. What operation is the error occurring while doing? Has the same error been reported before?

2. What is the connected data source? What kind of connection method is used?

3. Has anyone else had the same problem?

 

Best Regards,
Community Support Team _ Ailsa Tao

JonBaylis
Advocate III

Hi,

 

Same error for me too.

 

All I am doing is opening an existing report and I have recently upgraded to the November 2023 release. 

 

Data Source for this report is an SSAS tabular model.

 

Here's the full error:

 

Feedback Type:
Frown (Error)

Error Message:
An error occurred while rendering the report.

Stack Trace:
Javascript&colon;MonacoError
at new DaxConfigError (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:227889:40)
at DaxParserManager.parseModelExpression (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:228486:43)
at DaxParserManager.getParseResult (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:228465:41)
at DaxSemanticTokensProvider.provideDocumentSemanticTokens (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:228619:64)
at https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:91468:53
at Generator.next (<anonymous>)
at https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:91443:83
at new ZoneAwarePromise (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:143013:45)
at getSemanticTokens_awaiter (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:91422:24)
at https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js:91465:95

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.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__DisplayClass6_0.<RunApplication>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.RunApplication(String[] args)
at Microsoft.PowerBI.Client.Program.Main(String[] args)


JS Error Message:
DaxMode resource config is not defined

PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.123.684.0","ModuleName":"https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopDaxQueryView.js","Component":"","Error":"MonacoError","MethodDef":"new DaxConfigError","ErrorOffset":"227889:40","ErrorCode":""}

AS Live Connection:
True

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

Enabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_SpanishLinguisticsEnabled
PBI_qnaLiveConnect
PBI_b2bExternalDatasetSharing
PBI_enhancedTooltips
PBI_sparklines
PBI_scorecardVisual
PBI_NlToDax
PBI_fieldParametersSuperSwitch
PBI_angularRls
PBI_onObject
PBI_backstageUI
PBI_setLabelOnExportPdf
PBI_dynamicFormatString
PBI_oneDriveSave
PBI_oneDriveShare
PBI_gitIntegration
PBI_newCard
PBI_buttonSlicerAuthoring
PBI_modelExplorer
PBI_daxQueryView
PBI_aiNarrativesVisual
PBI_qnaImproveLsdlCopilot

Disabled DirectQuery Options:
TreatHanaAsRelationalSource

Cloud:
GlobalCloud

PowerBIUserFeedbackServices_IsReported:
True

Formulas:


section Section1;

dagr1984
Regular Visitor

Same error. 

 

All I am doing is opening an existing report and I have recently upgraded to the November 2023 release. 

 

Data Source for this report is an SSAS tabular model.

 

I can not add any measure to the report. DAX formula is not visible

YacineHass
New Member

Hi All,

 

Same error here;

I am on the november release with all preview options checked,

My data source is an SSAS tabular modal with visual studio.

When opening a new report I get this error:

 

An error occurred while rendering the report.

DaxMode resource config is not defined

True

 

E30465
New Member

Hello, I have the same error.  DAX measure functionality was working fine 4 weeks ago and now I'm unable to see the DAX window at all.  Would someone please resolve this break/fix immediately???  It is impeding development work and project delivery timelines.  It is unfortunate that updates that have not been fully tested are pushed out to be dealt with by the user community.

E30465_0-1701407851836.png

 

 

CarlosSanchez
New Member

Hello,

 

Exactly same behaviour in Power BI Desktop November, and connected to a SSAS Model. Impossible to see the formulas for existing measures or new.

 

Regards,

Carlso

JonBaylis
Advocate III

If you turn off the Preview Feature for the DAX query view then the error (for me at least) goes away. 

CarlosSanchez
New Member

@JonBaylis : Correct, the error now dissappear but the formula bar is not shown. To further check I have disabled all preview features with the same result. Also creating a new report from scratch and live connect to a SSAS model gives the same outcome, no formula bar on a new measure.

JonBaylis
Advocate III

Just needs to be fixed ASAP.  In future I might start waiting for 2-3 weeks after the intitial monthly release before installing.