cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RSvensk
Frequent Visitor

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

Hi

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

RSvensk_0-1594216809267.png

 

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.

RSvensk_1-1594217050844.png

 

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

RSvensk_2-1594217179966.png

 

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)

RSvensk_3-1594217399182.png

Best Regard

Richard Svensk

Planning Engineer

2 REPLIES 2
efialttes
Super User
Super User

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

https://alextofan.com/2019/02/14/flow-how-to-change-the-style-of-your-html-table-in-flow/

Hope this helps



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

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


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

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.

 

Anyone?

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (3,227)