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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
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
Partner - Champion III
Partner - Champion III

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
Partner - Champion III
Partner - Champion III

Hi,

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

Regards,

Jagan.