Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Experimental Features
Answered

Using HTML to filter the User with SharePoint email

(0) ShareShare
ReportReport
Posted on by 24
Hello,
I have a Powerapp, with HTML Table, 
The aim of this table, to summaries the open actions that assigned to this user form a SharePoint list called action board, below hereunder the code, but it doesn't show any data at all,
My question is how to assure the right matching happening : 'Action Responsible'.Email = User().FullName

Thanks 


 
Concatenate(
    // Calculate the total number of actions
    "<table border='1' style='width:100%; border-collapse:collapse;'>",
        "<tr>",
            "<th colspan='2' style='text-align:center; padding: 8px;'>Action(s) Summary </th>",
        "</tr>",
       
        // Calculate and display the In Progress before due date count and percentage
        "<tr>",
            "<td style='padding: 8px;'>",
                "<span style='display:inline-block; width:10px; height:10px; background-color:blue; border-radius:50%; margin-right:5px;'></span>",
                "<strong>In Progress before due date</strong></td>",
            "<td style='padding: 8px;'>",
                Text(CountRows(Filter('Board Actions','Action Responsible'.Email = User().FullName, ActionsStatus = "In Progress before due date"))),
                " Action(s) ",
        "</tr>",
       
        // Calculate and display the Past due date count and percentage
        "<tr>",
            "<td style='padding: 8px;'>",
                "<span style='display:inline-block; width:10px; height:10px; background-color:red; border-radius:50%; margin-right:5px;'></span>",
                "<strong>Past due date</strong></td>",
            "<td style='padding: 8px;'>",
                Text(CountRows(Filter('Board Actions','Action Responsible'.Email = User().FullName, ActionsStatus = "Past due date"))),
                " Action(s)",
        "</tr>",
       
        // Calculate and display the Completed before due date count and percentage
        "<tr>",
            "<td style='padding: 8px;'>",
                "<span style='display:inline-block; width:10px; height:10px; background-color:green; border-radius:50%; margin-right:5px;'></span>",
                "<strong>Completed before due date</strong></td>",
            "<td style='padding: 8px;'>",
                Text(CountRows(Filter('Board Actions','Action Responsible'.Email = User().FullName, ActionsStatus = "Completed before due date"))),
                " Action(s)",
        "</tr>",
       
        // Calculate and display the Completed after due date count and percentage
        "<tr>",
            "<td style='padding: 8px;'>",
                "<span style='display:inline-block; width:10px; height:10px; background-color:orange; border-radius:50%; margin-right:5px;'></span>",
                "<strong>Completed after due date</strong></td>",
            "<td style='padding: 8px;'>",
                Text(CountRows(Filter('Board Actions','Action Responsible'.Email = User().FullName, ActionsStatus = "Completed after due date"))),
                " Action(s) ",
        "</tr>",
    "</table>"
)
  • Verified answer
    eghusseinr Profile Picture
    24 on at
    Using HTML to filter the User with SharePoint email
    Hi All
    the solution is by modifying the match criteria like below 

     
    'Action Responsible'.DisplayName User().FullName
  • WarrenBelz Profile Picture
    147,624 Most Valuable Professional on at
    Using HTML to filter the User with SharePoint email
    Firstly for a match, this needs to be done
    'Action Responsible'.Email = User().Email
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)    Visit my blog Practical Power Apps    LinkedIn    Buy me a coffee

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics