Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
walid1
Contributor
Contributor

formulas

I'm trying to sum a field with conditions but the funaction does not work. Does anyone know what i do wrong? This is the formula:

=sum({$<[Data-totaal.betreft]={'omzet'}>}[Data-totaal.omzet/kst])

1 Reply
eddie_wagt
Partner - Creator III
Partner - Creator III

Hello @walid1 ,

It is hard to guess why it is not working without seeing the data or a good description of what you are trying to achieve. Better is to share a snippet of data. I tried to replicate your data and the expression works.

LOAD * INLINE [Data-totaal.betreft,Data-totaal.omzet/kst
omzet, 1000
kosten, 200
omzet, 3000
blabla, 100
];

Regards

Eddie