New to Qlik Sense. I would like to set 3 buttons (Month, Qtr, Year) and depending on which button is pressed, use that date dimension as the x-axis in a graph. I thought variables would work. Eg using the button/set variable action , setting a vYQM to 'recopendt.date.yearmonth' when MTD button is pressed, or vYQM to 'recopendt.date.yearquarter' in the action button for QTR button. Then using the value of vYQM as the field for my x-axis in my bar graph. But this doesn't seem to work.