community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

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

Average calculation excluding zeros and Nulls

Hi,

 

I am trying to replicate "iferror Average" in alteryx but i am not able to get the accurate numbers Wtd Selling Dist (Avg). 

Attaching an sample data for reference. Kindly help in building an module for the same.

 

Kind Regards,

Lokesh

 

Looking at the data you sent, I think:

 

2018-11-02_13-08-50.png

 

1. Rename columns based on the first line

2. Add a record ID (row number)

3. Transpose the data

4. Filter the nulls

5. Compute an average grouped by record ID

 

You could then join back by record ID if needed.

Labels