This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hi, im tryinng to do a Loop to invoke a function with all values from other table as parameter (many times as necessary), to clarify:
I have this table with people ID:
and y have created my function to works with this ID's as parameter:
here is an example with the employee ID: 5894
So all i need to do is to generate a list than can automatically take all the values from the first table and one by one invoke the function and capture this data in the same query.
I tried to do my best with my english. Thank you very much for your help!
Solved! Go to Solution.
Hi @Anonymous ,
Can't you just add a new custom column to your employee number table and enter your function as the column calculation?
PQ would automatically use the employee number on each row to calculate.
And your English is great 🙂
Pete
Proud to be a Datanaut!
Hi @Anonymous ,
Can't you just add a new custom column to your employee number table and enter your function as the column calculation?
PQ would automatically use the employee number on each row to calculate.
And your English is great 🙂
Pete
Proud to be a Datanaut!
That works perfectly. Thank you very much!!!
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.