Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
peterderrington
Creator II
Creator II

Need an Expression to only show the first value

Hi, 

I'm trying to create a line chart that will show the first value for each date.

 

My data has several lines of data for each date ([Date of Visit]), i want to create a Line chart that just selects the very first entry ([Time called]) for that date.

Does anybody have any idea?

 

Thanks.

12 Replies
peterderrington
Creator II
Creator II
Author

Hi,

 

I've discovered a small flaw....

On each of the lines of data is also a field 'Location', when I now filter by 'Location' it shows up as no data (because obviously we've created a table that just compiles the first data point in the 'Called for' field).

I think I need a different method of pulling this together.

tincholiver
Creator III
Creator III

Can you upload the complete table with the data and graph what result you want?
tincholiver
Creator III
Creator III

if you want to know the first call schedule (called for) you use:
FirstSortedValue ([Called For], ID, 1)
if you want to know the time of the last call (return) you use
FirstSortedValue (Returned, -ID, 1)