Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

DiffInDays value showing as hours instead of days

Posted on by 536
 
 
I am attempting to calculate the difference between two dates.  The formula is correct as far as I can tell and I don't receive any errors.  However, the field value displays in hours instead of days. 
 

           
 
   
I tried to change it to weeks to see if that tricks the system to display days but it says minutes (even worse).  The number appears to be accurate (with the exception of hours but it I multiple that by 60??) but the label is wrong.   If I change it to a decimal number I get the correct results however, that doesn't make sense.   
 
I would really like to be able to use the appropriate function and have it working properly.  
 
Any help will be greatly appreciated!
  • Suggested answer
    jdalske Profile Picture
    jdalske 536 on at
    DiffInDays value showing as hours instead of days
    So it appears that if I use the data type text or decimal number, I get the correct results.  I do not understand why the data type whole number displays a decimal and a label of hours or minutes when the formula I used is DiffInDays.
     
    In summation, use the data type text with this calculated field.
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,902 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,316 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans