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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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!