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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

expression is null

Is there a way to do a same expression like this in pivot table

Case when price1 is null then price 2

2 Replies
MK_QSL
MVP
MVP

SUM(If(isNull(price1),price2,price1))

swuehl
MVP
MVP

In general. you should use aggregation functions, try maybe something like

=Sum( If( len(trim(price1)), price1, price2))