Home > Forum > Processes > [CLOSED] Report with Days Difference between today and form field

[CLOSED] Report with Days Difference between today and form field
0

Hello all,

Does anyone configured a calculated column in the reports to calculate the difference between current date and a date field from the form?

I was trying days (getdate() - form field) but it's not accepting the days formula.

Thank you!

MVP
In reply to: Andreia Correia

Hi Bjoern,

Thank you for your input however the formula does not work on Reports.
The formulas for calculated columns are a little bit special and I think not all the expressions can be used there.

Hi,

which version of WebCon are you using (tested on 2020 version .434)?

I implemented this solution for testing in my existing report and it worked.
The screenshot shows you the german version of a new calculated column (Neue berechnete Spalte):

Did you used "text" as returning type?
WFD_AttDateTime1 has to be changed into WFD_AttDateTimeXX where XX is the actual number of your DATE form field. You can't use the clear names!

Bye,
Bjoern

P.S.: If it doesn't work, please post a screenshot of your FORMULA and your FORM FIELD DEFINITION, so we can help a little bit more...

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.