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

Announcements
AWS Degraded - You may experience Community slowness, timeouts, or trouble accessing: LATEST HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
Prozyn
Contributor
Contributor

.

 
Labels (1)
1 Solution

Accepted Solutions
Rick2Foqus
Contributor
Contributor

Try writing an if statement like this: 

IF(SUM({<Year = {"<$(= Year(Today()))" }>}Total_Sales) = 0, SUM({<Year = {"$(= Year(Today()))"}>} Total_Sales),)

View solution in original post

1 Reply
Rick2Foqus
Contributor
Contributor

Try writing an if statement like this: 

IF(SUM({<Year = {"<$(= Year(Today()))" }>}Total_Sales) = 0, SUM({<Year = {"$(= Year(Today()))"}>} Total_Sales),)