Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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

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