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

Announcements
April 13–15 - Dare to Unleash a New Professional You at Qlik Connect 2026: Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Pomna
Creator III
Creator III

Modify Calendar

Hello Experts I need help modifying a calendar.  this calendar comes from a qvd that am not allowed to modify.

clipboard_image_0.png

Reports have gaps as shown on the report below

clipboard_image_1.png

How do I modify the load script so that my calendar starts from 2016Q3 and get rid of the empty spaces on the visualization? Thanks for your suggestions

1 Solution

Accepted Solutions
marcus_sommer

AFAIK you could disable the displaying of zero's within the chart-settings. Also you could apply this as condition within a calculated dimension.

But if it's not really related to this chart else the whole application has only values since 2016Q3 it would be useful to remove the older ones within the script just by applying a where-condition, like:

Cal: load * from CalQVD (qvd) where Date >= '07/01/2016';

You need to adjust this to the real date-field (name and formatting) within your qvd. It doesn't change the qvd else it loads just a part from it.

- Marcus

View solution in original post

3 Replies
marcus_sommer

AFAIK you could disable the displaying of zero's within the chart-settings. Also you could apply this as condition within a calculated dimension.

But if it's not really related to this chart else the whole application has only values since 2016Q3 it would be useful to remove the older ones within the script just by applying a where-condition, like:

Cal: load * from CalQVD (qvd) where Date >= '07/01/2016';

You need to adjust this to the real date-field (name and formatting) within your qvd. It doesn't change the qvd else it loads just a part from it.

- Marcus

jonathandienst
Partner - Champion III
Partner - Champion III

Or you could align the calendar withe the rest of the model using a Left Keep qualifier on the load.Something of this pattern:

Left Keep(<fact table name>)
LOAD * From Calendar.qvd

The keep is like a join in that it only returns the matching values, but instead of adding the fields to the left table, it keeps them in a separate table. This will filter the calendar to match your "fact" table".

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Pomna
Creator III
Creator III
Author

Thank you Marcus I applied the where condition to limit the date from >= 2016Q3 and it solved my problem