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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
pjose
Helper I
Helper I

Using web as a datasource to JSON data but instead asking to open or save as a JSON source file

Hi all,

 

I have a url which links to JSON data like below.

pjose_0-1606715356080.png

But when I enter this address in the web data source in POwer BI to connect to the JSON data, I get the below screen instead asking whether to save or open as a file with that JSON data in there.

 

pjose_1-1606715408121.png

Can you please help me to understand what I am missing here? I need to use this link to load my JSON data.

 

Thanks in advance. @needhelp 

9 REPLIES 9
PhilipTreacy
Super User
Super User

Hi @pjose 

Earlier you said the problem is with having a second query parameter in my url. It works well with just one query parameter so when you posted this url

https://insync/admin/AxusGroup/?action=FSM&surveyId=7

I was asking if that worked - it has 2 query parameters

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Hi @PhilipTreacy 

 

Sorry about the confusion, it works with

 

https://insync/admin/AxusGroup/?action=FSM

 

but not with

 

https://insync/admin/AxusGroup/?action=FSM&surveyId=7

 

Thank you.

 

 

PhilipTreacy
Super User
Super User

Hi @pjose 

That URL has 2 query parameters- does it result in the json file being downloaded?

I'm afraid that wihout any info for me to understand how the API works, I'm not sure what else I can offer.

Phil


If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Hi @PhilipTreacy 

Thank you for responding. The second query parameter is just to select the right data from the database, it doesn't have any other role.

Sorry, I didn't understand when you say this - "That URL has 2 query parameters- does it result in the json file being downloaded?". What does this mean?

 

Thank you again.

PhilipTreacy
Super User
Super User

Hi @pjose 

Not sure if you are still needing help to query the JSON and use a 2nd query parameter?  Without knowing the API specifications it's hard to assist. Can you point me at any documentation?

It's a bit odd that adding a 2nd query param causes different behaviour, unless that 2nd param actually tells the API to send a file.

Can you share the query without any sensitive info like username and password?

Phil


If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Hi @PhilipTreacy 

 

Thank you for your response. Unfortunately, the API cannot be accessed externally at the moment, but the API URL looks like this.

https://insync/admin/AxusGroup/?action=FSM&surveyId=7

 

Not sure if this would be of any use. But the second parameter don't specify to send a file.

 

Thanks

pjose
Helper I
Helper I

Thank you Phil.

 

I found out that the problem is with having a second query parameter in my url. It works well with just one query parameter, for example https://www.test.com.au/PBI/?q=1234&pe=ui doesn't work for me where as https://www.test.com.au/PBI/?q=1234 works. I made both to return the same data by the way. I would like to add the second query parameter too as I need to deal with different use cases.

PhilipTreacy
Super User
Super User

Hi @pjose 

That pop-up window indcates that the URL is sending a file with the extension .json, that's not the same as sending raw JSON data.

Try opening the URL with Web.Contents or Web.BrowserContents and then process the result.

Phil


If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


pjose
Helper I
Helper I

When I tried to provide the link in Power Query, it showed me the below issue.

 

pjose_0-1606768898439.png

Can anyone please help?

 

Thank you!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.