Sum Dynamic Values with DMXzone App Connect Data Formatter

Sum Dynamic Values with DMXzone App Connect Data Formatter

Learn how to sum values returned from a database query

With this movie we will show you how to sum values returned from a database query, using DMXzone App Connect Data Formatter.

Step by Step

We have a dynamic table on our page, which lists our products as well as every product's quantity. We'd like to display the total products quantity. Click on your page, where you'd like to show the total (1) and click insert binding (2).

Under server connect component, data, select your query (1) and click the formatter button (2).

Right-click the selected expression (1) and under collection, select sum. When you're done, click select (3).

Click property (1) and and click the dynamic data button in order to select the column which values you want to sum (2).

Select the products in stock column (1) and click select (2).

Click select.

Again, click select to insert the formatter value on your page.

Once the page loads, you can see the total quantity value, displayed on your page.

Extensions Covered

Comments

Be the first to write a comment

You must me logged in to write a comment.