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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.