I am creating a flow which takes a record submitted via Powerapps to a SharePoint List (MatrixResponses) and inputs this into an Excel template to email to the user; the same flow takes records from a 2nd SharePoint list (TrainingMatrix) and lists these records on the same Excel template so the responses submitted can be compared with one another by the user.
At the moment, this is done by 'Get Items' then 'Add a row to table', see screenshot
This means that the entire TrainingMatrix list is transferred to the Excel file which isn't ideal.
Both lists have a column called 'P Number' and these P numbers refer to the same person. I want my flow to lookup the record in TrainingMatrix which matches the P number in MatrixResponses and only add that row to the Excel sheet. Is there a way to do this?
I tried using 'Switch' but couldn't use Dynamic Content for the match so that didn't work.
Any help is appreciated!
Solved! Go to Solution.
Hi @misc ,
Try using filter queries on the SharePoint get items action.
Check - https://youtu.be/yeAnuTB85eg
--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
Thanks,
Reza Dorrani, MVP
YouTube
Twitter
Hi @misc ,
Try using filter queries on the SharePoint get items action.
Check - https://youtu.be/yeAnuTB85eg
--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
Thanks,
Reza Dorrani, MVP
YouTube
Twitter
Thank you! That video was very useful 🙂