Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Change row color

masfouaa
メテオロイド

Hi all, 

 

I wanna change row color depend on the due date. If the due date is today then the whole rows data with today due date will be changed to red and if the due date is tomorrow then the whole rows with tomorrow date will be change to green.

 

I tried by using Table tool but unfortunately I didn't get the desired result.

2件の返信2
AngelosPachis
ネビュラ

Hi @masfouaa ,

 

Here's how I did it. I used a formula tool to first convert the Due Date field in a format that alteryx understands as a date. Then I created a new column that checks if that date is today or tomorrow

 

AngelosPachis_0-1639252432834.png

 

Finally, in the table tool, I created two row rules to colour each row based on the values in the [Colour] column created before and dropped the columns I don't need anymore

 

AngelosPachis_1-1639252504854.png

 

Here's the output I got

AngelosPachis_2-1639252537795.png

 

Hope that helps,

Angelos

 

masfouaa
メテオロイド

Fantastic! thanks a lot..👍

ラベル
トップのソリューション投稿者