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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
vanderson009
Creator III
Creator III

Set Analysis Issue in Qlik Sense

Can anybody help me with below set analysis, what is wrong with expression

=Sum({<Date={">=$(=QuarterStart(AddmMonths(AddYears(Today(),-3),1))"}>}Quantity)

15 Replies
Chanty4u
MVP
MVP

No .

convert that table object to line thats it.

agigliotti
MVP
MVP

let's try this:

sum( {< Date = {">=$(=addmonths(monthstart(today()), -36))<=$(=today())"}>} Amount )

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it
rangam_s
Creator II
Creator II

Can you provide sample values present under date field?

agigliotti
MVP
MVP

i think date field should have the same format specified in your script for date format settings.

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it
rangam_s
Creator II
Creator II

Try this.

=Sum({<Date={">=$(=(AddMonths(MonthStart(Max(Date),-36))))"}>}Quantity)

Try to make X axis as continuous.

sunny_talwar
MVP
MVP

May be try this

Sum({<Date = {"$(='>=' & QuarterStart(AddMonths(AddYears(Today(),-3),1)))"}>}Quantity)