Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hello.
I am somehwat familar with the Power Query M Language, but need a little help. I am pulling some data from the Microsoft Graph API. I want to take the data retireved from List User and create a funtion to build another query that will pull the users profile photo for each user I have pulled from List of User. If I can Get a better understanding on how to do something similiar to a foreach loop, this could possibly help in help me with the odata.nextLink Pagination function I am currently working on.
Solved! Go to Solution.
Convert that list of users into a table. Add a column to a table that calls the photo function (you will need to Base64 encode the result).
That's it - that's how Power Query does "For each" things.
Convert that list of users into a table. Add a column to a table that calls the photo function (you will need to Base64 encode the result).
That's it - that's how Power Query does "For each" things.
If you want to use these pictures in Power BI visuals, yes.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 13 | |
| 11 | |
| 9 | |
| 8 | |
| 6 |