Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Anyone an idea how to solve this problem: Don't have a support for visit of 'Model' type!

I get this error when trying to update my powerquery, also undid the latest steps but it doesn't solve the issue.

Feedback Type:
Frown (Error)

Timestamp:
2023-03-23T14:52:27.0837834Z

Local Time:
2023-03-23T15:52:27.0837834+01:00

Session ID:
5c727040-8c03-40e3-9507-5b20881e0579

Release:
March 2023

Product Version:
2.115.663.0 (x64)

Stack Trace:
System.NotImplementedException
bij Microsoft.PowerBI.Tabular.Utilities.DefaultObjectTypeVisitor`1.VisitDefault(MetadataObject object)
bij Microsoft.PowerBI.Modeling.Engine.DataModel.ModelObjectConverter.ModelProxyConversionVisitor.Visit(Model model)
bij Microsoft.PowerBI.Tabular.Utilities.MetadataObjectExtensions.Accept[T](MetadataObject obj, IObjectTypeVisitor`1 visitor)
bij Microsoft.PowerBI.Modeling.Engine.DataModel.ModelObjectConverter.Convert[T](MetadataObject metadataObject, DataModelState dataModelState)
bij Microsoft.PowerBI.Modeling.Engine.DataModel.Utilities.DataModelExtensions.GetDataModel(IMetadataObject metadataObject)
bij Microsoft.PowerBI.Modeling.Engine.DataModel.Utilities.DataModelExtensions.GetLastLoadedV3FormulaTextCollection(ITable table)
bij Microsoft.PowerBI.Modeling.Engine.Loader.LoadToModelImpactAnalyzer.Visit(ISimpleQueryMappingInput input)
bij Microsoft.PowerBI.Modeling.Engine.Loader.LoadToModelImpactAnalyzer.GetImpactAnalysisWarnings(ModelingMashupDocument mashupDocument, IModelingSession modelingSession, IModelingQueryServices refreshPolicyService, TableInputToQueryMap tableInputToQueryMap)
bij Microsoft.PowerBI.Modeling.Engine.Loader.PowerQueryToModelLoader.PerformLoadInternal(IExtendedModelChangeScope modelChangeScope, IRelationshipLoader relationshipLoader, IModelingQueryServices queryServices, ModelSchemaSyncContext modelSchemaSyncContext, Boolean skipImpactAnalysisWarning)
bij Microsoft.PowerBI.Modeling.Engine.Loader.PowerQueryToModelLoader.<>c__DisplayClass20_0.<PerformLoadAsync>b__3()
bij System.Threading.Tasks.Task`1.InnerInvoke()
bij System.Threading.Tasks.Task.Execute()
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bij Microsoft.PowerBI.Client.Windows.Modeling.Hosting.ModelingTelemetryService.<>c__DisplayClass8_0`1.<<RunInAsyncActivity>b__0>d.MoveNext()
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bij Microsoft.PowerBI.Client.Windows.Modeling.Hosting.ModelingTelemetryService.<RunInAsyncActivity>d__7.MoveNext()
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bij Microsoft.PowerBI.Client.Windows.Modeling.Hosting.ModelingTelemetryService.<RunInAsyncActivity>d__8`1.MoveNext()
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bij Microsoft.PowerBI.Modeling.Engine.Loader.LoadToReportFlow.<PerformLoadToAnalysisServices>d__18.MoveNext()
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bij Microsoft.PowerBI.Modeling.Engine.Loader.LoadToReportFlow.<ExecuteInternal>d__13.MoveNext()
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bij Microsoft.PowerBI.Modeling.Engine.Loader.LoadToReportFlow.<Execute>d__12.MoveNext()
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bij Microsoft.PowerBI.Modeling.Engine.ModelingEngine.<LoadModelAsyncInternal>d__10.MoveNext()
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bij Microsoft.PowerBI.Client.Windows.Modeling.Hosting.ModelingTelemetryService.<>c__DisplayClass8_0`1.<<RunInAsyncActivity>b__0>d.MoveNext()
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bij Microsoft.PowerBI.Client.Windows.Modeling.Hosting.ModelingTelemetryService.<RunInAsyncActivity>d__7.MoveNext()
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bij Microsoft.PowerBI.Client.Windows.Modeling.Hosting.ModelingTelemetryService.<RunInAsyncActivity>d__8`1.MoveNext()
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bij Microsoft.PowerBI.Client.Windows.Modeling.Hosting.DesktopModelingHost.<>c__DisplayClass16_0.<<LoadToModel>b__1>d.MoveNext()
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bij Microsoft.PowerBI.Modeling.Engine.Authoring.AsyncModelAuthoringService.<>c__DisplayClass11_0.<<RunExtendedModelChangeAsync>b__0>d.MoveNext()
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bij Microsoft.PowerBI.Modeling.Engine.Authoring.AsyncModelAuthoringService.<ContinueWithAsyncOperation>d__14.MoveNext()
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bij Microsoft.PowerBI.Client.Windows.Modeling.Hosting.DesktopModelingHost.<LoadToModel>d__16.MoveNext()
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bij Microsoft.PowerBI.Client.Windows.FloatingDialog.KoLoadToReportDialog.<>c__DisplayClass34_0.<<StartLoadToReportFlow>b__0>d.MoveNext()
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bij Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<HandleAwaitableAsyncExceptions>d__1.MoveNext()

PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.115.663.0","ModuleName":"Microsoft.PowerBI.Tabular.Utilities.dll","Component":"Microsoft.PowerBI.Tabular.Utilities.DefaultObjectTypeVisitor`1","Error":"System.NotImplementedException","MethodDef":"VisitDefault","ErrorOffset":"26"}

