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: 
slondono
Partner - Creator II
Partner - Creator II

How i get the first 6 months

Hi guys.

Need a hand here. I need to calculate the payments but only the first six months.

the problem is that I do not have the month as a dimension, I have the date in format YYYYMMDD.

I dont know how to elaborate a set analysis that give just the first semester (six first months)

Can anyone help me?

12.PNG

2 Replies
sunny_talwar

What do you mean by 1st 6 months? You mean the latest 6 months?

maxgro
MVP
MVP

=sum( {$<[Date YYYYMMDD]={">=$(=date(makedate(max(YEAR)),'YYYYMMDD'))

<=$(=date(MonthEnd(makedate(max(YEAR),6)),'YYYYMMDD'))"}>} yourfield )