Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
joshrussin
Creator III
Creator III

Finding the avg of numbers above 0

Hey guys,

Im sure there is a simple solution for this, but I guess im just overthinking it.

I'm looking to find the average lead time of the products from yesterday.

The formula is:

Putaway Date (Act:) - Actual Goods Receipt Date

In the attached file, it is shown as that.

But when it averages, it counts in the 0's as well, which give around a 2 average.

I need to average everything above 0 to give me a 9.29 average.

Thanks!

1 Solution

Accepted Solutions
sunny_talwar

This works

Avg({$<[Lead Time eWM] = {'>0'}>}[Lead Time eWM])

View solution in original post

4 Replies
sunny_talwar

Which field are you averaging? Quantity?

sunny_talwar

This works

Avg({$<[Lead Time eWM] = {'>0'}>}[Lead Time eWM])

joshrussin
Creator III
Creator III
Author

Trying to average the "lead time"

joshrussin
Creator III
Creator III
Author

Well darn, I was close,

this is what I had...

avg({$<[Lead Time eWM] = {$(='>' & '0')}>}[Lead Time eWM])

Thanks so much