Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

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
Honored Contributor

Re: Calculate condition in a chart

Hi,

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

Regards,

Sokkorn

1 Reply
Sokkorn
Honored Contributor

Re: Calculate condition in a chart

Hi,

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

Regards,

Sokkorn