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 pick up the last number in each month to plot in line graph qlikview

I have the following data in excel.  the second column is accumulated so I only need to pick up the last transaction for each month to plot it on a month to month line graph.  Any ideas how I can do this?

so far I've tried

=count({<TwitMonth=, %TwitDate={'$(=Date(Max(%TwitDate)))'}>}TwitCount)

Any assistance appreciated.

LC

1 Solution

Accepted Solutions
Kushal_Chawda

try

=FirstSortedValue (DISTINCT TwitCount, - %TwitDate)

View solution in original post

3 Replies
Kushal_Chawda

try

=FirstSortedValue (DISTINCT TwitCount, - %TwitDate)

Anonymous
Not applicable
Author

thank-you. Even though the formula errors it still works.  Weird

Kushal_Chawda

Yeah, It looks like there is error but still works. This is the beauty of QlikView