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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors
Top Kudoed Authors