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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
smilingjohn
Specialist
Specialist

List Box

Hi Guys,

As u can see i have atached a snap shot of the list box ,

My requirement is like if i clear it by defualt it should always get current year and current month selected .Can plz some one through some light on this ?

Detail:

now i have selcted 2014 year and month as jun

When i clear the dashboard it should select the current year and current month .

Thnaks

18 Replies
smilingjohn
Specialist
Specialist
Author

Hi Grean Baxter

My list box are populated from fields

iam not able to get this

iam attaching the error file plz find it

smilingjohn
Specialist
Specialist
Author

No john it not working , and in my main post i have also attached the error message snap shot plz find it

Anonymous
Not applicable

Hi

Remove the '=' from the Field name and double quotes from search string.

jagan
Partner - Champion III
Partner - Champion III

Hi,

Try like this

  1. Add-->Selection-->Clear All
  2. Add-->Selection-->Select in Field

     Field: FiscalYear,

     Search String :                = Year(Today())

3) Add-->Selection-->Select in Field

          Field: FiscalMonth,

          Search string:        =  Text(Month(Today()))

Hope this helps you.

Regards,

Jagan.

Anonymous
Not applicable

1. Create a variable

Go to Document properties - > Onchange -> Add Action



Get that variable in a text box

Get that variable in a text box



Note : Hide text object by Transparency and font color as white (without printing the variable it will not work ) but thats not the problem.

Anonymous
Not applicable

let me know if your requirement is something else

smilingjohn
Specialist
Specialist
Author

HI balkumar ,

Iam attaching my QVW , if u look at the fiscal year and fiscal month u can select the vules depending on requirement ,

but when we clear it the selection should go back to current month and current year , as of not 2015 is current year and Apr is current month .

Can u please help me

thanks

jagan
Partner - Champion III
Partner - Champion III

Hi,

Please find attached file for solution

Regards,

Jagan.

smilingjohn
Specialist
Specialist
Author

Thankuuu very muchhhhh Jagan

Can u please tell me what doese this do ?

Text(Month(YearStart(Today(), 0, 4)))