We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to frame the equivalent of SUMIF() function in dashboard designer using expressions?

Platform: Dashboard Platform |
Control: Dashboard Datasources

The SUMIF function adds all numbers in a range of cells based on specific criteria. For example, consider the below excel data. In this, using the formula SUMIF(A2:A6, D2,C2:C6), you will get the resultant value as 218.6.


In Dashboard Designer, we are not supporting SUMIF( ) expression directly under aggregation function, since our engine supports table based calculation not cell based.  But however we can achieve the same SUMIF( ) formula in Dashboard Designer using column based calculations like, IF([Year] = 2000, SUM([Value]), 0)


Follow the below steps to achieve the same in Dashboard Designer using expression column.

1. Open Expression Designer window.

2. Add expression column like below.

3. Drag and drop the widget. Click "Assign Data" button.

4. Switch to "Data" tab. Bind the created expression column and a dimension column like below.


5. Now you will get the same result where you got in excel using SUMIF function.

You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile