Hi everyone, I am trying to create a power automate flow which will send out emails to various different store managers. The issue I'm having is that I want to send the store information to the manager of that store as well as their results but do not want to set up a separate flow for each store, I would like them all to run from a single flow.
My Power BI data looks like the following:
| Date | Store Name | Item Code | Sales | Sales Target | Store Manager Name | Store Manager Email | Staff Employed |
| 01/01/2024 | City A | 10001 | 6 | 7 | April | April@zzz.com | 5 |
| 01/01/2024 | City A | 10002 | 9 | 4 | May | May@zzz.com | 5 |
| 01/01/2024 | City A | 10003 | 4 | 5 | Leo | Leo@zzz.com | 5 |
| 01/01/2024 | City B | 10001 | 2 | 2 | Mikey | Mikey@zzz.com | 3 |
| 01/01/2024 | City B | 10002 | 0 | 4 | Don | Don@zzz.com | 3 |
| 01/01/2024 | City C | 10002 | 5 | 7 | Raph | Raph@zzz.com | 2 |
| 01/01/2024 | City C | 10003 | 9 | 9 | June | June@zzz.com | 2 |
For store A, I would like to send the following results:
| Date | Store Name | Item Code | Sales |
| 01/01/2024 | City A | 10001 | 6 |
| 01/01/2024 | City A | 10002 | 9 |
| 01/01/2024 | City A | 10003 | 4 |
Since I am using Power BI, the flow I currently have looks like the below. I have no issue bringing in the table for each store but wish I could run a loop. That way I can get the email address from the data stored in Power BI and then bring it into the 'Send an email' portion of the flow. I would also like the data to filter to that store so City A's store only gets their results. Is this possible or is it too much?
