Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Set Analysis for last 13 months of Data

Hi Friends,

Attached his the file which contains 3 years of data, i want to build a LINE chart via set analysis which shows last 13 months of Amount as of today. Please any one can help me on this.

Regards,

Ankit Month

13 Replies
Anonymous
Not applicable
Author

THANK YOU Every one, Different way of calculation was useful in lot of ways

jagan
Luminary Alumni
Luminary Alumni

Hi Ankit,

I think this is the best expression, even if you select year or month this will always show last 13 months amount

=SUM({<Year=, Month, YearMonth = {"<=$(=Date(MonthStart(Today()),'YYYYMM')),'YYYYMM'))>=$(=Date(MonthStart(Today(),-12),'YYYYMM'))"}>}Amount)


Hope this helps you.


Regards,

Jagan.

MK_QSL
MVP
MVP

Hi Ankit,

What Jagan is saying is right... The formula I have provided need to be edited by using ByPASS of certain fields..

Year=, Month = ,

Anonymous
Not applicable
Author

Thanks Jagan..