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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Field parameters in visual -- "An error occured while rendering the report"

Hi, 

Since the last Power BI update I consistently get error's when trying to work with field parameters in the visuals. I already tried removing the cache described in this older thread, which did not help. 

https://community.fabric.microsoft.com/t5/Desktop/an-error-occurred-while-rendering-the-report/m-p/1... 

 

I also tried deselecting the preview features that I recently turned on, but this did also not help. Anyone any suggestions?

 

_Remo__0-1687160930031.png

 

 

Feedback Type:
Frown (Error)

Error Message:
An error occurred while rendering the report.

Stack Trace:
Javascript: TypeError
at VisualContainerUtils.getQueryName (https://ms-pbi.pbi.microsoft.com/minerva/scripts/explore.js:6970:113)
at Object.isEditableVisualCalc (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.visual-container-skittles-ui.min.js:622:98)
at FieldPickerModernComponent.getFlyoutActionTooltip (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.field-picker-modern.min.js:818:69)
at FieldPickerModernComponent.createFieldMetadata (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.field-picker-modern.min.js:815:41)
at https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.field-picker-modern.min.js:794:34
at arrayMap (https://ms-pbi.pbi.microsoft.com/minerva/scripts/powerbi.common.externals.js:26438:23)
at Function.map (https://ms-pbi.pbi.microsoft.com/minerva/scripts/powerbi.common.externals.js:35407:14)
at FieldPickerModernComponent.updaterPickerWithInitialExprs (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.field-picker-modern.min.js:793:45)
at SafeSubscriber._next (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.field-picker-modern.min.js:528:34)
at _proto2.__tryOrUnsub (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:100599:28)

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:
Cannot read properties of undefined (reading 'queryRef')

PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.118.621.0","ModuleName":"https://ms-pbi.pbi.microsoft.com/minerva/scripts/explore.js","Component":"VisualContainerUtils","Error":"TypeError","MethodDef":"getQueryName","ErrorOffset":"6970:113","ErrorCode":""}

Snapshot Trace Logs:
C:\Users\{User}l\Microsoft\Power BI Desktop Store App\FrownSnapShote7059f10-d8e0-437e-aead-0db199a3074a.zip

Model Default Mode:
Import

Model Version:
PowerBI_V3

Performance Trace Logs:
C:\Users\RemoSchimmel\Microsoft\Power BI Desktop Store App\PerformanceTraces.zip

Enabled Preview Features:
PBI_enhancedTooltips
PBI_sparklines
PBI_scorecardVisual
PBI_NlToDax
PBI_fieldParametersSuperSwitch
PBI_horizontalFusion
PBI_angularRls
PBI_onObject
PBI_setLabelOnExportPdf
PBI_dynamicFormatString
PBI_gitIntegration
PBI_newCard

Disabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_SpanishLinguisticsEnabled
PBI_qnaLiveConnect
PBI_b2bExternalDatasetSharing
PBI_oneDriveSave
PBI_oneDriveShare

Disabled DirectQuery Options:
TreatHanaAsRelationalSource

Cloud:
GlobalCloud

Recent Actions:
VisualContainerPersistProperties, VisualContainerPersistProperties, VisualContainerPersistProperties, VisualContainerPersistProperties, VisualContainerPersistProperties, VisualContainerUpdateDimensions, RemoveFieldFromAllRoles, VisualContainerUpdateDimensions, VisualContainerPersistProperties, VisualContainerPersistProperties, VisualContainerPersistProperties, AddFieldToVisual

PowerBIUserFeedbackServices_IsReported:
True

Formulas:

2 REPLIES 2
Anonymous
Not applicable

I have narrowed it down to the 'on object interaction' preview feature. When turning that specific preview feature off I don't have troubles anymore regarding the above error. 

 

_Remo__0-1687162820476.png

 

Hi @Anonymous 

 

I cannot reproduce this error when turning on the On-object interaction preview feature with Desktop version 2.118.621.0. 

 

I notice that I'm using Power BI Desktop downloaded from Microsoft download center but you are using the version from Microsoft Store. Not sure if this error only occurs on the Store version. Can you try uninstalling the Store version then installing the latest version from the download center directly? Check whether the same error would occur when the preview feature is on?

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors