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

set analyse won't work

Hi,

Why doesn't this work?

=sum({$<DateShouldBeSend={'<=$(=Max(SelectedDates))'},DateItHasBeenSend={'>=$(=Min(SelectedDates))'} >} hours)

table1

order number

DateShouldBeSend

DateItHasBeenSend

hours

table2

week

year

SelectedDates

there is no connection between table 1 and table 2.

1 Solution

Accepted Solutions
jagan
Luminary Alumni
Luminary Alumni

Hi,

Check whether all the date dimensions are in the same date format.  That may be the problem.

Regards,

Jagan.

View solution in original post

3 Replies
Not applicable
Author

Oh it seems DateShouldBeSend and DateItHasBeenSend  where not the same date format.

needed to do Date(DateShouldBeSend,'DD-MM-YYYY') as DateShouldBeSend,

Not applicable
Author

You may try this small change in syntax:

=sum({$<DateShouldBeSend={"<=$(='Max(SelectedDates)')"},DateItHasBeenSend={">=$(='Min(SelectedDates)')"} >} hours)

Regards,

Murali

jagan
Luminary Alumni
Luminary Alumni

Hi,

Check whether all the date dimensions are in the same date format.  That may be the problem.

Regards,

Jagan.