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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
pkelly
Specialist
Specialist

Expand data To get record for each date

The atatched spreadsheet shows the data that I am working with in Excel form (I am actually pulling this from a progress database).

cuh_Codecuh_AsOfDatecur_Rate
CAD25/04/20010.45
CAD26/11/20012.25


Each time we get a new currency rate, we create a new record.

The system looks at the transaction date, looks up the currency table and applies the appropriate rate.

in the attached table, a transaction posted on the 25/11/2001 would pick up a rate of 0.45 with a transaction posted 27/11/2001 picking up 2.25.

To make things simpler on the reporting side, I would like to create a QVD table whioch has a record for each date.

So I would have something like....

cuh_Codecuh_AsOfDatecur_Rate
CAD25/04/20010.45
CAD26/04/20010.45
CAD27/04/20010.45
CAD28/04/20010.45


How do I acheive this?

Any help greatly appreciated....

1 Solution

Accepted Solutions
sparur
Specialist II
Specialist II

Paul, see my example

View solution in original post

5 Replies
sparur
Specialist II
Specialist II

Hello, Paul.

you can to use IntervalMatch function for creating records for each date.

sparur
Specialist II
Specialist II

at first, create endDate field and then use intervalMatch

pkelly
Specialist
Specialist
Author

Thanks Anatoly

Have never used intervalMatch - could you possibly show post an example of how I can acheive this?

sparur
Specialist II
Specialist II

Paul, see my example

pkelly
Specialist
Specialist
Author

Thanks Anatoly - this has done the trick....