Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
stephenedberkg
Creator II
Creator II

MTD Calculation

how to calculate the MTD values .If i select the January mean it show the January sales values after that i select the FEB mean it show the FEB sales Values only BUT i want the addition of all previous month sales value  .

Eg:

I select the May month sales mean I want Jan,Feb,March,April And May Months sales Vales.

1 Solution

Accepted Solutions
its_anandrjs

Hi,

In your expression try this expression

=Sum({$<Month = {'>$(=Min(Month))) <=$(=Max(Month))'}, Year = {'$(=Max(Year))'}>}  Metrics )

Regards

Anand

View solution in original post

2 Replies
its_anandrjs

Hi,

In your expression try this expression

=Sum({$<Month = {'>$(=Min(Month))) <=$(=Max(Month))'}, Year = {'$(=Max(Year))'}>}  Metrics )

Regards

Anand

stephenedberkg
Creator II
Creator II
Author

Thank you for reply Anand Chouhan