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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

Loop in table and send in API

Hi

I need to get the ID from the jira_boards table, I select with red.

How can I create a Loop?

Exist foreach in Power BI?

 

Query:

jira_sprintsjira_sprints

 

Table: jira_boards

jira_boardsjira_boards

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous 

I think list.generate is one way refer :

https://potyarkin.ml/posts/2017/loops-in-power-query-m-language/

https://community.powerbi.com/t5/Desktop/Power-Query-M-function-LOOP/td-p/252188

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

Is this problem sloved? 
If it is sloved, could you kindly accept it as a solution to close this case and help the other members find it more quickly?
If not, please feel free to let me know.
 
Best Regards
Maggie
amitchandak
Super User
Super User

@Anonymous 

I think list.generate is one way refer :

https://potyarkin.ml/posts/2017/loops-in-power-query-m-language/

https://community.powerbi.com/t5/Desktop/Power-Query-M-function-LOOP/td-p/252188

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.