Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
chiso_chiso
Creator
Creator

Aligning Date formats

Gurus,

I have a date in my fact table and a date qvd which I want to use for my calendar in the model.

The date in my fact table is DateOfSale (Date format numeric i.e. 42087.327071759). The DateID field (YYYYMMDD) in the qvd is one I want to use but there is another field called DateStamp (DD/MM/YYYY hh:mm:ss).

Kindly help to align the two so that I can populate the qvd using the DateOfSale dates.

Regards, Harrison

10 Replies
chiso_chiso
Creator
Creator
Author

For some reason I have,

In Fact Load: Date(Floor(DateOfSale)) As SaleDate

In Calendar Load: Date(Date#(DateID,'YYYYMMDD')) as SaleDate

And it has worked..

Regards