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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
stephenedberkg
Creator III
Creator III

Bar chart limit

i have 24 months in barchart.

but want to show last 12 months only

how to limit the dimension?

PFA

23 Replies
Digvijay_Singh

You can use set analysis in expression something like Sum({<Month = {">=$(=Max(Month)-12)"}>}Value)

amit_saini
Master III
Master III

Hi,

PFA

Thanks,

AS

t_chetirbok
Creator III
Creator III

Hello!

try this set analysis: sum({<DATE={">=$(=addmonths(max({1}DATE),-11))"}>} VALUE)

stephenedberkg
Creator III
Creator III
Author

Dear Digvijay

if i selected the Week 15 mean i have the 24 weeks

but 1 st 12 weeks are history weeks last 12 weeks are forecast weeks

i want to show the last 12 weeks only

my expression is

=num(sum({<Year_UP = {$(=Max(Year_UP))},Week_UP={$(=Max(Week_UP))}>}Sales),0.00)

barchart limit1.png

Anonymous
Not applicable

I think you should check this, every thing is mentioned here?

Set Analysis for certain Point in Time

Set Analysis for Rolling Periods

stephenedberkg
Creator III
Creator III
Author

Dear amit.saini

i am using personal edition only so i cant open your QVW files

ecolomer
Master II
Master II

Select limit of values:

p69.png

Anonymous
Not applicable

Go to dimension limit select option and the give the value there than it show only that values .

stephenedberkg
Creator III
Creator III
Author

i want to show last 12 weeks only