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: 
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 )