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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calculate condition in a chart

Hi,

I'm new to Qlikview and i'm trying to calculate a condition in a chart, as follows:

Sum((Amount) if(OrderDate = CurrentDate))

Basically I want to Sum the Sales Amount only if the 2 dates match.

Thanks

1 Solution

Accepted Solutions
Sokkorn
Master
Master

Hi,

Try this SUM(IF(OrderDate = CurrentDate,Amount,0))

Regards,

Sokkorn

View solution in original post

1 Reply
Sokkorn
Master
Master

Hi,

Try this SUM(IF(OrderDate = CurrentDate,Amount,0))

Regards,

Sokkorn