Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Create an IF expression with three condition in a html table with dynamic content inside to change font color(or cell color)


I'm trying to create an IF expression with Dynamic content inside

to check the three condition to change font color (or cell color).


I have searched the web and this community without getting to a final result.

This is the flow



And this is a part of the "Create HTML table"

On the "Final Status" row in Value i want to have an IF expression to check the Dynamic Content for three

different conditions (GRÖN, GUL or RED) and depending on that condition i want to have the corresponding color

on that text/font, or even better changing the color of that Cell.



I also have a "Compose" function to design the table a little better.



The final result is looking like this today, but i want to have the font colored or better, the cell in

either Green, Yellow or Red (GRÖN=Green, GUL=Yellow, RÖD=Red)


Best Regard

Richard Svensk

Planning Engineer

Super User III
Super User III

Mmmmm... I believe you cannot use current 'Create HTML table' to achieve your needs, but to build your HTML table by means of an 'Apply to each'

Great stuff here

Hope this helps

Each time you click on any of our inspiring answers 'Thumb up' icon... ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!

Escribo sobre Power Automate en:

Proud to be a Flownaut!

I agree, great stuff, but i was not able to get to my goal there.


Maybee i should do something total different, but i have no idea what to do.



Helpful resources

Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Users online (3,961)