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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors