Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

rohit18492
Not applicable

text object selections

Hi all,

      i have two text object buttons i.e TODAY and YESTERDAY. My problem is when i click on Today or Yesterday its get selected but when i clear selections my default selection should be Today by default. How Can we do this??

Regards,

Rohit

7 Replies
sunny_talwar
Not applicable

Re: text object selections

Are you using a button for clear or QlikView's default clear?

qlikviewnovice
Not applicable

Re: text object selections

Hi

Are you using any button to clear the selections? Post sample app or screen shot. Your question is not clear

sunny_talwar
Not applicable

Re: text object selections

See if the following qvw helps

Best,

Sunny

vardhancse
Not applicable

Re: text object selections

Hi,

if you are doing clear all using a button with action ->clear all.

Then add another action to make the like what is the default value you want.

jafari_ervin
Not applicable

Re: text object selections

Use button with clear all action and add select in field action after it.

rohit18492
Not applicable

Re: text object selections

I am using button as clear

jontydkpi
Not applicable

Re: text object selections

You can set the 'Clear State' to be something other than nothing selected.

  • Clear all selections
  • Select Today
  • Click Selections | Set Clear State
  • Save the file

Now when you click Clear All, all fields will be cleared except that Today will be selected.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein