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
Franklin1
Advocate I
Advocate I

Scheduled Refresh is not working with function

Hello everyone,

 

Need your help desperately...

 

I created a report in PBI Desktop.

The data is from Excel file, which is basically 2 columns - Month and URL.

I have created a function (see below) to bring me the number i need from the URL for each month:

 

(url) =>
let
Source = Web.Page(Web.Contents(url)),
#"Expanded Data" = Table.ExpandTableColumn(Source, "Data", {"Column1", "Column2", "Column3", "AAA", "BBB", "CCC", "DDD"}, {"Data.Column1", "Data.Column2", "Data.Column3", "Data.AAA", "Data.BBB", "Data.CCC", "Data.DDD"}),
#"Data CCC" = #"Expanded Data"{20}[Data.CCC],
CCC= #"Data CCC"{1}[CCC],
CCC1= CCC{2}[CCC],
CCC2= CCC1{2}[CCC],
CCC3= CCC2{0}[CCC],
CCC4= CCC3{1}[CCC][DDD]{0}
in
CCC4

 

When i try to schedule a refresh in PBI Service i get an error message:

 

"You can't schedule refresh for this dataset because one or more sources currently don't support refresh"

 

I know that there is an issue with scheduling a refresh when using a function with dynamic parameter.

What i need is your creative minds of a way to walkaround this issue, because i tried and tried but didn't find anything at this point.

 

A HUGE KUDOS for the one who could solve my issue.

 

Thanks a lot!

3 REPLIES 3
tringuyenminh92
Memorable Member
Memorable Member

Hi @Franklin1,

 

So far it's a limitation of PBI for passing parameters in the input of query. You could do workaround by get a list of file in folder by its static link and return list of binary contents. So you could pass the binary content as the input. 

 

1.PNG2.5.PNG2.PNG3.PNG

 

 

If this works for you please accept it as solution and also like to give KUDOS.

Best regards
Tri Nguyen

Thanks a lot.

 

I think your solution is valid when we have a number of excel files located in a folder.

The issue is that the my data is not coming from few excel files located in a folder, but it is coming from a web with a dynamic web address.

On a monthly basis, i update the excel file with the web address for the current month.

 

So taking the list of files in folder is not working.

 

Do you have any other ideas?

 

Thanks a lot!

Hi @Franklin1,

 

Maybe this thread could help. And this blog.

 

Best Regards!

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.