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.

Reply
kamilamireh
New Member

Frustrating - I am getting this error while saving - powerbi desktop

something went wrong while saving desktop

 

logs:

Feedback Type:
Frown (Error)

Error Message:
An error occurred while rendering the report.

Stack Trace:
TypeError: Cannot read property 'distance' of null
at new InteractEvent (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbi.common.externals.js:43783:55)
at Interaction.pointerEnd (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbi.common.externals.js:42659:28)
at endAllInteractions (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbi.common.externals.js:46027:29)

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.Host.Document.SynchronizationContextExtensions.<>c__DisplayClass0_1.<SendAndMarshalExceptions>b__0(Object null)
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.Delegate.DynamicInvokeImpl(Object[] args)
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
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.WebDialogs.WebDialog.<>n__0(IWindowHandle owner)
at Microsoft.Mashup.Client.UI.Shared.WindowManager.ShowModal[T](T dialog, Func`1 showModalFunction)
at Microsoft.PowerBI.Client.Program.<>c__DisplayClass4_0.<Main>b__1()
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:
Uncaught TypeError: Cannot read property 'distance' of null

Model Default Mode:
Import

Snapshot Trace Logs:
C:\Users\kamila\Microsoft\Power BI Desktop Store App\FrownSnapShot1005860303.zip

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

Disabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_SpanishLinguisticsEnabled
PBI_NewWebTableInference
PBI_showIncrementalRefreshPolicy
PBI_showManageAggregations
PBI_improvedFilterExperience
PBI_qnaLiveConnect
PBI_keyDrivers
PBI_userFavoriteResourcePackagesEnabled

Disabled DirectQuery Options:
TreatHanaAsRelationalSource

Cloud:
GlobalCloud

Recent Actions:
SavePropertyPane, SavePropertyPane, SavePropertyPane, SavePropertyPane, SavePropertyPane, SavePropertyPane, SavePropertyPane, SavePropertyPane, SavePropertyPane, SavePropertyPane, SavePropertyPane, SavePropertyPane, VisualContainerPersistProperties, VisualContainerPersistProperties, VisualContainerUpdateDimensions

Formulas:


section Section1;

shared NonDeletedLatestAssets = let
Source = Sql.Database("gsxdata-sql-westus.database.windows.net", "gsxdata-dwh-westus", [Query="SELECT DISTINCT LOWER(IOF.[AssetID]) as AssetID#(lf) ,IOF.[FileID]#(lf)#(tab) ,IOPFM.[ProjectID]#(lf)#(tab) ,IOP.[ProjectName]#(lf)#(tab) ,IOP.[ReleaseGroupID]#(lf)#(tab) ,IORG.[ReleaseGroupName]#(lf) ,IOF.[MarketID]#(lf) ,IOF.[HostRevision]#(lf) ,IOF.[HostCreatedAt]#(lf) ,IOF.[HostMetadataUpdatedAt]#(lf) ,IOF.[Priority]#(lf) ,IOF.[HostContentStoreID]#(lf) ,IOF.[FileStatusID]#(lf) ,IOF.[ReleaseTrainID]#(lf) ,IOF.[ContentGroupID]#(lf) ,IOF.[ContentTypeID]#(lf) ,IOF.[Localizable]#(lf) ,IOF.[ReadyForLoc]#(lf) ,IOF.[IsDeleted]#(lf) ,IOF.[ChangeID]#(lf) ,IOF.[Revision]#(lf) ,IOF.[IsLead]#(lf) ,IOF.[HostFileReference]#(lf) ,IOF.[GoLiveDate]#(lf) ,IOF.[Title]#(lf) ,IOF.[Neutralizable]#(lf) ,IOF.[Marketizable]#(lf) ,IOF.[CheckSum]#(lf) ,IOF.[FileCoreID]#(lf) ,IOF.[HasVideoDependency]#(lf) ,IOF.[IsLatest]#(lf) FROM [icms_office].[Files] as IOF#(lf) JOIN [icms_office].ProjectFileMappings as IOPFM on IOF.FileID = IOPFM.FileID #(lf) JOIN [icms_office].Projects as IOP on IOPFM.ProjectID = IOP.ProjectID #(lf) JOIN [icms_office].ReleaseGroups as IORG on IOP.ReleaseGroupID = IORG.ReleaseGroupID#(lf) WHERE IOF.IsDeleted=0#(lf) and IOP.IsDeleted=0#(lf) and IOF.IsLatest=1#(lf)and IOF.HostRevision=(select MAX(HostRevision) from [icms_office].[Files] f where IOF.AssetID = f.AssetID) #(lf) order by AssetID"])
in
Source;

shared icms_office_files = let
Source = Sql.Database("gsxdata-sql-westus.database.windows.net", "gsxdata-dwh-westus", [Query="select * FROM [icms_office].[Files] where IsDeleted=0 and IsLatest=1"])
in
Source;

shared icms_office_locfiles = let
Source = Sql.Database("gsxdata-sql-westus.database.windows.net", "gsxdata-dwh-westus", [Query="select * FROM [icms_office].[LocFiles] where IsDeleted=0"])
in
Source;

shared languages = let
Source = Sql.Database("gsxdata-sql-westus.database.windows.net", "gsxdata-dwh-westus", [Query="select * from icms_office.languages"])
in
Source;

shared ContentTypes = let
Source = Sql.Database("gsxdata-sql-westus.database.windows.net", "gsxdata-dwh-westus", [Query="select * from [icms_office].[ContentTypes]"])
in
Source;

shared #"icms_office Projects" = let
Source = Sql.Database("gsxdata-sql-westus.database.windows.net", "gsxdata-dwh-westus"),
icms_office_Projects = Source{[Schema="icms_office",Item="Projects"]}[Data]
in
icms_office_Projects;

shared #"icms_office ProjectFileMappings" = let
Source = Sql.Database("gsxdata-sql-westus.database.windows.net", "gsxdata-dwh-westus"),
icms_office_ProjectFileMappings = Source{[Schema="icms_office",Item="ProjectFileMappings"]}[Data]
in
icms_office_ProjectFileMappings;

shared #"icms_office LocFileStatuses" = let
Source = Sql.Database("gsxdata-sql-westus.database.windows.net", "gsxdata-dwh-westus"),
icms_office_LocFileStatuses = Source{[Schema="icms_office",Item="LocFileStatuses"]}[Data]
in
icms_office_LocFileStatuses;

shared #"icms_office HostContentStores" = let
Source = Sql.Database("gsxdata-sql-westus.database.windows.net", "gsxdata-dwh-westus"),
icms_office_HostContentStores = Source{[Schema="icms_office",Item="HostContentStores"]}[Data]
in
icms_office_HostContentStores;

Active Section Contract:
{"name":"ReportSection9ff5809f285074004504","displayName":"Kamil added this page","filters":"[]","ordinal":14,"visualContainers":[{"x":0,"y":32.729785763648934,"z":1,"width":418.41050449205255,"height":392.75742916378715,"config":{"name":"77877605bd640026b0b7","layouts":[{"id":0,"position":{"x":0,"y":32.729785763648934,"z":1,"width":418.41050449205255,"height":392.75742916378715}}],"singleVisual":{"visualType":"pivotTable","projections":{"Values":[{"queryRef":"CountNonNull(icms_office_locfiles.LocFileID)"}],"Rows":[{"queryRef":"icms_office_locfiles.LFSName","active":true}]},"prototypeQuery":{"Version":2,"From":[{"Name":"i","Entity":"icms_office_locfiles"}],"Select":[{"Aggregation":{"Expression":{"Column":{"Expression":{"SourceRef":{"Source":"i"}},"Property":"LocFileID"}},"Function":5},"Name":"CountNonNull(icms_office_locfiles.LocFileID)"},{"Column":{"Expression":{"SourceRef":{"Source":"i"}},"Property":"LFSName"},"Name":"icms_office_locfiles.LFSName"}]},"drillFilterOtherVisuals":true}},"filters":"[]"},{"x":659.0186592950934,"y":43.34485141672426,"z":2,"width":418.41050449205255,"height":316.682791983414,"config":{"name":"80e7cc07798d295cbe89","layouts":[{"id":0,"position":{"x":659.0186592950934,"y":43.34485141672426,"z":2,"width":418.41050449205255,"height":316.682791983414}}],"singleVisual":{"visualType":"slicer","projections":{"Values":[{"queryRef":"icms_office_locfiles.LFSName"}]},"prototypeQuery":{"Version":2,"From":[{"Name":"i","Entity":"icms_office_locfiles"}],"Select":[{"Column":{"Expression":{"SourceRef":{"Source":"i"}},"Property":"LFSName"},"Name":"icms_office_locfiles.LFSName"}]},"drillFilterOtherVisuals":true,"objects":{"data":[{"properties":{"mode":{"expr":{"Literal":{"Value":"'Basic'"}}}}}],"general":[{"properties":{"outlineColor":{"solid":{"color":{"expr":{"ThemeDataColor":{"ColorId":9,"Percent":-0.5}}}}},"outlineWeight":{"expr":{"Literal":{"Value":"7D"}}},"filter":{"filter":{"Version":2,"From":[{"Name":"i","Entity":"icms_office_locfiles"}],"Where":[{"Condition":{"In":{"Expressions":[{"Column":{"Expression":{"SourceRef":{"Source":"i"}},"Property":"LFSName"}}],"Values":[[{"Literal":{"Value":"'HandedBack'"}}]]}}}]}}}}]},"vcObjects":{"title":[{"properties":{"show":{"expr":{"Literal":{"Value":"true"}}},"text":{"expr":{"Literal":{"Value":"'kamil'"}}},"fontColor":{"solid":{"color":{"expr":{"ThemeDataColor":{"ColorId":4,"Percent":-0.25}}}}},"fontSize":{"expr":{"Literal":{"Value":"'19'"}}},"alignment":{"expr":{"Literal":{"Value":"'center'"}}}}}],"border":[{"properties":{"show":{"expr":{"Literal":{"Value":"true"}}},"color":{"solid":{"color":{"expr":{"ThemeDataColor":{"ColorId":3,"Percent":-0.5}}}}},"radius":{"expr":{"Literal":{"Value":"16D"}}}}}]}}},"filters":"[]"},{"x":590.0207325501037,"y":403.3724948168625,"z":3,"width":418.41050449205255,"height":316.682791983414,"config":{"name":"028204d43778cc1da9b2","layouts":[{"id":0,"position":{"x":590.0207325501037,"y":403.3724948168625,"z":3,"width":418.41050449205255,"height":316.682791983414}}],"singleVisual":{"visualType":"slicer","drillFilterOtherVisuals":true,"vcObjects":{}}},"filters":"[]"}],"config":{},"displayOption":1,"width":1280,"height":720}

2 REPLIES 2
Anonymous
Not applicable

Hi kamilamireh,

 

I have experienced these kind of Problems when open my PBI Reports.

 

Always report these kind issues in Power BI Website.

 

https://powerbi.microsoft.com/en-us/support/PBI Open Error.PNG

 

Except this no other way to resolve this issue. 

 

Regards,

Pradeep

v-chuncz-msft
Community Support
Community Support

@kamilamireh ,

 

I can not reproduce the issue, try using the latest version of Power BI Desktop (both 32- and 64-bit versions).

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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