Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

If or set analysis problem when multiply with cost

Hi,


I have a Qlikview beginner problem;

Why is

Sum(Meters*Cost)

working but not

Sum(if(Sorting='Yellow', Meters*Cost)?

Is there a workaround for this?

BR

Johan

2 Replies
Anonymous
Not applicable
Author

Hi Johan,

Does it work with an extra " ) " behind it? There is 1 missing.


If not just try something like:

IF(Sorting='Yellow', Sum(Meters*Cost))

That should work.

Not applicable
Author

Thank You for a quick reply!

It worked, as a stated "beginners problem"=)

Thank you!