Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date filter in expression.

Both of these expressions are not working for me.Can anybody help me please

=Sum({<[Expense Month-Year] ={">=$(=MonthStart(Today())) <= $(=MonthEnd(Today(), 12))"}>}

         Aggr(Max({<[Expense Month-Year] ={">=$(=MonthStart(Today()) )<= $(=MonthEnd(Today(), 12))"}>}

          [Amount of Expense]*12),%SubspaceKey,[Expense Type]))

=sum(

IF([Expense Month-Year] >= MonthStart(Today()) ,

     IF([Expense Month-Year] <= MonthEnd(Today(), 12),

      Aggr(Max([Amount of Expense]*12),%SubspaceKey,[Expense Type]))))

1 Solution

Accepted Solutions
sunny_talwar

May be some missing parenthesis:

What format is [Expense Month-Year]?

View solution in original post

2 Replies
sunny_talwar

May be some missing parenthesis:

What format is [Expense Month-Year]?

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Make sure that Expense Month-Year has the same date format as the default date format of your document. If you need more help then please post a small qlikview document that demonstrates the problem.


talk is cheap, supply exceeds demand