Forum Discussion

Annette1101's avatar
Annette1101
Brass Contributor
Sep 24, 2024

Filter a SharePoint list by any column, then run a PowerAutomate flow to report

I have a SharePoint list whose entries are different service areas like counseling contacts, school nurse contacts, police contacts, etc. Is there a way that a person can filter the SharePoint list then click a PowerAutomate flow to have it print the contents of the filtered list to say -- a PDF?

4 Replies

  • Adeboye_Olaide's avatar
    Adeboye_Olaide
    Copper Contributor
    Hello Annette

    Yes, it is possible to filter a SharePoint list and use Power Automate (formerly Microsoft Flow) to generate a PDF of the filtered results. There are some steps you will need to follow to get it done and create the folder. Reach out for further discussion
    • Rob_Elliott's avatar
      Rob_Elliott
      Silver Contributor

      Adeboye_Olaide you said there are a few steps to achieve this, but your response would have been a bit more useful if you had said what those steps are. in 6 years of using Power Automate I have never heard of a flow being able to run based on an already-filtered list.  The get items action doesn't have any mechanism to do this which is why you need to use the filter query in the get items action.

       

      Rob
      Los Gallardos
      Microsoft Power Automate Community Super User.
      Principal Consultant, SharePoint and Power Platform WSP Global (and classic 1967 Morris Traveller driver)

  • Rob_Elliott's avatar
    Rob_Elliott
    Silver Contributor

    Annette1101 no, a flow can't run based on a filtered list. In your flow you will need  a filter query in your get items action to get the items you need then create the PDF. 

     

    Rob
    Los Gallardos
    Microsoft Power Automate Community Super User.
    Principal Consultant, SharePoint and Power Platform WSP Global (and classic 1967 Morris Traveller driver)

Resources