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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / highlight some entries...
Power Automate
Answered

highlight some entries in a Create HTML table (or remove extra fields)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I'm looping through a list to find rows with multiple conditions

 

If Stage = Blue AND Blue Start Date = today

OR

If Stage = Red AND Red Start Date = today

OR 

If Stage = Orange AND Orange Start Date = today

 

I'm sending the results of this to an Append to Array variable:

{"Title": @{items('Apply_to_each')?['Title']},
"ID": @{items('Apply_to_each')?['ID']},
"Blue Start Date": @{items('Apply_to_each')?['BlueStart']},
"Red Start Date": @{items('Apply_to_each')?['RedStart']},
"Orange Start Date": @{items('Apply_to_each')?['OrangeStart']}
}

 

I'm then creating an HTML table and sending that via an email. That all works grand.

 

Title

ID

Blue Start Date

Red Start Start

Orange Start Date

title 1

660

2017-08-01

2020-06-24 

title 2

697

2020-06-24

2020-11-302021-01-31

title 2

698

  

2020-06-24

 

The info that the user receiving the email is interested in is the fields where the date is = today (in this case, 2020-06-24. I'd like to either remove the dates that are not today's date, or highlight the fields where the date IS equal to today.

 

Is there any way to do this? I feel like I should be able to add an if statement somewhere to do this, but I'm not sure where or how.

 

Any hints appreciated!

Thanks!

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

     

    Hi @Anonymous ,

     

    Please check this article and see if it helps:

    Flow: how to change the style of your HTML table in Microsoft Flow - Alex Tofan's blog

    You can judge the field value in the variable and add different styles.

     

    Best Regards,

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 272 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 147 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 146 Super User 2026 Season 2

Last 30 days Overall leaderboard