Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
arusanah
Creator II
Creator II

help with addmonths fn.

=Addmonths(Getselectedcount(MonthYear))


I am using getselectedcount to get count of months selected. I want to modify the above expression so that it can return back same no of months as returned by get selected count function. pls help.




3 Replies
sunny_talwar

I don't understand the reason to use AddMonths() function here? Can you re-elaborate please?

sunny_talwar

May be GetFieldSelections(MonthYear)

Anonymous
Not applicable

Hi arusanah,

Addmonths add or substract months from a given date. If you want the months selected by user, use GetSelectedCount only, you don't need Addmonths function.

Regards!