Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
Leverage your QlikView investment to modernize BI – see how! Join Group
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor III
Contributor III

Set analysis

I've been trying to figure this out and have been unsuccessful. Hopefully someone can help

The following date range is not working and I'm not sure why. 

sum({1<AcctPeriod={">=$(=fStartYear)<=$(=EndMonth)"}>}Amount)

Set vFM2 = 10 ;

Date(Date#(fYear & $(vFM)-3,'YYYYMM'),'YYYYMM') as fStartYear, 

Date(Date#(Year + If(Month<$(vFM2), 1, 0)& num(Month,'#00'),'YYYYMM'),'YYYYMM')as EndMonth,

Date(Date#(AcctPeriod,'YYYYMM'),'YYYYMM') as  AcctPeriod,

Thanks in advance

2 Replies
Highlighted
Champion III
Champion III

Re: Set analysis

Are the figures wrong or you getting any error? Can you share a sample file to look into? Also tell us your expected output?

Highlighted
Creator III
Creator III

Re: Set analysis

what about date formats?

possible to share data sample?