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

extracting values from API column in Power Query

After some steps i have a column with API link. what i want to do is create a new column with values that extracted from API column.

 

Lets say API column is Path. That consists API's. i need to related values for each row of API with new column.

 

 

sample Expected output:

Path Values

API1 18

API2 90

API3 37

 

What i tried:

 

 

I tried to use Invoked function and gives me a 4 fields.

 

ex: 

 

let
LoadData = (player as text) as table=>

let

source=Record.ToTable(Json.Document(Web.Contents("https://....................."&player)))

in
source
in
LoadData

 

 

This return 4 fields.

 

example:

 

domcv_0-1654171744852.png

out of 4 values i only need to get total(item number 4 of above pic) values along with my API caolumn.

 

2 REPLIES 2
negi007
Community Champion
Community Champion

@Anonymous if you wish to extract values from another column, it can be done easily in power query window. in the power query winow, right click on your api column and then select the option "add column from example"  this will create a blank column for you.  in the new column, type 2-3 values that you want as output. Power Query automatically fill other values basis your criteria. 




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



Proud to be a Super User!


Follow me on linkedin

Anonymous
Not applicable

No.  i want to get API assioited values. I tried your approach didnt give the expected result.

 

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.