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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
vincentnoot
Resolver I
Resolver I

RelativePath performance

Hi,

 

For my use case, I've implemented using RelativePath to allow for automated refresh in the Power BI service with my dynamic data source. This works perfectly, but RelativePath seems to have slowed down my query very significantly. Is this a known issue? Can I do something to optimize this? The 1 second InvokeAfter is there because the API allows for  a maximum of 60 calls per minute. Before RelativePath, I got approximately those 60 calls per minute. Now, it's slowed to about 20 calls per minute.

 

(Spct_Timetable as number) as table =>

let
Source = Function.InvokeAfter( () => Json.Document(Web.Contents("https://customer.application.com/", [RelativePath="api/v2/hrm/timetable?offset=" & Number.ToText(Spct_Timetable) & "&limit=100", Headers=[#"Authentication-Key"="xxxxxx", #"Authentication-Secret"="xxxxx"]])),#duration(0,0,0,1)),
data = Source[data],
#"Converted to Table" = Table.FromList(data, Splitter.SplitByNothing(), null, null, ExtraValues.Error)
in
#"Converted to Table"

 

1 ACCEPTED SOLUTION
v-xulin-mstf
Community Support
Community Support

Hi @vincentnoot

 

It is not clear how to optimize the performance consumption of the RelativePath, you can optimize the performance for the report as a whole.

You can refer:

https://docs.microsoft.com/en-us/power-bi/guidance/power-bi-optimization

 

Best Regards,

Link

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-xulin-mstf
Community Support
Community Support

Hi @vincentnoot

 

It is not clear how to optimize the performance consumption of the RelativePath, you can optimize the performance for the report as a whole.

You can refer:

https://docs.microsoft.com/en-us/power-bi/guidance/power-bi-optimization

 

Best Regards,

Link

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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