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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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!