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: 
MarioCenteno
Creator III
Creator III

Wildmacth + Current Month Sales

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)

Labels (3)
1 Solution

Accepted Solutions
MarioCenteno
Creator III
Creator III
Author

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)

View solution in original post

1 Reply
MarioCenteno
Creator III
Creator III
Author

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)