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

till date

i hav a date column, i want user to select a date and the records to be shown till tht date,

object can be a chart

and

also a table box.

1 Solution

Accepted Solutions
Not applicable
Author

You need to keep master calender with all date for selction

Find the attachment.. it may help you

Karthik

View solution in original post

14 Replies
sujeetsingh
Master III
Master III

In chart you can implement it with if() case statement or set analysis but can not in Table Box.

See this example

Not applicable
Author

example is misssing

sujeetsingh
Master III
Master III

Sorry for that ,

now it is there.

Not applicable
Author

Hi

Please try below this expression.

{<Year={$(vMaxYear)},MonthOrder={"<=$(=Max({<Year={$(vMaxYear)}>}MonthOrder))"}>}

vMaxYear = Max Date Year(Variable)

Create a field in time dimension 'MonthOrder'

MonthOrder like 1,2,3...12

MonthOrder field u will get from Month(If Month=Jan,1,If Month=Feb,2 Like.....)

Regards-Bika

Not applicable
Author

hey date selection is giving me sum of tht date,

i need till tht date,

if i select 12/11/2010, sum shld come 18

Not applicable
Author

You need to keep master calender with all date for selction

Find the attachment.. it may help you

Karthik

Not applicable
Author

bika,

Ur exp is not working

Not applicable
Author

Thanks Karthik,

bt its nt working, whn i select other dates frm calender mismatch occurs...

Not applicable
Author

Could you explain little more..

It look like ok for me.

Please give feedback with example value..