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

Announcements
AWS Degraded - You may experience Community slowness, timeouts, or trouble accessing: LATEST HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
stephenedberkg
Creator III
Creator III

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
Champion III
Champion III

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
Champion III
Champion III

Hi,

In your expression try this expression

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

Regards

Anand

stephenedberkg
Creator III
Creator III
Author

Thank you for reply Anand Chouhan