• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Calculating Average Delivery dates excluding blank values

Deunnan

New Member
Hi all

I have given the task to create a visual for our company.
As an explanation
We have several departments numbered:
611,612,614,615,616,617,618 and 619
I need a KPI that tells me the average delivery start time from the moment our cargo arrives into port (ETA)
I have used the below measure
Avg Days =
AVERAGEX(
'Table',

DATEDIFF('Table'[ETA], 'Table'[DELIVERY START], DAY))

But For some departments I get no output, please see the evidence below. So i basically want a measure that can calculate the average from the difference but not taking in consideration null or blank values or 0 as it will not give me a true average. I need the measure to take in consideration only the cells that have a date value. I hope I am clear

83276
 

Attachments

  • ETA CALCULATIONS.xlsx
    16.5 KB · Views: 3
Back
Top