Alteryx Designer Desktop Discussions

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

Checking Negative values across Multiple columns

PKoya
8 - Asteroid

Hi,

 

I am trying to figure out what would be the best way to check for negative values within multiple columns (columns by month).

 

If there is any negative value in one or more columns, I want to flag it as Negative (as shown in the example blow).

 

PKoya_0-1616067111616.png

The catch here is that the number of columns can change each time we run the workflow so I am unable to figure out what's the best way to address this.

 

Sample data is attached

2 REPLIES 2
patrick_digan
17 - Castor
17 - Castor

@PKoya  The key is to Transpose your data (making sure that the dynamic box is checked at the bottom):

patrick_digan_1-1616068379798.png

 

patrick_digan_2-1616068397654.png

 

 

 

 

PKoya
8 - Asteroid

Hi @patrick_digan,

 

Thank you for your solution. It worked like charm.

Labels