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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
skorpionaa
Helper I
Helper I

Data From API to PowerBI

0

I have API link which i want to b in power bi but i need to separate header name from data how can i do that in power bi

you can see the picture

https://coronavirus-19-api.herokuapp.com/countries
i tried split columns function in but still not working please anyone can help me on this ASAP

country , death and so on they are header
 
 

 Capture.PNG

 

1 ACCEPTED SOLUTION
sturlaws
Resident Rockstar
Resident Rockstar

Hi, @skorpionaa,

 

try this:

step 1 - import data using the Web connector, this should result in this:
image.png

step 2 - Click the 'Convert to table'-button, and choose separator = None:
image.png

 

which should result in this:
image.png

 

Step 3 - Click on the expand button encircled in blue in screenshot above. This should yield this:
image.png

 

All column names are prefixed with Column1., but it will be a onetime operation to change the column names.

Cheers,
Sturla

If this post helps, then please consider Accepting it as the solution. Kudos are nice too.

View solution in original post

1 REPLY 1
sturlaws
Resident Rockstar
Resident Rockstar

Hi, @skorpionaa,

 

try this:

step 1 - import data using the Web connector, this should result in this:
image.png

step 2 - Click the 'Convert to table'-button, and choose separator = None:
image.png

 

which should result in this:
image.png

 

Step 3 - Click on the expand button encircled in blue in screenshot above. This should yield this:
image.png

 

All column names are prefixed with Column1., but it will be a onetime operation to change the column names.

Cheers,
Sturla

If this post helps, then please consider Accepting it as the solution. Kudos are nice too.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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