Forum Discussion

CQRoyal's avatar
CQRoyal
New Member
6 years ago

TypeError: Cannot set property 'valueSourceIndex' of undefined

I use FX Title on Polyline stacking diagram, and the digram have 2 measures on column, 1 measure on row; When I try show data will get a error message : TypeError: Cannot set property 'valueSourceIndex' of undefined

3 Replies

    • CQRoyal's avatar
      CQRoyal
      New Member

      Thank you for reply. below are error message from powerbi desktop. BTW my desktop version is 2.72.5556.701

       

      Feedback Type:
      Frown (Error)

      Error Message:
      呈现报表时出错了。

      Stack Trace:
      TypeError: Cannot set property 'valueSourceIndex' of undefined
      at ms-pbi://pbi.microsoft.com/minerva/scripts/visuals.js:10365:60
      at cloneTreeExecuteOnLeaf (ms-pbi://pbi.microsoft.com/minerva/scripts/visuals.js:10630:36)
      at Object.cloneTreeExecuteOnLeaf (ms-pbi://pbi.microsoft.com/minerva/scripts/visuals.js:10626:44)
      at projectIntersectionValues (ms-pbi://pbi.microsoft.com/minerva/scripts/visuals.js:10343:69)
      at projectMeasures (ms-pbi://pbi.microsoft.com/minerva/scripts/visuals.js:10318:122)
      at Object.apply (ms-pbi://pbi.microsoft.com/minerva/scripts/visuals.js:10299:68)
      at applyProjectionOrder (ms-pbi://pbi.microsoft.com/minerva/scripts/visuals.js:11476:79)
      at transformDataView (ms-pbi://pbi.microsoft.com/minerva/scripts/visuals.js:11447:31)
      at transformQueryToVisualDataView (ms-pbi://pbi.microsoft.com/minerva/scripts/visuals.js:11419:66)
      at Object.apply (ms-pbi://pbi.microsoft.com/minerva/scripts/visuals.js:11394:447)

      Stack Trace Message:
      呈现报表时出错了。

      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:
      Cannot set property 'valueSourceIndex' of undefined

      Model Default Mode:
      Import