m-Power Documentation

Total Level Calculations (Web 2.0 Reports)

This feature is ideal for those customers who wish to calculate % of Grand Total (or subtotal) within a report.

For instance, let's say that we would like to pull up a list of Products and see their Month to Date units sold. I would also like to know, based upon the grand total of all units sold, what is the profit margin for all sales on the grand total level.

First, we will need to build our report, being sure to utilize the “Web 2.0 Report” template.

Once the report is compiled, open the report within m-Painter.

Insert your cursor into the field where you would like to output the Grand Total (or subtotal) calculation. In this example it will be the lower right cell.

Click the “insert runtime calculation icon”.

calendar 4.bmp

To create your calculation, choose your fields from the dropdown selection on the right. Be sure to select the appropriate output level (Grand Total or Subtotal). Click “add” to add each field to the calculation expression and insert your desired arithmetic. Give the calculation an appropriate length and edit code and press “ok”.

Hit the “Save and Deploy Icon.”

At run time, my grand-total output would look similar to this:

Our runtime calculation has calculated a profit of 96.13%.


subscribe to newsletter
Want to receive weekly insight, tips, viewpoints, and news from a 28-year industry veteran? Enter your email below to subscribe!

m-Power Customers

Customers


mrc (US)
555 Waters Edge
Suite 120
Lombard, IL 60148
630-916-0662
mrc (UK)
Argyle House
1 Dee Road
Richmond, Surrey
TW9 2JN
+44-20-8322-7720