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

Report View ..

Hi All,

When user login and open QVW document only view current year data(report), then click clear button the they want view  only last years data(report). how to setup this?

Regards,

Raja.

1 Reply
jagan
Luminary Alumni
Luminary Alumni

Hi,

Create a trigger

Settings -> Document Properties -> Triggers -> On Open -> Add Action -> Selection -> Select in Field

Field = YearDimensionName

SearchString = =Year(Today())

Now for the Clear button add another trigger

Add Action -> Selection -> Select in Field

Field = YearDimensionName

SearchString = =Year(Today()) -1

Hope this helps you.

Regards,

Jagan.