Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
SDT
Creator
Creator

Problem with Sheet Trigger Selecting Date Type?

I am attempting to use the new Sheet Trigger functionality in the April 2020 release.

In the data load, I am defining the following fields:

LET vStartDate = Num(makedate(2017,10,1))

Date($(vStartDate) + RangeSum(Peek('RowNum'), 1) - 1) AS Date

 Date(MonthStart(Date),'YY-MMM') as CYMo

 So I set up a sheet trigger using "Select values in a field" option and field CYMo and entered the following formula in the value box:

 =Date(MonthStart(Today(0),'YY-MMM'))

 I also tried

=(Date(MonthStart(Today(0),'YY-MMM')))

 Neither one worked.

 Oddly enough, it works when I choose Toggle Field Selection instead of "Select values in field". I have confirmed the "Select values in field" works with other field types and manual entry of the value(s).

Labels (4)
1 Solution

Accepted Solutions
SDT
Creator
Creator
Author

Lots of trial and error and solved this.

Had to match the numeric date value for it to work:

=$(=NUM(Monthstart(Today(0))))

This should be in the Qlik documentation for this feature when matching dates in sheet triggers.

View solution in original post

1 Reply
SDT
Creator
Creator
Author

Lots of trial and error and solved this.

Had to match the numeric date value for it to work:

=$(=NUM(Monthstart(Today(0))))

This should be in the Qlik documentation for this feature when matching dates in sheet triggers.