Totals with condition
Posted: Wed Jun 14, 2006 4:46 pm
I need your help. Is it possible to calculate totals with condition?
Reporting tool and data analytics tools for creating reports and dashboards in ASP.NET, ASP.NET MVC, .NET Core, Blazor, Angular, PHP, Python, WPF, JavaScript, and Java applications.
https://forum.stimulsoft.com/
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)}