Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I'm trying to merge the following two expressions to show a single expression of the current month.
Could anyone help me, please?
Expression 1
Sum(Wildmatch(MAX_OS, 0) )
Expression 2
SUM({<[FECHA_PROCESO.autoCalendar.Year]={'$(vMaxYear)'}, [FECHA_PROCESO.autoCalendar.Month]={'$(vMaxMonth)'},
[FECHA_PROCESO.autoCalendar.Day]={'<=$(vMaxDay)'},
FECHA_PROCESO=,[FECHA_PROCESO.autoCalendar.YearMonth]=>}MAX_OS)
Expression bad
WildMatch(Sum({<[FECHA_PROCESO.autoCalendar.Year]={'$(vMaxYear)'}, [FECHA_PROCESO.autoCalendar.Month]={'$(vMaxMonth)'},
[FECHA_PROCESO.autoCalendar.Day]={'<=$(vMaxDay)'},
FECHA_PROCESO=,[FECHA_PROCESO.autoCalendar.YearMonth]=>}MAX_OS),0)
I could solve it with the following expression
COUNT({< [MAX_OS]-={'0'},[FECHA_PROCESO.autoCalendar.Year]={'$(vMaxYear)'}, [FECHA_PROCESO.autoCalendar.Month]={'$(vMaxMonth)'},
[FECHA_PROCESO.autoCalendar.Day]={'<=$(vMaxDay)'},
FECHA_PROCESO=,[FECHA_PROCESO.autoCalendar.YearMonth]=>}MAX_OS)
I could solve it with the following expression
COUNT({< [MAX_OS]-={'0'},[FECHA_PROCESO.autoCalendar.Year]={'$(vMaxYear)'}, [FECHA_PROCESO.autoCalendar.Month]={'$(vMaxMonth)'},
[FECHA_PROCESO.autoCalendar.Day]={'<=$(vMaxDay)'},
FECHA_PROCESO=,[FECHA_PROCESO.autoCalendar.YearMonth]=>}MAX_OS)