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
Anonymous
Not applicable

Querying json

Hi and thanks for all the support so far!

 

Another question, this time about querying from an application that generates data in json format. Is it possible at all? Or do you need to create a script in another application and then import data from a generated json file into PowerBI?

I've recieved this from the software supplier (edited):

 

# Authentication

curl --silent --cookie-jar cookies.txt --data-urlencode "username=ttr" --data-urlencode "password=osj" https://abc.com/login > /dev/null

 

# Get ST by ID

curl --cookie cookies.txt --header "Content-Type: application/json" --request GET https://abc.com/rest/json/1234 > results.json

 

# Log out

curl --cookie cookies.txt https://abc.com/logout

6 REPLIES 6
v-kelly-msft
Community Support
Community Support

Hi  @Anonymous ,

 

Try to connect "Web"-"advanced",then fill in as below:

vkellymsft_0-1624960593496.png

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

amitchandak
Super User
Super User

@Anonymous , You can connect directly to a source that return json.  or are looking for connectivity using json input ?

refer my video  :how to use json data

https://www.youtube.com/watch?v=MPYfEetvFH4

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak this video is about importing from json file. I am looking for ways to create a connection to this source above and import the data.

Hi  @Anonymous ,

 

Import is a way to connect json files,so what do you actually wanna do?

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

Anonymous
Not applicable

@v-kelly-msft  hi 🙂 I guess I am looking for a way to import this data using those three lines (presume it's API, but this is the only info they could provide me with)

Anonymous
Not applicable

Hi @amitchandak I would like to create a connection to this source above and import the data

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.