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: 
Anonymous
Not applicable

How to data from date

Hi there,

We have a QVW of contracts.  I want to use the start_date field and choose one date and have it show me everything from that date.

I will also need the ability to choose another field as well.

Is there a set analysis that will do this?  I thought some sort of greater then one.

I'm super stuck and have searched everywhere.

I don't have the ability to add a calendar to this one.  Just using the start_date field.

Thanks!

1 Solution

Accepted Solutions
maxgro
MVP
MVP

script for test data

load

  'contract ' & rowno() as contract,

  date(makedate(2016) + floor(rand()*365)) as start_date

AutoGenerate 1000;

the expression in chart is

Only({$ <start_date={">=$(=max(start_date))"}>} start_date)

1.png

View solution in original post

4 Replies
maxgro
MVP
MVP

script for test data

load

  'contract ' & rowno() as contract,

  date(makedate(2016) + floor(rand()*365)) as start_date

AutoGenerate 1000;

the expression in chart is

Only({$ <start_date={">=$(=max(start_date))"}>} start_date)

1.png

jolivares
Specialist
Specialist

I trying to figure out what you are saying but really I can see it.  I suggest that is better to post an example of what you want so I can help you

Anonymous
Not applicable
Author

Thanks for your help.

Here is a sample data set:

   

contract_idstart_datefunds
567818/12/2013UNL
567920/12/2013UNL
568022/12/2013UNL
568123/12/2013UNL
568228/12/2013UNL
568331/12/2013UNL
568401/01/2014UNL
568504/01/201488
568607/01/201423
568708/01/2015UNL
568819/01/2015UNL
568923/01/201675
569027/01/2016

12

So I would want to show all contracts from 01/01/2014 with UNL.

If I choose the start_date of just 01/01/2014, then I only get contract 5684.  I want that date and everything past that date to show. 

I should get this:

   

contract_idstart_datefunds
568401/01/2014UNL
568708/01/2015UNL
568819/01/2015

UNL

I hope this helps better.

Thanks!

Anonymous
Not applicable
Author

Whoa I think this is it.

Thanks a lot!