Hi Guys - seems simple, but trying to find a solution to calculating days between a date and today's date, but not all my cells have a value in it.
My date column is called DoH Deadline and it only populates a small percentage of the whole dataset, but it's also extremely important I'm able to show how many days (to today's date) until this deadline arrives!!
What I have so far is, simply:
Days to Deadline = 'Waits'[DoH Deadline] - TODAY()
Works fine, but also brings back loads of -44956's as it's clearly trying to calculate something which doesn't exist in the cell. Could you suggest an easy solution, to give me the days, but ignore the blanks, so the only cells which are populated with 'Days to Deadline' are those which have a date to work from.
I'm sure it's a relatively easy fix, but I am just struggling. Thanks in advance.
Rgds
@Creative_tree88 , seem like you have blank date
try like
Days to Deadline = if(isblank( 'Waits'[DoH Deadline]) , blank(), 'Waits'[DoH Deadline] - TODAY() )
User | Count |
---|---|
142 | |
64 | |
60 | |
58 | |
48 |
User | Count |
---|---|
140 | |
65 | |
62 | |
60 | |
54 |