Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
In my report I have two variable that are set from a calendar. Sometime when I select dates, they ends up like this :
42456.1234 and some other time like this 43245. Why does those value is float ? The decimal part represent what ? Hours ? This is causing issues with my report.
On the other hand, I have others calendar that store only Integer in the variable. Someone can explain to me, how this happen ?
Thank you.
Daniel
Yes it meant it's then not a date else a timestamp with hours, minutes and so on - you could solve it by loading these date-field with:
date(floor(YourDateField), 'YourFormatPattern') as YourDateField
- Marcus
Not sure how you are creating them, but yes, the decimal parts represents time information. Would you be able to share how are you creating them to see what is going on?
Yes it meant it's then not a date else a timestamp with hours, minutes and so on - you could solve it by loading these date-field with:
date(floor(YourDateField), 'YourFormatPattern') as YourDateField
- Marcus
Of course:
This when I load from the QVD:
This the calendar configuration:
This is how the variables looks like:
Is this enough for you ?
Thank you.
Thank you.
Can you try loading OrderDate like this:
Date(Floor(OrderDate)) as OrderDate