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: 
arsenal1983
Creator
Creator

Dimension Last n days

Hello,

On the barchart I would like to show only last n days from my data (dete dimension).

n is a variable (slider).

I don't want to use set analysis (becaouse there is no possibility to skip to the details data)

I don't want to use x-scrollbar

I would like to set the dimesion length - this should be simple but I'm walking around.

THX

Luke

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar

Not completely sure about your requirement, but may be something like this:

=If(Num(Date) <= Num(Today() - $(n)), Date)

and then select 'Suppress When Value is Null' option on the dimension tab of the chart properties.

View solution in original post

2 Replies
sunny_talwar

Not completely sure about your requirement, but may be something like this:

=If(Num(Date) <= Num(Today() - $(n)), Date)

and then select 'Suppress When Value is Null' option on the dimension tab of the chart properties.

arsenal1983
Creator
Creator
Author

I knew it is simple but it is absolutely trivial,

Thanks Sunny.