days difference between completed and estimated completion time

0 votes
Calculate the difference between days that as a blank or a null value in completed date.
May 8, 2019 in Tableau by Prakash
654 views

1 answer to this question.

0 votes
Hi Prakash,

Use ISNULL() or ZN()  to find the blank or null values.

Create a calculated field as -

IF ISNULL([Completed Date]) THEN DATEDIFF('day',[Estimated Date],TODAY())
ELSE DATEDIFF('day',[Completed Date],[Estimated Date])
END

The above code would fetch difference of days wrt completed date or current date(if null/blank).

Hope it helps you.
answered May 8, 2019 by Cherukuri
• 33,030 points

Related Questions In Tableau

+1 vote
1 answer

How can I find the time difference between two columns

Based on the data you showed, I'm ...READ MORE

answered Jul 25, 2018 in Tableau by Atul
• 10,240 points
1,170 views
0 votes
1 answer

What is the difference between a Bin and a Set?

The fundamental difference between bins and sets ...READ MORE

answered Aug 16, 2018 in Tableau by Naruto
• 710 points
2,397 views
0 votes
0 answers

How can I add a connection between Mongodb and Tableau

What I want? Parse the XML to JSON ...READ MORE

May 18, 2018 in Tableau by ghost
• 1,790 points
776 views
0 votes
1 answer

How to color code cells of a column based on the text value in Tableau

You can use the following steps to ...READ MORE

answered Mar 27, 2018 in Tableau by Atul
• 10,240 points
9,891 views
+2 votes
1 answer
0 votes
1 answer

Calculated filed with if-then

Below is the required code:  IF (NOT ISNULL([test2])) ...READ MORE

answered Mar 27, 2018 in Tableau by Atul
• 10,240 points
1,594 views
+2 votes
1 answer
0 votes
1 answer

What is the difference between REGEXP_MATCH() and REGEXP_EXTRACT()?

Hi, REGEXP_MATCH() AND REGEXP_EXTRACT() are both used for ...READ MORE

answered Apr 1, 2019 in Tableau by Cherukuri
• 33,030 points
2,652 views
0 votes
1 answer

Difference between incremental refresh and full refresh

Full Refresh By default, extracts are fully refreshed. ...READ MORE

answered Oct 31, 2019 in Tableau by Cherukuri
• 33,030 points
6,803 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP