I need your help. Is it possible to calculate totals with condition?
Totals with condition
Totals with condition
StimulReport.Net allows to add a condition to an aggregate function. When you add a condition to an aggregate function you should add If to this aggregate function name and additional argument with condition. For example:Worm wrote:Is it possible to calculate totals with condition?
Code: Select all
{SumIf(Products.UnitsInStock, Products.UnitsInStock > 0)}
Code: Select all
{CountIf(Products.UnitsInStock == 0)}