power bi shows error when starts[Docs]
/solution-accelerators/tutorials/view-analytics/3-open-template/
Feedback Type: Frown (Error)
Error Message: Unrecognized JSON property: retainDataTillForceCalculate. Check path 'model.tables[13].partitions[0].retainDataTillForceCalculate', line 6874, position 43.
Stack Trace: at Microsoft.PowerBI.Client.Windows.Storage.FileOpenError.HandleError(IWindowService windowService, LocalizedString title) at Microsoft.PowerBI.Client.Windows.Services.TemplateManager.TryImportTemplate(IPowerBIWindowService windowService, IQueryServices queryServices, IExceptionHandler exceptionHandler, TelemetryUserActionId entryPoint, Boolean& editQueries, String filePath) at Microsoft.PowerBI.Client.Windows.Commands.ApplicationCommands.DataImportCommands.ImportTemplate(IPowerBIWindowService windowService, IExceptionHandler exceptionHandler, ImportTemplateParameters parameters) at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
Stack Trace Message: Unrecognized JSON property: retainDataTillForceCalculate. Check path 'model.tables[13].partitions[0].retainDataTillForceCalculate', line 6874, position 43.
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.1.<Execute>d__5.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.Practices.Prism.Commands.DelegateCommand1.Execute(T parameter)
at Microsoft.PowerBI.Client.Windows.Commands.CompositeCommand1.Execute(ICommand command, Object parameter)
at Microsoft.Practices.Prism.Commands.CompositeCommand.Execute(Object parameter)
at Microsoft.PowerBI.Client.Windows.Commands.CompositeCommand1.Execute(T parameter)
at Microsoft.PowerBI.Client.Program.<>c__DisplayClass1_7.<1 asyncFunc)
at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<HandleAsyncExceptions>d__0.MoveNext()
at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.HandleAsyncExceptions(IExceptionHandler exceptionHandler, Func1 asyncFunc)
at Microsoft.PowerBI.Client.Windows.MainWindow.
PowerBINonFatalError: {"AppName":"PBIDesktop","AppVersion":"2.83.5894.421","ModuleName":"Microsoft.PowerBI.Client.Windows.dll","Component":"Microsoft.PowerBI.Client.Windows.Storage.FileOpenError","Error":"Microsoft.AnalysisServices.JsonSerializationException","MethodDef":"HandleError","ErrorOffset":"76"}
Snapshot Trace Logs: C:\Users\assamal\Microsoft\Power BI Desktop Store App\FrownSnapShot1320207347.zip
Model Default Mode: Empty
Model Version: PowerBI_V1
Is Report V3 Models Enabled: True
Performance Trace Logs: C:\Users\assamal\Microsoft\Power BI Desktop Store App\PerformanceTraces.zip
Enabled Preview Features: PBI_NewWebTableInference PBI_v3ModelsPreview
Disabled Preview Features: PBI_shapeMapVisualEnabled PBI_SpanishLinguisticsEnabled PBI_qnaLiveConnect PBI_inlineExplore PBI_dataSearchCuration PBI_azureMapVisual
Disabled DirectQuery Options: TreatHanaAsRelationalSource
Cloud: MSIT
Formulas:
section Section1;
Thanks for the feedback! I will follow up with this after investigating.
+1
I solved it by uninstalling old version of powerbi and downloading the latest version of PowerBI.
Thanks @ashoksamal6363, can you share what specific version of Power BI Desktop you are using? From my testing:
Latest v2.83.5894.442 64-bit (July 2020): ERRORS with above message. Installed as a Microsoft Store app.
v2.82.5858.1161 64-bit (June 2020): SUCCESS. Installed as executable desktop application.
Uninstalled and reinstalled Power BI Desktop (Microsoft Store app v2.83.5894.442) - same error message. Installed as executable desktop app (v2.82.5858.1161), it works now. For some odd reason, I am now facing issues with authentication which I have logged here:- https://github.com/microsoft/botframework-solutions/issues/3245.
@ryanlengel @samaea how were you able to download the v2.82.5858.1161 version. It seems the download link posted above only lets you download the 2.83.5894.442 desktop app. Is there some other portal where you can download older versions of PowerBI? I found this source https://chocolatey.org/packages/PowerBI/2.82.5858.1161#discussion but even when you add the version to the CLI command it still downloads the latest release.
Closing this issue as it is being tracked here https://github.com/microsoft/botframework-solutions/issues/3591
Note: the link above has guidance on installing an updated template that works with the latest version of PowerBI