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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Enter missing date in fact table

Hi guys,

Could you please help me on below issue.

I have attached my data herewith. after 11th row date filelds are in different format. I have requirement on

Where ever the Dates are missing in the fact table then i need to write a code to insert that dates as well and carry forward the previous month closing balance to the next missing dates

1 Reply
fvelascog72
Partner - Specialist
Partner - Specialist

Hi,

Try this:

if(num([Start Date])<50000,[Start Date],

     if(len(num([Start Date]))=7,

          date(Date#('0'&[Start Date],'DDMMYYY')),date(Date#([Start Date],'DDMMYYY'))))      as "Start Date"