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

filling missing data from previous

Hi,

I have only quarterly data. I want to make it monthly. I currently have data for mar,jun,sep and dec.
i want from jan to dec. Meaning...

for

jan-previousyear dec data
feb-previousyear dec data
mar- actual march data
apr- march data
may-march data
jun- actual jun data
jul-jun data
aug-jun data
sep- actul sep data
oct-sep data
nov-sep data
dec-actual dec data

i following generate missing data by HIC by couldnt succeed, any one help pls

9 Replies
settu_periasamy
Master III
Master III

Hi Gautham,

Check the Attachment. May be helpful.

gauthamchilled
Creator
Creator
Author

Hi Settu,

When I  use your example, it is not still showing the quarter dates after join.

While I debug by renaming Date as Date 1 , I could see all the dates in Date1, but to join(Date instead of Date1) I see quarterly dates only

Load Date(Floor(Addmonths($(vMinDate),RecNo()-1))) as Date1 Autogenerate vMaxDate-vMinDate;

can you help?

settu_periasamy
Master III
Master III

Hi Gautham,

is it possible to provide the expected output in excel?

gauthamchilled
Creator
Creator
Author

Settu,

Thanks for your help.

If I select ABC it should show sales for all the dates, if I select DEF it should show for all the dates.

If actual data is null, then it should pick from previous available data and show. Currently it is not showing for all the dates in your example.

gauthamchilled
Creator
Creator
Author

for selection ABC expected output is

   

31/12/2014ABC3000.002014Dec
31/01/2015ABC30002015Jan
28/02/2015ABC30002015Feb
31/03/2015ABC40002015Mar
30/04/2015ABC40002015Apr
31/05/2015ABC40002015May
30/06/2015ABC90002015Jun
31/07/2015ABC90002015Jul
31/08/2015ABC90002015Aug
30/09/2015ABC40002015Sep
31/10/2015ABC40002015Oct
30/11/2015ABC40002015Nov
31/12/2015ABC40002015Dec
gauthamchilled
Creator
Creator
Author

Also, if I select 2014 year it is showing 2015 dates mixed with 2015 in your example

MayilVahanan

Hi

PFA

May be its help

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
gauthamchilled
Creator
Creator
Author

Thanks Mayil,

May I know why Date and Date 1 is not joining ?

MayilVahanan

For create cross join

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.