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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Responsive Resident
Responsive Resident

PowerBI Service having isssues in data refresh

Hi all,


In PowerBI Desktop i have a function which generates a list of numbers {1,101,201,.....}

I use this list to pass value to "offset" parameter in a Web API.  


This works fine in PowerBI Desktop but not in


I have the below issue while i try to schedule the data refresh. 



I read the below article on how to use the RelativePath but not sure how i can use it in my case.


my codes look like below :


Function : getPage 

(page as text) =>
Source = Json.Document(Web.Contents(" page &"&max=100", [Headers=[Authorization="Bearer PF84_ea939dd2-dd40-4d98-b942-28e87fe4cc1f"]])),
items = Source[items],
#"Converted to Table" = Table.FromList(items, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
#"Expanded Column1" = Table.ExpandRecordColumn(#"Converted to Table", "Column1", {"id", "meetingSeriesId", "scheduledMeetingId", "title", "agenda", "meetingType", "state", "timezone", "start", "end", "hostUserId", "hostDisplayName", "hostEmail", "webLink"}, {"", "Column1.meetingSeriesId", "Column1.scheduledMeetingId", "Column1.title", "Column1.agenda", "Column1.meetingType", "Column1.state", "Column1.timezone", "Column1.start", "Column1.end", "Column1.hostUserId", "Column1.hostDisplayName", "Column1.hostEmail", "Column1.webLink"})
#"Expanded Column1"



Query1 :

List = List.Numbers(1,99,100),
#"Converted to Table" = Table.FromList(List, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
#"Changed Type" = Table.TransformColumnTypes(#"Converted to Table",{{"Column1", type text}}),
#"Invoked Custom Function" = Table.AddColumn(#"Changed Type", "Data", each getPage([Column1])),
#"Expanded Data" = Table.ExpandTableColumn(#"Invoked Custom Function", "Data", {"", "Column1.start"}, {"", "Data.Column1.start"}),
#"Filtered Rows" = Table.SelectRows(#"Expanded Data", each true),
#"Sorted Rows" = Table.Sort(#"Filtered Rows",{{"Data.Column1.start", Order.Ascending}, {"Column1", Order.Ascending}})
#"Sorted Rows"


Community Support
Community Support

Hi @LP2803 ,

Noticed that you have posted simliar issues in the forum, please refer this post:


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


Helpful resources

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.