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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
jerryfalcobi
New Member

issue with backslash in query

Hi all, If i use relative path in my power query i have some trouble with a backslash. In this case i have a web API like https://thewebsite.com:8800/data? when i use as source https://thewebsite.com/ and as RelativePath=":8800/data?" the query editor adds a backslash between the com and :8800. How can i remove that backslash?
I want refresh the data automatically. Thats why i use the relativepath

1 ACCEPTED SOLUTION
Rayshin
Memorable Member
Memorable Member

Hi @jerryfalcobi 
maybe this help.

https://blog.crossjoin.co.uk/2016/08/16/using-the-relativepath-and-query-options-with-web-contents-i...

let
    searchText = "Power Query"
in
    Web.Contents(
        "https://www.bing.com",
        [
            RelativePath = "search",
            Query = [q = searchText]
        ]
    )

 

View solution in original post

1 REPLY 1
Rayshin
Memorable Member
Memorable Member

Hi @jerryfalcobi 
maybe this help.

https://blog.crossjoin.co.uk/2016/08/16/using-the-relativepath-and-query-options-with-web-contents-i...

let
    searchText = "Power Query"
in
    Web.Contents(
        "https://www.bing.com",
        [
            RelativePath = "search",
            Query = [q = searchText]
        ]
    )

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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