Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Modernize Your QlikView Deployment webinar, Nov. 3rd. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Creator
Creator

Flooring mixed timestamp and date data

In my data I have a mix of timestamps and dates. When I floor this to try and return all entries at dates. It appears only the entries that are dates in the original data are returned. None of the timestamp entries show.

date(floor([Completed Date]),'MM/DD/YYYY') as [Completed Date]

3 Replies
Highlighted
Partner
Partner

Hi,

It could be down to Qlik Seeing the timestamp data as a string and not a date. maybe try soemthing like

DATE(DATE#(LEFT([Completed Date],10),'DD/MM/YYYY'),'DD/MM/YYYY') as [Completed Date]

Mark

Highlighted
Champion
Champion

Hi,

it is because you're using only formatting function Date().

you will need to use Date#() to interpret both format differently combined with Alt() and encapsulate the whole into Date() function

Highlighted

Is that the same? Flooring mixed timestamp and date data

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)