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: 
ben_skerrett
Contributor III
Contributor III

A Chart for the Current Year

Hi,

Although it seems like a simple request I have not been able to find a solution online and I am hoping someone can help.

I am trying to create a simple chart for a specific department, which shows non-conformances cost each month (from the current year).

I have managed to do the latter however we are only in February, so the chart looks terrible as there is only two months worth of data.

How do I show January to December on the X-Axis, even though there is only data available up until February (March through to December would simply show as zero).

Thanks In Advance

Ben

1 Solution

Accepted Solutions
Ksrinivasan
Specialist
Specialist

hi Mr. ben,

my data 

Ksrinivasan_0-1612493430719.png

Load script:

Ksrinivasan_1-1612493469287.png

 

Result:

Ksrinivasan_2-1612493518986.png

After Adding Dummy date table field:

My Dummy Data:

Ksrinivasan_3-1612493570400.png

 

Load Script:

Ksrinivasan_4-1612493614050.png

 

Result

Ksrinivasan_5-1612493658850.png

i hope its ok for you,

here you can replace my  Monthh field to your date filed name.

Ksrinivasan

View solution in original post

4 Replies
Ksrinivasan
Specialist
Specialist

hi,

you have to create dummy month field that has jan to dec, and coordinate with your real data table,

now you call in chart all future moth will be in X-Axis,

 

ksrinivasan

ben_skerrett
Contributor III
Contributor III
Author

Thank you for the reply ksrinivasan.

Like most, I am relatively new to QlikSense. Could you please provide additional guidance on how to create a dummy month.

I have created a master calendar which is linked to the "Posting date".

 

Thanks

Ben

Ksrinivasan
Specialist
Specialist

hi Mr. ben,

my data 

Ksrinivasan_0-1612493430719.png

Load script:

Ksrinivasan_1-1612493469287.png

 

Result:

Ksrinivasan_2-1612493518986.png

After Adding Dummy date table field:

My Dummy Data:

Ksrinivasan_3-1612493570400.png

 

Load Script:

Ksrinivasan_4-1612493614050.png

 

Result

Ksrinivasan_5-1612493658850.png

i hope its ok for you,

here you can replace my  Monthh field to your date filed name.

Ksrinivasan

ben_skerrett
Contributor III
Contributor III
Author

Thank you so much for the help