Forum Discussion
Peter_MTG
3 years agoFrequent Visitor
Powershell : Tabular Object Model, model object is null
I sometimes use PowerShell to quickly alter a set of similar measures in a Power BI dataset. This could be done with this code : [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Analy...
- 3 years ago
I saw that in the report one of the datasources was still using the Power BI dataflows (Legacy) connector. As soon as I switched this one to the Power BI dataflows connector, the model attribute was correctly filled in.
I'm not 100 % using this connector always causes this problem, but at least in this case, replacing it solved the issue.
Peter_MTG
3 years agoFrequent Visitor
I saw that in the report one of the datasources was still using the Power BI dataflows (Legacy) connector. As soon as I switched this one to the Power BI dataflows connector, the model attribute was correctly filled in.
I'm not 100 % using this connector always causes this problem, but at least in this case, replacing it solved the issue.