News combit Dev Blog

Enabling Multiple Result Cells for Crosstabs

Posted: Wednesday, March 16, 2016 | 0 comment(s)
As this was one of the most frequent requested features in our feedback portal and we hadn't visited the crosstab's features for a couple of versions, this feature was an easy pick. A crosstab is aggregating values and groups them by two or even more dimensions. Until version 22, there was exactly one aggregation possible, e.g. you could have either the number of orders or the revenue sum per customer and year, not both. In LL22, there is no limit anymore.

Let's do a quick walkthrough. We start with one of the "classy" examples, a crosstab showing the number of sold items per Shipper, Category, Quarter and Year:

New feature of version 22

By the way, the dark blue total column displays the same amount as the year-total 2015 because we only use data from 2015 in this crosstab. Now we'd like to add a result cell for the generated revenue. Using the new feature is straight forward – where there was a simple edit field in version 21 we now have a list of entries for the result cells. In this shot, we already added the new revenue result cell on the bottom right hand side.

New feature of version 22

The new aggregates are printed side-by-side in the crosstab, i.e. the crosstab grows in size horizontally:

New feature of version 22

If you like, you can assign a separate column heading to each of the new cells by setting the new "Row Header" property of the cells:

New feature of version 22

Of course, the overall results also reflect the new columns, so you not only get the aggregations for details but also for the totals per year/quarter etc. The new feature greatly enhances the crosstab's usability. You have been able to kind of get this feature before by using the "Displayed Content" property in creative ways. However, this was error prone and cumbersome to fiddle with. The new solution makes multiple result cells a first class Designer citizen.

Author: Jochen Bartlau
Head of Development List & Label

Jochen Bartlau leads the development at combit as Managing Director. He's a Microsoft .NET enthusiast driving innovation & agile project management. The mobile devices geek who used to be a physicist in his first life loves to spend his spare time with his family.


+1 800 256 3608 (toll-free North America only)