Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
julruiz123
Partner - Creator
Partner - Creator

Problem with date in calendar

Hi,

I created a master calendar, but in some situations the filter works but in others doesn't works.

I found this situation and i don't know what is the problem. Both dates were formated with "date" but when it show the number of the date in "Fecha registros"  include decimals.

How i can prevent that ??

dates.png

Thanks

1 Solution

Accepted Solutions
johnw
Champion III
Champion III

Date() is just a formatting function.  It only affects how a value is displayed.  You are displaying a timestamp as a date.  You don't actually have a date.  To get a date out of a timestamp, you could use floor() while creating the field.  Something like date(floor(MyTimestamp)).

View solution in original post

1 Reply
johnw
Champion III
Champion III

Date() is just a formatting function.  It only affects how a value is displayed.  You are displaying a timestamp as a date.  You don't actually have a date.  To get a date out of a timestamp, you could use floor() while creating the field.  Something like date(floor(MyTimestamp)).