cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

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
Highlighted
Dual Super User III
Dual Super User III

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

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!



Highlighted
New Member

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

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,826)