Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Highlight Rows with Null Patterns

blitz45
8 - Asteroid

Hi Everyone,

 

I was trying to figure out how I would write a formula that will highlight rows that has a value after a NULL (ie. Row 2: 2665, NULL, 5645)

For example, "If row has a value after NULL, highlight red." 

Any advice would greatly be appreciated!

 

JanFebMarAprilMayJune
12342665[Null]5645[Null]5557
696815444555358861543544
3358778989548866[Null]1145
[Null]1124[Null]744512234429

 

 

Thank You,

4 REPLIES 4
JosephSerpis
17 - Castor
17 - Castor

Hi @blitz45 belive I have come up with a way of highlighting a row after a null value. Let me know what you think?

 

Table_260819.PNG

estherb47
15 - Aurora
15 - Aurora

Hi @blitz45 

 

Here is one approach. You'll need a field that identifies each row as unique (Row ID tool here), and then Transpose. A Multi-Row formula tool, grouping on the Row ID field, and looking to tag rows with null values but having a number below them with a Y. Others are tagged with an N.

 

A Summarize builds a tagging field that combines all of the Ys (and Ns) generated by the Multi Row tool, and that's joined back in.

Then you'll need a table tool to add the highlights (Alteryx doesn't really format your data unless you render it into a table). I used a Row rule, that adds a red fill to the row if the tagging field contains a Y.

 

image.png

 

Let me know if that works!

 

Cheers!

Esther

blitz45
8 - Asteroid

I can definitely highlight the cells this way too, thank you so much! 

blitz45
8 - Asteroid

This is exactly what I wanted my output to look. Thank You! 

Labels