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
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
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.