Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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!!!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
12 | |
8 | |
8 | |
7 |
User | Count |
---|---|
15 | |
13 | |
9 | |
7 | |
6 |