Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

how to filter get items powerapps trigger

(0) ShareShare
ReportReport
Posted on by 97

Good Day,

 

I have an Email that sends an HTML table created in power automate flow.

 

I want to filter the items sent by department depending on the user entry in the powerapps.

 

Any idea how this can be done by flow?

 

dept.png

filter.png

pow.png

  • Verified answer
    v-bacao-msft Profile Picture
    on at
    Re: how to filter get items powerapps trigger

     

    Hi @Kareem_Shamel ,

     

    It appears that you have found a solution to your issue!

    https://powerusers.microsoft.com/t5/Using-Flows/filter-not-working/td-p/500553

    When we configure the parameters passed by Power Apps, we need to ensure we have assigned an expected value for the parameter in Power Apps.

    Please refer to this good example to get more details about adding a flow to Power Apps:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/using-logic-flows

     

    Besides, if you find that solution to be satisfactory, please go ahead and click "Accept as Solution" so that this thread will be marked for other users to easily identify!

    Thanks for being an active Microsoft Flow Community Member!

     

    Best Regards,

  • Kareem_Shamel Profile Picture
    97 on at
    Re: how to filter get items powerapps trigger

    For a reason my email does not return any item. It's empty.

     

    emptyemail.png

  • DeepakS Profile Picture
    2,301 Most Valuable Professional on at
    Re: how to filter get items powerapps trigger

    Hi @Kareem_Shamel 

     

    You can use any type , just pass the value form the drop down column.

     

    -------------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

  • Kareem_Shamel Profile Picture
    97 on at
    Re: how to filter get items powerapps trigger
    My department column is a dropdown menu, can I use it or it needs to be an input text?
  • DeepakS Profile Picture
    2,301 Most Valuable Professional on at
    Re: how to filter get items powerapps trigger

    Hi @Kareem_Shamel 

    Here are few screen capture on how you can achieve this:

     

    PAF3.png

     

    PAF2.png

    PAF1.png

     

    -------------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

  • Kareem_Shamel Profile Picture
    97 on at
    Re: how to filter get items powerapps trigger

    @DeepakS 

    Yes please can you explain to me how to do this?

  • DeepakS Profile Picture
    2,301 Most Valuable Professional on at
    Re: how to filter get items powerapps trigger

    Hi @Kareem_Shamel 

     

    You should  get the department name from Power Apps (ask in power apps) and use it as filter query in power automate to filter the data (Filter query - Department eq 'departmentname'.

     

    Let me know you have question on how to do this?

     

    -------------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,596 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow