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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

implement a if function in the output field ?

Hi Qlikview Community,

how can I share the value of Berlin in the output field by half ? Please see screenshot.

Instead of 300, should be displayed 150. All other cities would not be affected. How can i implement an if function there?

Thank you !


Labels (1)
1 Solution

Accepted Solutions
fernandotoledo
Partner - Specialist
Partner - Specialist

=sum(Income)/if(City='Berlin',2,1)


View solution in original post

2 Replies
fernandotoledo
Partner - Specialist
Partner - Specialist

=sum(Income)/if(City='Berlin',2,1)


Not applicable
Author

Thank you Fernando !

Best Regards,

Onur