Power BI desktop Timeline Slicer was working fine till May 28th, 2019. Yesterday suddenly I am seeing below issue while I click on Month on Timelince slicer and seeing this issue. Please find the below error and attahced image.
Error Message: An error occurred while rendering the report.
Stack Trace: Error: Cannot find module '@powerbi/JsonContracts/json-contracts.module.ngfactory' at ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:54503:21 at ZoneDelegate.invoke (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:57629:176) at Zone.run (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:57493:55) at ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:57899:46 at ZoneDelegate.invokeTask (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:57641:189) at Zone.runTask (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:57525:63) at drainMicroTaskQueue (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:57727:47) at ZoneTask.invokeTask (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:57683:63) at ZoneTask.options.useG.invoke (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:57675:56) at data.args.(anonymous function) (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:58339:41)
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)
I'm seeing the same issue with the TimeLine slicer after updating to 2.70.5494.361 (19.06) (x64) version. The error message displayed is 'Something went wrong, An error occured while rendering the report.' Error details below:
Feedback Type: Frown (Error)
Timestamp: 2019-05-30T22:00:58.1113917Z
Local Time: 2019-05-30T17:00:58.1113917-05:00
Session ID: 7918b0e9-fbc7-4e68-90d4-deba972be4be
Release: June 2019
Product Version: 2.70.5494.361 (19.06) (x64)
Stack Trace: Error: Cannot find module '@powerbi/JsonContracts/json-contracts.module.ngfactory' at ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:54503:21 at ZoneDelegate.invoke (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:57629:176) at Zone.run (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:57493:55) at ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:57899:46 at ZoneDelegate.invokeTask (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:57641:189) at Zone.runTask (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:57525:63) at drainMicroTaskQueue (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:57727:47) at ZoneTask.invokeTask (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:57683:63) at ZoneTask.options.useG.invoke (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:57675:56) at data.args.(anonymous function) (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:58339:41)
OS Version: Microsoft Windows NT 10.0.18362.0 (x64 en-US)
CLR Version: 4.7 or later [Release Number = 528040]
I'm facing the same error, however it is impacting dates from 4/20/19 and beyond for me. The timeline slicer throws the exception in Power BI Desktop, but if I use the out-of-the-box date slicer it also fails but does not throw an exception.
The interesting thing here is that I have multiple tables related to my local calendar table, and some data is rolling up for dates beyond 4/20/19, but I have one related table in particular that does not roll up any data despite working perfectly for all dates prior to 4/20/19.
FWIW, I changed the model of both date columns in the problematic relationship from DATETIME to DATE and it fixed the issue. I no longer get an exception when I filter beyond 4/20/19. That wouldn't be an option for some people, but it will work for my dataset.