Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
kalisetty-saite
Contributor
Contributor

How To Generate Date's Based on YYYYMM eg(201911)

Hi Guys your help will be appreciated I had Column called as Month which has the Year and Month Data as 201911

Now i need to generate all Dates for the Nov Month of 2019. 

1 Solution

Accepted Solutions
StarinieriG
Partner - Specialist
Partner - Specialist

Hi,

here the attached

View solution in original post

4 Replies
StarinieriG
Partner - Specialist
Partner - Specialist

Hi,

try something like this

 

TABLE:
LOAD
Date#(date,'YYYYMM') AS date

from ...;

Inner Join
LOAD
date,
Date(MakeDate(Year(date),Month(date),1)+IterNo()-1) as DATE
Resident TABLE
While Month(MakeDate(Year(date),Month(date),1)+IterNo()-1)=Month(date);

kalisetty-saite
Contributor
Contributor
Author

Hi Thx For The Code i tried but it's not working  app is getting hanged while refreshing can you share sample QVW

 

Thanks for ur response and support

StarinieriG
Partner - Specialist
Partner - Specialist

Hi,

here the attached

kalisetty-saite
Contributor
Contributor
Author

Thanks StarinieriG Solution is working