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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Vialle_Diego
Frequent Visitor

How to use Relative Path ?

I'm using an API to bring the state and city columns according to my zip code column. However, to enable auto-scheduling in Power BI Service, I need to use the Relative Path function in Power Query. How to use ?

 

Vialle_Diego_0-1659384381908.png

"This dataset includes a dynamic data source. Since dynamic data sources are not updated in the Power BI service, this dataset will not be updated."

Vialle_Diego_1-1659384764781.png

Vialle_Diego_2-1659385546632.png

 

1 ACCEPTED SOLUTION

 

I found the answer:

Json.Document(Web.Contents("https://brasilapi.com.br/api/cep/v1/",[RelativePath = [CEP]]))

 

View solution in original post

2 REPLIES 2
jbwtp
Memorable Member
Memorable Member

Hi @Vialle_Diego,

 

Interesting... I am sure I used to be able to do paginating HTTP requests in PBI.

Do you want to try to create a separate column which would be complete URL, rather than combining it in the Web.Content function? Maybe this can help.

 

Kind regards,

John 

 

I found the answer:

Json.Document(Web.Contents("https://brasilapi.com.br/api/cep/v1/",[RelativePath = [CEP]]))

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.