Forum Discussion
undefinedPower BI error NULL
- 1 year ago
The latest version of the connector no longer permits the 4th parameter to be null.
Please try the following solution:
Before:
Dynamics365BusinessCentral.ApiContentsWithOptions(null, null, null, null)After:
Dynamics365BusinessCentral.ApiContentsWithOptions(null, null, null, [UseReadOnlyReplica = null])
I've had the same happen to me today - absolute nightmare!
Opened a ticket with Microsoft and they suggested the following (neither of which has resolved the issue)
- Are you utilizing the latest version of Power BI Desktop to ensure compatibility and feature support?
- The dataset might contain null or empty values that the OData connector cannot process as a Record type. So, are there any null or empty values in the source data? If yes, try to remove these values.
So currently manually updating 30+ reports in preparation for tomorrow morning...
- Dejan-Pajk1 year agoAdvocate II
The latest version of the connector no longer permits the 4th parameter to be null.
Please try the following solution:
Before:
Dynamics365BusinessCentral.ApiContentsWithOptions(null, null, null, null)After:
Dynamics365BusinessCentral.ApiContentsWithOptions(null, null, null, [UseReadOnlyReplica = null])- Anonymous1 year agoNot applicable
Hi,
Thanks for the suggested solutions.
null, null, null , [userReadOnlyReplica = null
seems to work,
null, null
Doesn't work with my reports.
Any idea why this connector update/ change wasn't communicated? It has a large effect.
Now I have to update alot of tables in alot of reports.
Any idea if there will be another update to fix this?
Or does anyone have a hint on how to change this in a way other thatn opening all tables from all affected reports in the advanced editor and change the first few lines?
(I'll make a base table with the route to the database and link to this table in all the other tables, like a parameter.
So that when another update is required I only have to change one table) - pdolan_tapco1 year agoFrequent Visitor
Where is the lastest version documentation that tells me this?
- keinshah1 year agoHelper I
How do I change that and where from please?
- virakones1 year agoAdvocate I
In your powerbi desktop report > Transform data > select and highlight your Business Central related query > open Advanced editor > replace the first line as described above > Ok > Close & Apply once updated to all BC related queries
- keinshah1 year agoHelper I
I did remove all NULL values manually. But still it is not working. Let me know if you manage to solve the issue.
- pdolan_tapco1 year agoFrequent Visitor
Before:
Dynamics365BusinessCentral.ApiContentsWithOptions(null, null, null, null)After:
Dynamics365BusinessCentral.ApiContentsWithOptions(null, null, null, [UseReadOnlyReplica = null])