Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download 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

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