Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

VARIABLE ISSUE

I created a variable (vMonthToday) = Month(Today()), which I was using in Set analysis in one of my charts.  It was in production for almost 8 Months now and never had issues with it.

I also recalling the variable in Text box like ($(vMonthToday)) and no results.

All of a sudden that variable is not working now I never touched that dashboard . I just noticed it today.  The chart works fine If I remove that variable from there.

Can that be a BUG???

Below is the part of the expression.

count({< Year = {$(vYearToday)}, Month = {$(vMonthToday)}

2 Replies
jagan
Luminary Alumni
Luminary Alumni

HI,

What is the expression for vYearToday and vMonthToday?  Is any date format changed in the backend (database/flat files)?  Generally this is the reason for this.

Regards,

Jagan.

SreeniJD
Specialist
Specialist

Hi

Its certainly not a bug. Check whether the variables are still available variable in Settings->Variable OverView..

Alternatively you can check whether this function is giving results in your Test Box object..

=Month(Now())&Year(Now())

Sreeni