Start Free Trial

Alteryx Designer Desktop Discussions

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

Calculating the row with value

passerbyrtw
5 - Atom

Hello,

 

Would like to check is there any ways of calculating the number of rows that contain value.

For example the table is like:

 

Customer_Number  Referee1     Referee2    Referee3       Referee4

1234567                  123              B123          C123              Dieter

9876543                  A246            B246          C246

1357911                  A357             B357

2468100                  A987

 

And the expected output be like:

Customer_Number  Referee_Number

1234567                    4

9876543                    3

1357911                    2

2468100                    1

 

The referee_number should be the number of Referee1 to 4 that with value.

Looking forward for the suggestion!

 

Thanks!

Raymond

1 REPLY 1
flying008
15 - Aurora

Hi, @passerbyrtw 

 

FYI.  (Count non null by [Value])

录制_2025_02_13_15_18_07_552.gif

Labels
Top Solution Authors