Skip to main content

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

cancel
Showing results for 
Search instead for 
Did you mean: 
mwscott1
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
mark6505
Partner - Master
Partner - Master

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

YoussefBelloum
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

Anil_Babu_Samineni

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)