web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Fetching data from a list
Power Automate
Unanswered

Fetching data from a list

(0) ShareShare
ReportReport
Posted on by

Hi,

There is a List and a Form:

List has two columns: Name and Department

Form has several fields including Name.

 

When user fills the form, flow compares the Name entered in the form to the corresponding entry in the list and sends an email to a designated user with the name and department entry that was fetched from the list.

 

Problem: My flow is fetching the Name part correctly from the list but instead of fetching the corresponding department, it fetches all the departments from the list.

 

Can someone help me?

 

DN1.PNG

 

DN2.PNG

 

Categories:
I have the same question (0)
  • RezaDorrani Profile Picture
    12,143 on at

    Hi @Anonymous 

     

    I dont see any filter action related to departments?

     

    Use Filter Array data operations action to do so

     

    Regards,

    Reza Dorrani

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

  • v-bacao-msft Profile Picture
    on at

     

    Hi @Anonymous ,

     

    The needs you describe seem to be quite different from the screenshots of the Flow configuration you provide.

    The Form you mentioned does not seem to be MS Forms but a SharePoint list, and you want to get a Department with the same name in another list based on the Name contained in one of the lists.

    If so, you could consider referring to the configuration below. I have two lists here, one containing Name and the other containing Name and Department.

    22.PNG

    Besides, for more details on Filter Query, please check this blog:

    https://veenstra.me.uk/2018/11/12/microsoft-flow-filter-queries-in-sharepoint-get-items/

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    on at

    I created the list in Excel but seems like i'm getting an unexpected error.

     

    final.PNG

     

    records.PNG

     

     

    This is the error:

    {
    "status": 400,
      "message": "Invalid filter clause: cannot find the 'Name' column.\r\nclientRequestId: 72278621-1d2f-459b-8c35-4c785d988b68\r\nserviceRequestId: 144a752e-b080-4032-819a-daff42b52f21",
      "source": "excelonline-gcc-usgt.azurewebsites.us"
    }
     
  • v-bacao-msft Profile Picture
    on at

     

    Hi @Anonymous ,

     

    Please try not to configure Filter Query first, then check if the field name in the Body of List rows present in a table is Name.

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    on at

     

    list rowslist rowsCan you tell me where specifically should I be making changes ? 

     

  • v-bacao-msft Profile Picture
    on at

     

    Please try not to configure Filter Query first, then check if the field name in the Body of List rows present in a table is Name.

     

    Regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 248 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 207 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 101 Super User 2026 Season 1

Last 30 days Overall leaderboard