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: 
ramrongala
Contributor II
Contributor II

how to grad-out or other color when no button select

Hi Experts,

 

i have 4 button YT,MTD ,QTD, WTD , if i select any button it should be highlighted(green color) reaming buttons grad-out (gray color), up to here working fine BUT

If i select dates from Data-picker object buttons should be grad-out(gray color) 

i am using QlikSense June 2020 version .

at present i select dates from date object reaming buttons not grad-out, last selected button highlighted

please have a look below screens (i selected YTD and reaming buttons grad-out/other color)

ramrongala_0-1602136028692.png

i selected dates from Date object  but still YTD button highlighted 

Capture.PNG

I hope you guys understand my issue. please help ASAP. 

1 Reply
ramrongala
Contributor II
Contributor II
Author

Sorry Guys i forgot to mention logic i have created variable and pass the values each button

below logic i have used in buttons ( in Background color) .

YTD = if ( vButton=2, Green(),Gray())

QTD= if ( vButton=3, Green(),Gray()) 

MTD = if ( vButton=4, Green(),Gray()) 

WTD = if ( vButton=5, Green(),Gray())