datediff giving wrong output

0 votes

I want to calculate difference between project deadline and days completed for all teams and for all stages. I'm getting wrong output, what to do?

I gave DATEDIFF('day',[Enddate],[Startdate]) as the code for calculative field.

Apr 1, 2019 in Tableau by sindhu
800 views

1 answer to this question.

0 votes

Hi,

Try this, AVG(DATEDIFF('day',[Startdate],[Startdate])) .

You are calculating average days of difference.

It will work.

answered Apr 1, 2019 by Cherukuri
• 33,010 points

Related Questions In Tableau

0 votes
0 answers

How to exclude weekend (Sunday only) to DATEDIFF in Tableau?

My current formula is : DATEDIFF('day', MIN([Date]),MAX([Date])). How do ...READ MORE

Apr 7 in Tableau by Vaani
• 7,020 points
69 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,230 points
8,217 views
+1 vote
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,230 points
856 views
+2 votes
1 answer
0 votes
1 answer

Bitcoin address SHA256 pipe gives wrong output

You need to hash the raw byte ...READ MORE

answered Sep 5, 2018 in Blockchain by digger
• 26,720 points
412 views
+1 vote
1 answer

how to print this statement in java print(' '*(r-x-1)+'*'*(2*x+1)) ( logic used in python .its perfect) but java wrong output came

In ' '*(r-x-1) and '*'*(2*x+1), you used multiplication ...READ MORE

answered Dec 22, 2019 in Java by Utsab Bandyopadhyay
488 views
0 votes
0 answers

strlen() php function giving the wrong length of unicode characters

I want to get the length of ...READ MORE

Jun 20 in PHP by Kithuzzz
• 10,640 points
27 views
+4 votes
7 answers

Creating Amazon Web Service (AWS) account (trial version) without giving up credit card details

Unfortunately, you can’t create an account on ...READ MORE

answered Mar 30, 2018 in Cloud Computing by brat_1
• 7,200 points
13,973 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP