Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

mwscott1
Contributor

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]

2 Replies

Re: Flooring mixed timestamp and date data

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)
sasiparupudi1
Honored Contributor III

Re: Flooring mixed timestamp and date data

You will have to use alternate formats.. using one may not be sufficient

ex:

Date(Floor(Alt(Date#(YourDate,'MM/DD/YYYY''),TimeStamp#(YourDate,'MM/DD/YYYY hh:mm:ss''),other formats)))


hth

Sasi