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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Disregarding today and yesterday

Hi,

I have a chart that has the dimension the months of the year, I need in the current month today and yesterday are disregarded in the calculation, it is possible to do this using Set Analysis or other function? The dimension day, week, etc is avaliable too.

Labels (1)
1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

What you want? MTD, YTD ? What is the measure?

You can have something like below for YTD

SUM({<Date = {">=$(=YearStart(Today()))<=$(=Date(Today()-2))"}>}Amount)

For MTD

SUM({<Date = {">=$(=MonthStart(Today()))<=$(=Date(Today()-2))"}>}Amount)

View solution in original post

1 Reply
MK_QSL
MVP
MVP

What you want? MTD, YTD ? What is the measure?

You can have something like below for YTD

SUM({<Date = {">=$(=YearStart(Today()))<=$(=Date(Today()-2))"}>}Amount)

For MTD

SUM({<Date = {">=$(=MonthStart(Today()))<=$(=Date(Today()-2))"}>}Amount)