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

Using max and min selection dates

Hi QV community,

I would really apreciate any help regarding an issue I encountered.

I have a data set containing the following:

EventDateEventValue1EventValue2
01/01/201611
02/02/201622
03/03/201610
04/04/201611
05/05/201601
06/06/201620
07/07/201611
08/08/201610
09/09/201601

I need to display the sum of EventValue1 below max selection date minus sumof EventValue2 below min selection date.

I tried verious combinations but nothing seems to work for me.

Thanks in advance.

1 Solution

Accepted Solutions
tresesco
MVP
MVP

May be like (in a text box):

=Sum({<EventDate={'<$(=Date(Max(EventDate))) '}>}EventValue1)

-

Sum({<EventDate={'<$(=Date(Min(EventDate)))'}>}EventValue1)

View solution in original post

2 Replies
tresesco
MVP
MVP

May be like (in a text box):

=Sum({<EventDate={'<$(=Date(Max(EventDate))) '}>}EventValue1)

-

Sum({<EventDate={'<$(=Date(Min(EventDate)))'}>}EventValue1)

Not applicable
Author

Thanks you very much.

Most helpful