Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
zebhashmi
Specialist
Specialist

Maybe it's simple but I need help

I have a table like this

idyearqtyrate
120155200
2201510300
3201815400
4201820500

and I want to display Value in KPI for the year 2018

which would be 16000

15*400 = 6000

20*500= 10000

total 16000

problem is I don't want to select a year and don't want to add a calculated field

Thanks

1 Solution

Accepted Solutions
petter
Partner - Champion III
Partner - Champion III

Sum( {<year={2018}>} qty * rate )

View solution in original post

2 Replies
petter
Partner - Champion III
Partner - Champion III

Sum( {<year={2018}>} qty * rate )

zebhashmi
Specialist
Specialist
Author

Thank you, Petter! then I think I have an issue somewhere else in my data. I am doing that in my database but it is returning - somehow i traped that maybe qlik do not calculate that way. Thank you. let me find my problem.