Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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