Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
alec1982
Specialist II
Specialist II

Expresion based on a selection in a field

Hi,

I have a bar chart with the following expression:

=sum({<[ Acquisition Date]={'2012'} >}[Current Total Expenses])

Anybody can help me figuring out why it is not giving me the results based on the 2012.

I have the Acquisition Date in a list box and if I select 2012 the chart gives me the right nrs but if I dont select anything then it show me all values from 2012-2011-2010.

Thxs,

12 Replies
alec1982
Specialist II
Specialist II
Author

I tried but it didn't work..

Not sure why!

thxs

manojkvrajan
Luminary
Luminary

Please upload a reduced qvw version and we can take it forward.

alec1982
Specialist II
Specialist II
Author

While trying to simplify a version to send it to you guys. I was able to figure it out.

The field that I was using is not the right one.

My bad.

Thanks so much for your help.

Alec