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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Previous dimension

Hello, Everybody!

I have an Issue:

  

Mai
Volume (lb)5000
Price ($)150,00
Volume  April (lb)??

I want to show the previous month's volume, I've already tried with Range Sum, but once I make a filter by month (same dimension of this chart), do you guys know how to do that?


Grateful, Luiz Bisco

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

Try this:

Above(Sum({<MonthField>}Sales)) * Avg(1)

Assumptions

1) Your expression was Sum(Sales)

2) Dimension is MonthField where you plan to make selections

View solution in original post

7 Replies
sunny_talwar
MVP
MVP

Try with Above() function.

Not applicable
Author

It doesn't works or I did it wrong!

sunny_talwar
MVP
MVP

Would you be able to share a sample?

Not applicable
Author

No, I can't share, I am in company. But here is the thing: I have a filter with monthname of arrival date and my chart has that same dimension.

But I want to show what happens in the previously either, do you know how can I do that?

sunny_talwar
MVP
MVP

Try this:

Above(Sum({<MonthField>}Sales)) * Avg(1)

Assumptions

1) Your expression was Sum(Sales)

2) Dimension is MonthField where you plan to make selections

Not applicable
Author

Sunny, I want to select May and show April (one of expressions will show april, the others will show may)

sunny_talwar
MVP
MVP

Right, this is what it should do. Would you be able to provide few rows of dummy data to demonstrate how this can work?