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

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
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)