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

Announcements
Join us in Zurich on Sept 24th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
khasimvali85
Creator II
Creator II

How to Calculate LYMTD in SetAnalysis

Hi Comunity,

Can anybody suggest me how to find out LYMTD?

i have Date field like RegDate

6 Replies
datanibbler
Champion
Champion

Hi,

if you use the formula Monthstart(Today(), -12) -> that will give you the start of this month 12 months back.

Likewise, the formula Yearstart(Today(), -1) will give you the start of the year, one year back.

HTH

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

I'm afraid that this question has a thousand right answers. You'll have to post more information to get the correct one. Please post a qlikview document with enough data to answer your question. Perhaps these two documents will help:


talk is cheap, supply exceeds demand
prma7799
Master III
Master III

Please check

YTQ, QTD, MTD and WTD

buzzy996
Master II
Master II

try tis,

=num(sum({$<Year = {$(=only(Year) - 1)}>} LineSalesAmount), '$#,##0;($#,##0)')

prma7799
Master III
Master III

Not applicable

Using a master calendar with the relevant flags will make these types of comparisons much simpler.

Have a look at

Calendar with flags making set analysis so very simple

hope that helps

Joe