Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Format Table - Row Formula

Kristie_Pires
8 - Asteroid

Hi community :)

 

I need a table where certain rows have a color based on certain rules. Only row 1 and 3 need colors (advances and loans). How do I create the formula if the days of the month will change each week? 

 

Thank you in advance!!

Table - Row Rule.png

 

 

4 REPLIES 4
binuacs
21 - Polaris

@Kristie_Pires What is the rule for row 1 and row3 to show the color?

Kristie_Pires
8 - Asteroid

@binuacs  the rule is: 

Row1 - green if number greater or equal to 95. Red if lower than 95
Row3 - green if number greater or equal to 98. Red if lower than 98

Spainey
9 - Comet

Hi @Kristie_Pires , 

Not sure if you're intending to keep this in Alteryx and output via Reporting tool palette, or if you're planning to write the data out to e.g. Excel?

In the past, if I've had complex formatting requirements I've found that Alteryx pairs well with Excel VBA. You can export your unformatted data to a .xlsm format template file with pre-written VBA set to trigger when the file is opened - you can also set it to save itself as .xlsx after it is done. When your output is produced, you would simply have to open the file and it will handle the formatting for you. 

Alternatively, tools like Power BI/Tableau would allow you to visualise this the way you want to. 

Assuming you do want to use the Reporting palette however, I've had a look and believe the changing date columns may be an issue. Is it a problem if you convert these to day of week format? You could use the Report Text tool to call out that the table relates to week commencing "4-Nov" so that you don't lose that detail. 

Having a quick play with the Table tool, it seems that to get the behaviour you're looking for it is easier to use the Column Rule (hence setting consistent column names as suggested above). I attach an example formatting the "Monday" and "Tuesday" columns.

Formatted Table Screenshot.png

 

 

Kristie_Pires
8 - Asteroid

@Spainey Thank you! I converted the date to the days of the week (Monday, Tuesday, etc). I had a different SLA for each row so I used I combination of the formula tool and the Table tool to configure the colors. 

Labels
Top Solution Authors