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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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

Labels (1)
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!