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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Issue with Calendar Funktion

Hi all

I have a very stupid issue with my calendar and I don't know how to solve it...

I want to install some pre-settings when somebody choose this tab. Therefore I installed an Aktion, that QV will select the current month.

It worked until December, I found out that the formula month(today()) returns "Dez" for December. In the integrated calendar December is writting with a "c" ==> Dec.

How can I solve this? Any ideas? Thanks for your help.

Oliver

=Month(today())

1 Solution

Accepted Solutions
mato32188
Specialist
Specialist

Hope, you havent missed variable settings at the very begining of your script...

set

set

set

set

if not, check your variables by Ctrl+Alt+V to be sure, you are not using any other formating for your month list box, else check your formating in list box directly.

ECG line chart is the most important visualization in your life.

View solution in original post

7 Replies
mato32188
Specialist
Specialist

Hi Oliver,

check your variable settings in script ....set MonthNames = ...

BR

M

ECG line chart is the most important visualization in your life.
morganaaron
Specialist
Specialist

Hi Oliver,

It should be picking up the Month Name value from the SET statement in (by default) the Main tab in your load script - the statement will set the short month names that are used by that function, so 'Jan;Feb;Mar...' etc.

Check here that December is represented by Dec not Dez.

MarcoWedel

Hallo Oliver,

like already suggested you have to check your MonthNames variable in the script.

Like your screenshot suggests, instead of the german default definition for MonthNames:

SET MonthNames='Jan;Feb;Mrz;Apr;Mai;Jun;Jul;Aug;Sep;Okt;Nov;Dez';

your script might actually look like:

SET MonthNames='Jan;Feb;Mrz;Apr;Mai;Jun;Jul;Aug;Sep;Okt;Nov;Dec';

Can you post a sample app to clarify?

Gruß

Marco

Not applicable
Author

hi all

this is very strange

I changed it in the datamodel and checked it everywhere (saving, reloading, etc.)

but it's still there...

Any ideas? Unfortunately I cannot post a sample...

mato32188
Specialist
Specialist

Hope, you havent missed variable settings at the very begining of your script...

set

set

set

set

if not, check your variables by Ctrl+Alt+V to be sure, you are not using any other formating for your month list box, else check your formating in list box directly.

ECG line chart is the most important visualization in your life.
Not applicable
Author

found it

Thank you very much for your help!

sujeetsingh
Master III
Master III

Check for this script

SET MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';