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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Lund
Frequent Visitor

Can autoupdata my data on Power Bi Web

Hi

 

I have build a Power Bi Report with data from Business Central.

Unfornutnalty after publishing, i found out i can't get my report to schedule update and get this error:

 

You cannot schedule refresh of this semantic model because the following data sources currently do not support refresh:
Data source for Query1

 


We have 4 companies in business central, and found this way to get Query data from BC the best way.

First i have a FX like this

 

= (companyName as text) =>
let
    BaseUrl = "https://api.businesscentral.dynamics.com/v2.0/XXXXXXX/XXXXXXX/ODataV4/Company('" & companyName & "')/PBI_Customer",
    Source = OData.Feed(BaseUrl, null, [Implementation="2.0"])
in
    Source

 


I call that to get my data

 

let
    Companies = #"Company",
    
    Data = Table.AddColumn(Companies, "", each GetCustomer([Company])),
    #"Udvidet " = Table.ExpandTableColumn(Data, "", {"no", "Bill_to_Customer_No_", "name", "address", "address2", "postCode", "city", "salespersonCode", "customerPriceGroup", "Selek_Budget", "Currency_Code", "E_Mail"}, {"no", "Bill_to_Customer_No_", "name", "address", "address2", "postCode", "city", "salespersonCode", "customerPriceGroup",  "Currency_Code", "E_Mail"}),
    #"Added Custom" = Table.AddColumn(#"Udvidet ", "CustomerLink", each [Company] & "|" & [no] )
in
    #"Added Custom"

 


I get data and update in Power Bi Desktop like as a charm.

What can i do, so i can autouodata data fra BC in Power Bi Web ?

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @Lund ,

 

The problem is that OData is not supported for the schedulle refresh use in a parameter.

 

Check this post that points out to several links:

https://community.fabric.microsoft.com/t5/Power-Query/Cannot-set-scheduled-refresh-for-odata-with-pa...

 

https://blog.crossjoin.co.uk/2023/01/15/using-odata-feed-and-the-query-option-to-avoid-the-dynamic-d...

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

1 REPLY 1
MFelix
Super User
Super User

Hi @Lund ,

 

The problem is that OData is not supported for the schedulle refresh use in a parameter.

 

Check this post that points out to several links:

https://community.fabric.microsoft.com/t5/Power-Query/Cannot-set-scheduled-refresh-for-odata-with-pa...

 

https://blog.crossjoin.co.uk/2023/01/15/using-odata-feed-and-the-query-option-to-avoid-the-dynamic-d...

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.