Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

Not applicable

set analysis for previous day

Hi,

the set analysis expression for the selected date in my chart is Sum({$<Date=P({$} tDate )>} Sales) , its working fine, I want another column with previous date to compare the sales.

Thanks in Advance...

1 Solution

Accepted Solutions
deepakk
Not applicable

set analysis for previous day

hi,

Create DateNum field at script level.

eg: Num(Date) as DateNum,

and Use the below expression

Sum({<DateNum={$(=(Max(DateNum)-1))}>} Sales)

2 Replies
deepakk
Not applicable

set analysis for previous day

hi,

Create DateNum field at script level.

eg: Num(Date) as DateNum,

and Use the below expression

Sum({<DateNum={$(=(Max(DateNum)-1))}>} Sales)

Not applicable

set analysis for previous day

Thanks