Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Akina0929
Creator
Creator

how to show previous month joiners?

Hi,

I have a table which consist of joining date and no of joiners

I want to show no of joiners in previous month in text box.

1 Solution

Accepted Solutions
sunny_talwar

I guess create a new field called MonthYear from your joining date field like this

Date(MonthStart([joining date), 'MMM-YYYY') as MonthYear

and then use it like this

Sum({<MonthYear = {"=$(=Date(AddMonths(Max(MonthYear), -1), 'MMM-YYYY'))"}>}[no of jiners])

View solution in original post

1 Reply
sunny_talwar

I guess create a new field called MonthYear from your joining date field like this

Date(MonthStart([joining date), 'MMM-YYYY') as MonthYear

and then use it like this

Sum({<MonthYear = {"=$(=Date(AddMonths(Max(MonthYear), -1), 'MMM-YYYY'))"}>}[no of jiners])