cancel
Showing results for 
Search instead for 
Did you mean: 
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.

View solution in original post

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are You Ready?

Test your skills now with the Cloud Skills Challenge.

Top Solution Authors