Skip to main content

App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
Skip the ticket, Chat with Qlik Support instead for instant assistance.
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),)