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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sub filter in Sharepoi...
Power Automate
Unanswered

Sub filter in Sharepoint List to reflect in HTML table

(0) ShareShare
ReportReport
Posted on by 62

Hi there,

 

I've created a flow in Power Automate that is working, but I need to apply another filter in the content of the Sharepoint List.

These are the columns in the HTML table that come from my Sharepoint List:

OwnerDateDescription of the TaskProduct Type

 

I've added the "Date" as the current filter in "Get Items", as I want to have the reference of the deadline date.

However, I need to send separate emails depending on different Product Types instead of having one HTML table in the body of the email with the same list of people and product types.

Can you please have a look into the below flow and let me know how can I accomplish the following: 

  1.  Send separate emails filtered by product type 
  2.  The HTML table in the body of those emails to be also filtered by product type 

Any help is much appreciated. 

Flow.PNG

 

Flow 2.PNGGet Items.png

Categories:
I have the same question (0)
  • v-zhoqian-msft Profile Picture
    Microsoft Employee on at

    Hi @vsvsardo ,

     

    Based on your description, I have made a simple test for your reference.

     

    SharePoint list for test:

    vzhoqianmsft_0-1682048447697.png

     

    This is flow:

    I put the create HTML table last because it becomes difficult to filter after becoming an HTML table.

    vzhoqianmsft_1-1682048674811.png

    vzhoqianmsft_2-1682048786369.png

     

    Result:

    vzhoqianmsft_3-1682048921513.png

     

     

     

    Best Regards,

    Habsburg Qian

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

     

  • vsvsardo Profile Picture
    62 on at

    Hiya,

     

    Thank you for your working on a solution for me.

    What was the filter query you've used in "Get Items"? This flow that I've created should send the email when it's 30 days before the due data (deadline date)

    filter query.PNG

  • v-zhoqian-msft Profile Picture
    Microsoft Employee on at

    Hi @vsvsardo ,

     

    I didn't use filter query in my flow.

    If the format of due date is date without time, you could refer to the follow method:

    vzhoqianmsft_0-1682076369668.png

     

     

     

    Best Regards,

    Habsburg Qian

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

     

  • vsvsardo Profile Picture
    62 on at

    Hiya,

    Now, i get the following error message:

    Error message 3.PNG

  • v-zhoqian-msft Profile Picture
    Microsoft Employee on at

    Hi @vsvsardo ,

     

    It is strange that there are two "Apply to each" with the same name in the picture.

     

     

     

     

     

     

    Best Regards,

    Habsburg Qian

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

  • vsvsardo Profile Picture
    62 on at

    Hi @v-zhoqian-msft ,

     

    I managed to fix that issue but now it's showing me a different error message about the "filter query" in "Get Items" from Sharepoint List (snips attached for reference). As you can see, "Date" is a column in my Sharepoint List so I don't understand why the query says there isn't a column with that name.

    Would you be able to help on this?

     

    Thank you in advance.

     

  • v-zhoqian-msft Profile Picture
    Microsoft Employee on at

    Hi @vsvsardo ,

     

    There is no error in my test. According to the error message, it is the lack of quotation marks outside first(), but I noticed that the formula in the picture seems to have already added quotation marks.

     

     

     

     

     

     

    Best Regards,

    Habsburg Qian

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

  • vsvsardo Profile Picture
    62 on at

    Hi Habsburg,

    I've made some changes and now I have a different error message (snip below for reference):

    vsvsardo_0-1686913106921.png

     

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard