Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
zwyne
Creator
Creator

Parameters in my Date variables

Hello there,

I would like to put parameters in my date variables , below are my expressions

vSetMTD             =Year={'$(vMaxYear)'},Month={'$(vMaxMonth)'},Day={'<=$(vMaxDay)'},Date=,MonthYear=
vSetPreviousMonth   =Year={'$(vPriorMonthYear)'},Month={'$(vPriorMonth)'},Day={'<=$(vMaxDay)'},Date=,MonthYear=
 
eCntFlgCurr  =  count({<$(vSetMTD)>}Flags)
 
eCntMajCurr  =count({$<Flags={'MajFlagTrc'},$(vSetMTD)>}Flags)+ count({$<Flags={'MajFlagPipe'},$(vSetMTD)>}Flags)

eCntMajCurr% =num(($(eCntMajCurr))/$(eCntFlgCurr),'#0.%')
 
Thanks
 
0 Replies