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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
deevs
Helper III
Helper III

Scheduled refresh doesn't with parameters

Doesn’t anyone know a work around to enable schedule refresh with parameters.
i have few tables pulling data using a parameter. below is the M code for one function and then the M function for the processed data.

 

Any help would be greatly appreciated.
image.pngimage.png

2 REPLIES 2
lbendlin
Super User
Super User

Those are not parameters.  You are trying to run a completely random URL extract (as far as Power Query is concerned).  Scheduled refresh expects a "base" URL that stays constant, and parameters would only be used to modify the rest of the URL.

 

In your case you would need to hard code the CLIENT part to make it work, and likely do that in a normal query rather than in a function.

I have hard coded that in the function but still it wouldn’t work.

Can’t think of any other way to get his done without having to use a function. Can you suggest any ?

At the moment what’s happening is that there is a look up table that pulls from API and then using a function to iterate each entity through API.

image.pngimage.png

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors