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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Power BI Map not working and generating an error.

Cant load power BI maps visualization. It generates the below error. Kindly help.

 

 

Feedback Type:
Frown (Error)

Error Message:
An error occurred while rendering the report.

Stack Trace:
Javascript: Error
at https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopUI.js:151:193
at wrapFn (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:142347:137)
at ZoneDelegate.invokeTask (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:142162:193)
at Object.onInvokeTask (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:109523:64)
at ZoneDelegate.invokeTask (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:142162:76)
at Zone.runTask (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:142044:67)
at ZoneTask.invokeTask [as invoke] (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:142200:67)
at invokeTask (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:142777:72)
at globalZoneAwareCallback (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:142784:64)

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.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__DisplayClass4_1.<Main>b__3()
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.Main(String[] args)


JS Error Message:
Script error.

PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.112.1161.0","ModuleName":"https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktopUI.js","Component":"","Error":"Error","MethodDef":"","ErrorOffset":"151:193"}

Snapshot Trace Logs:
C:\Users\aatif\Microsoft\Power BI Desktop Store App\FrownSnapShot2f46ee6f-3a68-4e69-97dd-b2e7279226a0.zip

Model Default Mode:
Import

Model Version:
PowerBI_V3

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

Enabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_azureMapVisual
PBI_enableWebView2
PQ_WebView2Connector
PBI_sparklines
PBI_scorecardVisual
PBI_fieldParametersSuperSwitch
PBI_horizontalFusion

Disabled Preview Features:
PBI_SpanishLinguisticsEnabled
PBI_qnaLiveConnect
PBI_compositeModelsOverAS
PBI_b2bExternalDatasetSharing
PBI_enhancedTooltips
PBI_NlToDax
PBI_optimizeTabRibbon
PBI_relationshipEditPane

Disabled DirectQuery Options:
TreatHanaAsRelationalSource

Cloud:
GlobalCloud

Recent Actions:
AddEmptyVisualContainer, AddFieldToVisual

PowerBIUserFeedbackServices_IsReported:
True

Formulas:


section Section1;

shared Table2 = let
Source = Excel.Workbook(File.Contents("C:\Users\aatif\OneDrive\Desktop\Work\Main Database Final.xlsx"), null, true),
Table2_Table = Source{[Item="Table2",Kind="Table"]}[Data],
#"Changed Type" = Table.TransformColumnTypes(Table2_Table,{{"Name", type any}, {"First Name", type text}, {"Last Name", type text}, {"Job Title", type text}, {"Address", type text}, {"Column1", type text}, {"Preferred Contact Method", type text}, {"Email Address", type text}, {"Phone", type text}, {"Website", type text}, {"Region", type text}, {"No. of Stores", type any}, {"Store Type", type text}})

 

 

 

in
#"Changed Type";

Active Section Contract:
{"id":0,"name":"ReportSection","displayName":"Page 1","filters":"[]","ordinal":0,"visualContainers":[{"x":10,"y":0,"z":0,"width":280,"height":280,"config":{"name":"6b6a394002214ad0064d","layouts":[{"id":0,"position":{"x":10,"y":0,"width":280,"height":280,"z":0}}],"singleVisual":{"visualType":"map","projections":{"Series":[{"queryRef":"Table2.Column1"}]},"prototypeQuery":{"Version":2,"From":[{"Name":"t","Entity":"Table2","Type":0}],"Select":[{"Column":{"Expression":{"SourceRef":{"Source":"t"}},"Property":"Column1"},"Name":"Table2.Column1"}]},"drillFilterOtherVisuals":true}},"filters":"[]"}],"config":{},"displayOption":1,"width":1280,"height":720}

Status: Needs Info

Hi @aatifriyaz 

Can you load the maps visual before ? When did you encounter a situation where it wouldn't load? Do the visuals other than maps load properly? What fields are you referencing in this maps ?

 

Best Regards,
Community Support Team _ Ailsa Tao

Comments
v-yetao1-msft
Community Support
Status changed to: Needs Info

Hi @aatifriyaz 

Can you load the maps visual before ? When did you encounter a situation where it wouldn't load? Do the visuals other than maps load properly? What fields are you referencing in this maps ?

 

Best Regards,
Community Support Team _ Ailsa Tao

aatifriyaz
New Member

Hi @v-yetao1-msft 

 

No. I just installed the application and tried visuals. Other visuals work fine. Just the maps aren't loading and shows the above error.