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.

0

.pbix Desktop File using PowerBI Service datasets creates errors, if opened on another PC.

 

 

I have created a new PowerBI Desktop Report, which uses the Power BI Services (Preview) as source.

I'm using also some custom visuals like Power KPI.

 

Everything works fine, if you just work on the same PC/Notebook.

 

After copying the .pbix file to another computer with an up-to-date version of PowerBI Desktop installed, opening this file causes errors. If you just ignore all those errors, the data shown is actually also refreshed with the dataset from the linked PowerBI dataset. Also the custom visuals are there and their content is updated after each filter change or refresh accordingly.

 

But the errors raise again with every data change (filtering, refresh) mentioning following error context.
Also switching between the languages (germand <-> english) doesn't resolve the issue.

 

Microsoft.Mashup.Host.Document.JavaScriptException: Fehler beim Rendern des Berichts.
TypeError: Cannot read property 'type' of undefined

 

Underneath you find the full PowerBI error dump.

 

 

What my cause this issue and how can it be resolved ?

 

With best regards

Michael

 

---------------------------------------------

 

Feedback Type:
Frown (Error)

Timestamp:
2017-07-20T14:31:29.9081441Z

Local Time:
2017-07-20T16:31:29.9081441+02:00

Product Version:
2.48.4792.721 (PBIDesktop) (x64)

Release:
July 2017

IE Version:
11.0.9600.18053

OS Version:
Microsoft Windows NT 6.3.9600.0 (x64 de-DE)

CLR Version:
4.6.1 or later [Release Number = 394271]

Workbook Package Info:
1* - de-CH, Query Groups: 0, fastCombine: Enabled, runBackgroundAnalysis: True.

Peak Working Set:
604 MB

Private Memory:
489 MB

Peak Virtual Memory:
33.9 GB

JS Error Message:
Cannot read property 'type' of undefined

Error Message:
Fehler beim Rendern des Berichts.

Stack Trace:
Microsoft.Mashup.Host.Document.JavaScriptException: Fehler beim Rendern des Berichts.
TypeError: Cannot read property 'type' of undefined
    at _loop_6 (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:11453:51)
    at createResult (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:11496:71)
    at VisualQueryGenerator.execute (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:11669:41)
    at ExploreVisualDataProxyService.generateQuery (ms-pbi://pbi.microsoft.com/minerva/scripts/exploreui.js:19839:147)
    at ms-pbi://pbi.microsoft.com/minerva/scripts/exploreui.js:12444:237
    at processQueue (ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:16606:28)
    at ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:16622:27
    at Scope.$eval (ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:17913:28)
    at Scope.$digest (ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:17727:31)
    at HTMLDivElement.<anonymous> (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbicommon.js:21610:92)

Invocation Stack Trace:
   bei Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
   bei Microsoft.Mashup.Client.ClientShared.StackTraceInfo..ctor(String exceptionStackTrace, String invocationStackTrace)
   bei Microsoft.Mashup.Client.ClientShared.FeedbackErrorInfo..ctor(String message, Nullable`1 errorCode, String requestId, Exception exception)
   bei Microsoft.Mashup.Client.ClientShared.UnexpectedExceptionHandler.<>c__DisplayClass1.<HandleException>b__0()
   bei Microsoft.Mashup.Host.Document.SynchronizationContextExtensions.<>c__DisplayClass3.<SendAndMarshalExceptions>b__0(Object null)
   bei System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   bei System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   bei System.Delegate.DynamicInvokeImpl(Object[] args)
   bei System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   bei System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   bei System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   bei System.Windows.Forms.Control.InvokeMarshaledCallbacks()
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   bei System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
   bei Microsoft.Mashup.Client.ClientShared.WindowManager.ShowDialog[T](T form, IWin32Window owner)
   bei Microsoft.PowerBI.Client.Program.<>c__DisplayClassd.<Main>b__0()
   bei Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
   bei Microsoft.PowerBI.Client.Program.Main(String[] args)


User ID:
2cdb7fb5-135c-4017-a20e-22a502cedade

Session ID:
2904f79c-a1b3-4669-93a5-0bd890f9d61e

Telemetry Enabled:
True

AS Live Connection:
True

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

Enabled Preview Features:
PBI_PbiServiceLiveConnect

Disabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_EnableReportTheme
PBI_numericSlicerEnabled
PBI_SpanishLinguisticsEnabled
PBI_daxTemplatesEnabled
CustomConnectors

Disabled DirectQuery Options:
PBI_DirectQuery_Unrestricted

Cloud:
GlobalCloud

DPI Scale:
100%

Supported Services:
Power BI

Formulas:


section Section1;

Status: Delivered
Comments
v-haibl-msft
Employee

@ibax

 

I cannot repro the same issue on my side. I suggest you to create a support ticket at http://support.powerbi.com (see bottom of page).
If issue is resolved, you can share the solution here later to help others who have the same problem.

 

Support Ticket.gif

 

Best Regards,
Herbert

ibax
Frequent Visitor

Dear Herbert

 

I found the root cause for the issue. It was not a copy or re-opening issue across multiple PCs.

 

I had a line diagram in the dashboard, where the axis dimension referred to a dimension hierarchy, but the referenced attribute name was no longer in the dialog field. 

However after re-assigning the attribute to the axis field again, everything was working fine.
I cannot explain or reproduce the disappearing of this value for the visual line diagram.
Maybe a minor (and acceptable) bug in the visual in combination with saving a desktop file causes this behavior...

 

Thank you for your help

Vicky_Song
Impactful Individual
Status changed to: Delivered