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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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