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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sales

Hi ,

  I want to know the expression for :    Current selected month sales VS previous Years current month sales

Can any one help me out

Thanks in Advance

1 Solution

Accepted Solutions
ashfaq_haseeb
Champion III
Champion III

Hi,

go through the attached document.

Regards

ASHFAQ

View solution in original post

4 Replies
ashfaq_haseeb
Champion III
Champion III

Hi,

go through the attached document.

Regards

ASHFAQ

tresesco
MVP
MVP

its_anandrjs
Champion III
Champion III

Try with

Current sales

=SUM({$<Date2 = {'>=$(=Max(Monthstart(Datefield))) <=$(=Today())'}>}Sales)

Previous Year

=SUM({$<Date2 = {'>=$(=Max(MonthStart(AddMonths(Datefield,-12)))) <=$(=MonthEnd(AddMonths(Today(),-12)))'}>}Sales)

Not applicable
Author

Thanks ASFAQ ur suggetion worked thanks a lot friend