Hello,
I'm a newbie to Power Automate and need some help. I would like Power Automate to filter an Excel file saved on SharePoint, extract only the unique records (in this case based on the Owner column , which is a unique identifier) where each Car1, Car2, Car3, and Car4 is a Fail, get the email address associated with those records and send each Owner an email along with a HTML table of the records where the Car is a Fail. The Action column helps identify the rows that have a Fail/Pass. I'm only interested in the rows where Action column is Correction Needed.
Owner | Car1 | Car2 | Car3 | Car4 | Action | |
5 | Pass | Fail | Fail | Fail | Correction Needed | Cam@hotmail.com |
5 | Pass | Pass | Pass | Pass | None | Cam@hotmail.com |
5 | Pass | Pass | Fail | Pass | Correction Needed | Cam@hotmail.com |
2 | Fail | Pass | Fail | Pass | Correction Needed | Bob@hotmail.com |
2 | Pass | Pass | Fail | Pass | Correction Needed | Bob@hotmail.com |
3 | Pass | Pass | Pass | Pass | None | Mike@hotmail.com |
7 | Pass | Pass | Pass | Fail | Correction Needed | Tom@hotmail.com |
9 | Pass | Fail | Pass | Fail | Correction Needed | Mary@hotmail.com |
9 | Fail | Pass | Pass | Pass | Correction Needed | Mary@hotmail.com |
For example, Owner 5 a correction is needed (based on Action column) for rows 1 and 3 only. So owner 5 will receive an email that shows a HTML table of those two records. On the other hand, Owner 3 should be the only owner not to receive an email because the Action is none - all the cars has a pass for it.
Please help me build a example flow from this! Thank you in advance.