Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
1. The data was moved from the database to a Power BI dataflow.
2. The Power BI PBIX file is connected to the Power BI dataflow as the data source.
3. When refreshing the Power BI PBIX file from the desktop, the data refreshes successfully.
4. However, the scheduled refresh on the Power BI service is failing, despite using the same dataflow source.
Please Advise on How to Resolve
Hello @bientution ,
if it's related to this error
The OData connector failed with the following error: We cannot convert the value null to type Record
then you need to change something in Power query => advanced editor
ave you tried the fix on the below link?
https://www.reddit.com/r/PowerBI/comments/1f7yadg/data_conversion_error_on_refresh/
We encountered the same error and by adjusting the 4th parameter on the API call, the problem went away
Before:
Dynamics365BusinessCentral.ApiContentsWithOptions(null, null, null, null)
After:
Dynamics365BusinessCentral.ApiContentsWithOptions(null, null, null, [UseReadOnlyReplica = null])
Proud to be a Super User! | |
Sorry, I have edited the post and included the correct issue
yes, @bientution
if the error is like this one The OData connector failed with the following error: We cannot convert the value null to type Record
then you need to check the advanced editor of each table in your data flow and if it's reading from an api then you should adjust it as the following
efore:
Dynamics365BusinessCentral.ApiContentsWithOptions(null, null, null, null)
After:
Dynamics365BusinessCentral.ApiContentsWithOptions(null, null, null, [UseReadOnlyReplica = null])
you need to add in the last parameter instead of null to [UseReadOnlyReplica = null]
Proud to be a Super User! | |
Hi @bientution
If Power BI scheduled refresh is failing in the service while the desktop refresh with the dataflow works,
I think reason is an issue with the on-premises data gateway configuration or permissions on the Power BI service side, like incorrect credentials, gateway not running. Pls check this before scheduling refresh.
Pls check with this urls
https://community.fabric.microsoft.com/t5/Service/Scheduled-Refresh-not-updating-with-latest-data-de...
Sorry, I have edited the post and included the correct issue
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
25 | |
18 | |
18 | |
13 | |
12 |
User | Count |
---|---|
35 | |
22 | |
21 | |
18 | |
12 |