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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
pbjungles
Contributor II
Contributor II

Create Date column (DD / MM / YYYY) from AnoMês column (YYYY / MM)

Good afternoon,

I need to create a column (Dimension) DD / MM / YYYY, but the basis that I have only exists AnoMês (YYYY / MM).

For the project I'm doing no matter the date, and thus can always be 01.

As I have today.

AnoMes.png

I need the following format: DD / MM / YYYY Example: 01/02/2016 ... 03/01/2016 ... 04/01/2016

Thanks for the help.AnoMes.png

1 Solution

Accepted Solutions
sunny_talwar

May be like this

Date(MonthStart(Date#(anomes, 'YYYYMM')), 'DD/MM/YYYY') as anomes

View solution in original post

4 Replies
sunny_talwar

May be like this

Date(MonthStart(Date#(anomes, 'YYYYMM')), 'DD/MM/YYYY') as anomes

Frank_Hartmann
Master II
Master II

see attached sample

hope this helps!

maxgro
MVP
MVP

date(makedate(left(AnoMês,4), Right(AnoMês,2)), 'DD/MM/YYYY')

silambarasan
Creator II
Creator II

use

MakeDate() and left & Right  function