Calculated Columns

Example
Data Table with Calculated Stock Value Column
Product ID
Product Name
Quantity Per Unit
Unit Price
Units In Stock
Stock Value
1Chai10 boxes x 20 bags$18.0039$702.00
2Chang24 - 12 oz bottles$19.0017$323.00
3Aniseed Syrup12 - 550 ml bottles$10.0013$130.00
4Chef Antons Cajun Seasoning48 - 6 oz jars$22.0053$1,166.00
5Chef Antons Gumbo Mix36 boxes$21.350$0.00
6Grandmas Boysenberry Spread12 - 8 oz jars$25.00120$3,000.00
7Uncle Bobs Organic Dried Pears12 - 1 lb pkgs.$30.0015$450.00
8Northwoods Cranberry Sauce12 - 12 oz jars$40.006$240.00
9Mishi Kobe Niku18 - 500 g pkgs.$97.0029$2,813.00
10Ikura12 - 200 ml jars$31.0031$961.00
11Queso Cabrales1 kg pkg.$21.0022$462.00
12Queso Manchego La Pastora10 - 500 g pkgs.$38.0086$3,268.00
13Konbu2 kg box$6.0024$144.00
14Tofu40 - 100 g pkgs.$23.2535$813.75
15Genen Shouyu24 - 250 ml bottles$15.5039$604.50

  This Data Table element includes:

  • Minimal attribute settings
  • Alternating row background color
  • Draggable and sortable columns
  • Calculated Stock Value column

Custom Column Examples
Raw DataSeq #FormattedCalculatedRankDifferenceMoving AvgRunning TotalAggreg SumPercentage
32.381$32.381.4650.0032.3832.38726.674.46%
11.612$11.610.522-20.7722.0043.99726.671.60%
65.833$65.832.961054.2236.61109.82726.679.06%
41.344$41.341.866-24.4937.79151.16726.675.69%
51.35$51.302.3179.9640.49202.46726.677.06%
58.176$58.172.6296.8743.44260.63726.678.01%
22.987$22.981.034-35.1940.52283.61726.673.16%
148.338$148.336.6713125.3553.99431.94726.6720.41%
13.979$13.970.633-134.3649.55445.91726.671.92%
81.9110$81.913.691167.9452.78527.82726.6711.27%
140.5111$140.516.321258.6060.76668.33726.6719.34%
3.2512$3.250.151-137.2655.97671.58726.670.45%
55.0913$55.092.48851.8455.90726.67726.677.58%
Time Period Column Examples
Raw DataCXMLDate()FormattedDayDay/WeekDayDay FullDay/MonMonth #MonthMonth FullQuarterYear
2010-07-31T00:00:00.00007/31/2010Jul 31, 2010316SatSaturday317JulJuly32010
2010-08-01T00:00:00.00008/01/2010Aug 01, 201010SunSunday18AugAugust32010
2010-09-02T00:00:00.00009/02/2010Sep 02, 201024ThuThursday29SepSeptember32010
2010-10-08T00:00:00.00010/08/2010Oct 08, 201085FriFriday810OctOctober42010
2010-11-12T00:00:00.00011/12/2010Nov 12, 2010125FriFriday1211NovNovember42010
2010-12-23T00:00:00.00012/23/2010Dec 23, 2010234ThuThursday2312DecDecember42010
Time Period Columns - 1st & Last
Raw Data1stDay YearLastDay Year1stDay QtrLastDay Qtr1stDay MonthLastDay Month1stDay WeekLastDay Week
2010-07-31T00:00:00.0002010-01-012010-12-312010-07-012010-09-302010-07-012010-07-012010-07-252010-07-31
2010-08-01T00:00:00.0002010-01-012010-12-312010-07-012010-09-302010-08-012010-08-012010-08-012010-08-07
2010-09-02T00:00:00.0002010-01-012010-12-312010-07-012010-09-302010-09-012010-09-012010-08-292010-09-04
2010-10-08T00:00:00.0002010-01-012010-12-312010-10-012010-12-312010-10-012010-10-012010-10-032010-10-09
2010-11-12T00:00:00.0002010-01-012010-12-312010-10-012010-12-312010-11-012010-11-012010-11-072010-11-13
2010-12-23T00:00:00.0002010-01-012010-12-312010-10-012010-12-312010-12-012010-12-012010-12-192010-12-25
Time Period Columns - Time
Raw DataHourMinuteSecondMilliSecs1st Minute/Hour1st Sec/Min1st Millisec/Sec
2010-07-31T00:00:00.00000000012:0000:0000.00
2010-08-01T00:00:00.00000000012:0000:0000.00
2010-09-02T00:00:00.00000000012:0000:0000.00
2010-10-08T00:00:00.00000000012:0000:0000.00
2010-11-12T00:00:00.00000000012:0000:0000.00
2010-12-23T00:00:00.00000000012:0000:0000.00