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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.