Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Refer previous date value using below()

I have to refer to a previous date value. I have an expression which gives me Maxdate value month wise. I need to calculate the previous day value in the next column. That is, I need something like : Below( Previous calculated column). But it is not working. Any help is appreciated. I am using a straright table.

Thanks.

1 Solution

Accepted Solutions
sparur
Specialist II
Specialist II

in this case, use Below(TOTAL CurrentClose)

View solution in original post

11 Replies
Not applicable
Author

I will explain a bit more,

MonthDateClosingPre Closing
Jan10-01-20131122
Jan09-01-20132230
Jan07-01-2013304
Jan01-01-20134

Closing is a calculated column and I want Pre Closing. Tried Below(Closing) in vain. Can somebody help please?

sparur
Specialist II
Specialist II

It should work.

try to use expression like this:

below(sum(Value))

where sum(Value) is Closing expression.

or could you provide qvw example?


Not applicable
Author

Thanks Anatoly for your reply.

PFA

While i select multiple company values, it works, but i would have one company selected in real scenario.

sparur
Specialist II
Specialist II

What do you mean?

Not applicable
Author

In the attached file, if you select multiple companies, you would find some values being populated in the Pre Closing column, but none when one company is selected.

sparur
Specialist II
Specialist II

in this case, use Below(TOTAL CurrentClose)

Not applicable
Author

Thanks. May I request you to look into the requirement 2 in the attachment? It would be very nice of you.

sparur
Specialist II
Specialist II

as I understand, you need show only 5 max Open Interest values...

the simple way is change chart type to straight table and use Dimension limits.

Is it Ok for you?

Not applicable
Author

That is a constraint, I have to use pivot. Please suggest a way. Basically, i have multiple transactions against each date and i have to show top 5 of them against each date,company....