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

Announcements
AWS Degraded - You may experience Community slowness, timeouts, or trouble accessing: LATEST HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

conditional sum

hello

i have a table like this:

idd DaySales
1150
21100
3220
4250
53300
6320

i want to show the user sum of sales for the days befor than the day number he give as an input, i wrote it but it doesn't work :

Sum ({ <[Sales]={">=0"} ,  [d Day]={"$(<=CD)"}>}[Sales])

any one knows what is the problem?

thank you

azizi

14 Replies
Not applicable
Author

no it doesn't work

Not applicable
Author

no it doesn't work

ashfaq_haseeb
Champion III
Champion III

Hi,

Can you attached your sample file.

Regards

ASHFAQ

Not applicable
Author

thank all! specially Jonathan.

[d Day]={"<=$(=CD)"}

jagan
Partner - Champion III
Partner - Champion III

Hi,

This should definitely work, if not attach your file

Sum ({ <[d Day]={'<=$(=CD)'}>}[Sales])


Regards,

Jagan.