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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
gss123
Contributor
Contributor

How to find current month sales or count vs last year current month sales or count.

Please help me out i m new to qliksense.
I want to know 
current month sales = __nos.
previous month sales = __nos.

i want to know the expression for this and i want to add these text in text box chart.

Labels (1)
2 Replies
PrashantSangle

Hello ,

Provide some more information about data.

if you have date field then use below expression

current month sales =  Sum({<month={"$(=Month(Floor(Today())))"}>}Sales).
previous month sales = Sum({<month={"$(=Month(AddMonth(Floor(Today())),-1))"}>}Sales).

 

Regards,

Prashant Sangle

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Mark_Little
Luminary
Luminary

I personally like to use flags in my Master Calendar to make out key periods, then i can just used the flags to calculate any set analysis using the flags