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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Loop through a list and using the values to generate a new table

Hello

 

I'm a newbie in power bi, I am trying to generate a new table using two steps :

 

1. Retrieving initial data needed for the second step.

I use an api call and get a column with 'Id' as follows. In this example, I only have one but I'm supposed to have a much larger list of just Ids

1data_0-1713371714457.png

 

2. Each one on these Ids will then need to be used individually for another api call : "getItem(Id)". So in this case, getItem(414483025). This will then give me a row for my data

 

I want in the end to have a table with all the combined rows, how can I achieve that ? I assume I need a function ? 

 

Thanks a lot!

 

 

 

1 REPLY 1
lbendlin
Super User
Super User

in your table, add a column that calls getitem([Id])  (note the square brackets)

then you can expand that column and grab the fields you need for your final table.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Kudoed Authors