OS Version:
Microsoft Windows NT 10.0.19044.0 (x64 en-US)

CLR Version:
4.8 or later [Release Number = 528372]

Peak Virtual Memory:
72 GB

Private Memory:
1.49 GB

Peak Working Set:
1.18 GB

IE Version:
11.789.19041.0

User ID:
a161868d-c582-4fe7-a087-130c58f0c597

Workbook Package Info:
1* - nl-NL, Query Groups: 0, fastCombine: Disabled, runBackgroundAnalysis: True.

Telemetry Enabled:
True

Model Default Mode:
Import

Model Version:
PowerBI_V3

Enabled Preview Features:
PBI_enableWebView2
PQ_WebView2Connector
PBI_sparklines
PBI_scorecardVisual
PBI_fieldParametersSuperSwitch
PBI_horizontalFusion
PBI_relationshipEditPane
PBI_setLabelOnExportPdf

Disabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_SpanishLinguisticsEnabled
PBI_qnaLiveConnect
PBI_azureMapVisual
PBI_compositeModelsOverAS
PBI_b2bExternalDatasetSharing
PBI_enhancedTooltips
PBI_NlToDax
PBI_optimizeTabRibbon
PBI_angularRls
PBI_onObject

Disabled DirectQuery Options:
TreatHanaAsRelationalSource

Cloud:
GlobalCloud

DPI Scale:
100%

Supported Services:
Power BI

Status: Investigating

Hi all,

 

Can anyone who has encountered this problem tell me how to trigger this error. I tried to reproduce the problem but was unable to do so.

Power BI released the latest version 2.115.842.0 64-bit (March 2023) a few days ago, please download it to see if the problem still exists.

 

Download Microsoft Power BI Desktop from Official Microsoft Download Center

 

Best regards.
Community Support Team_ Caitlyn

Comments
Syuhas
New Member

I ran into this issue and it was the result of conerting date time fields without first converting blank to null. 

 

khadv6
New Member

Hi @v-xiaoyan-msft ,

I got the same issues when I changed the format of a column from Default to Text and then to Date but when I clicked Apply changes it showed Data raw don't have a support for visit of 'model' type as below image Issue data raw don't have a support for visit of 'model' type.png

A part of Detail issue is: 

Feedback Type:
Frown (Error)

Error Message:
Don't have a support for visit of 'Model' type!

Stack Trace:
System.NotImplementedException
at Microsoft.PowerBI.Tabular.Utilities.DefaultObjectTypeVisitor`1.VisitDefault(MetadataObject object)
at Microsoft.PowerBI.Modeling.Engine.DataModel.ModelObjectConverter.ModelProxyConversionVisitor.Visit(Model model)
at Microsoft.PowerBI.Tabular.Utilities.MetadataObjectExtensions.Accept[T](MetadataObject obj, IObjectTypeVisitor`1 visitor)
at Microsoft.PowerBI.Modeling.Engine.DataModel.ModelObjectConverter.Convert[T](MetadataObject metadataObject, DataModelState dataModelState)
at Microsoft.PowerBI.Modeling.Engine.DataModel.Utilities.DataModelExtensions.GetDataModel(IMetadataObject metadataObject)
at Microsoft.PowerBI.Modeling.Engine.DataModel.Utilities.DataModelExtensions.GetLastLoadedV3FormulaTextCollection(ITable table)
at Microsoft.PowerBI.Modeling.Engine.Loader.LoadToModelImpactAnalyzer.Visit(ISimpleQueryMappingInput input)
at Microsoft.PowerBI.Modeling.Engine.Loader.LoadToModelImpactAnalyzer.GetImpactAnalysisWarnings(ModelingMashupDocument mashupDocument, IModelingSession modelingSession, IModelingQueryServices refreshPolicyService, TableInputToQueryMap tableInputToQueryMap)
at Microsoft.PowerBI.Modeling.Engine.Loader.PowerQueryToModelLoader.PerformLoadInternal(IExtendedModelChangeScope modelChangeScope, IRelationshipLoader relationshipLoader, IModelingQueryServices queryServices, ModelSchemaSyncContext modelSchemaSyncContext, Boolean skipImpactAnalysisWarning)
at Microsoft.PowerBI.Modeling.Engine.Loader.PowerQueryToModelLoader.<>c__DisplayClass20_0.<PerformLoadAsync>b__3()


My Power BI Desktop version: 2.116.622.0 64-bit (April 2023)
Please check for me.

Thank you!
Kha

RoisinMc
New Member

I got this error after changing the data type of column

DavidSmith3
New Member

I had the same issue after splitting a date/time column. 

 

After not being able to figure out what caused the issue, I closed Power Bi and reopened the report. When I hit refresh, it captured my changes with no errors. 

 

I'm not sure what's causing this.

JuanPa
Regular Visitor

Hi

 

Copy the pbix file to another one with the same name and try to refresh it again. I solved this issue in that way.

 

Regards

lazypaintballer
New Member

following for a solution!

PierreCrunch
Frequent Visitor

Hello, 

 

I received this error after using the "Enter Data" Field in PBI Desktop. I simply manually entered two columns of data e.g.:

Very good                    1

Good                            2

Average                        3

 

chrisw14
New Member

Problem exists also for me. Any solution for this?

 

"Don't have a support for visit of 'Model' type!"