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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Working with multiple records with the same key field

Hey, complete newb question here.

Just to be sure, I'm assuming key field is the same as primary key in databases?

Anyway.

I've loaded the database in, and now I want to use two bits of data from two records with the same primary key.

So, say I'm creating a simple straight table and I want to calculate the difference in dates between when the primary key appeared.

I know I need to use interval, but I don't know how to get the information for the two dates.

Interval([PrimaryKeyFieldName].date - [PrimaryKeyFieldName].date, 'dd')?

I literally don't have an idea at this point.

Thank you.

0 Replies