In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Averaging items from a record while excluding 0's

kaylagross12
6 - Meteoroid

I am trying to calculate an average score for records while excluding 0's from being included in the average. I don't want to eliminate the record altogether, rather just eliminate the 0's from the average. 

Capture.JPG

 

 

Example attached above. The average should be 5 if you remove 0's - i.e. taking  the sum (30/6) = 5. 

 

Please advise. Thank you in advance.

3 REPLIES 3
Felipe_Ribeir0
16 - Nebula

Hi @kaylagross12  

 

One way of doing this, just replace the input:

 

Felipe_Ribeir0_0-1666975824516.png

 

kaylagross12
6 - Meteoroid

Thanks - Unfortunately not having any luck. Fairly new to Alteryx so may be an issue on my end.

Felipe_Ribeir0
16 - Nebula

Hi @kaylagross12 

 

Could you share your input file? So i can replace it and send it back.

Labels
Top Solution Authors