News combit Dev Blog

Converting Crosstabs to Charts and Vice Versa in No Time

Posted: Friday, September 21, 2018 | 0 comment(s)
 
Crosstabs and charts have a lot in common. Often I find myself designing a crosstab for e.g. the sales per country. This works fine to get the absolute or even relative numbers. However, to get a visual impression of the fractions for a dashboard, I add a chart 99% of the time that shows just the same data as the crosstab.

While I know my way around very well this still feels very redundant - the data source is the same, the formulas are the same, actually everything besides the object type is the same. Enter the new crosstab to chart conversion.

Let's start off with a quite simple crosstab: sales per country and year. The configuration looks like this ...



... which results in this crosstab in the report:



To convert this crosstab to a chart, simply right click on the crosstab in the "Objects" window or choose the new context ribbon command:




The untweaked result then looks like this:





As there are rather many countries with a very small share the one thing we'll change is to introduce a minimum share of 5% - and our dashboard is beginning to take shape:



Now let's convert the crosstab to a bar chart additionally. The pie visualization "loses" a dimension of data as the sales per year are not visible from it. That's something a stacked bar chart (to which the multi dimensional crosstab will be converted automatically) can do better. After applying some tweaks like sorting the data by value and restricting it to remove some clutter (all of this described in this blog post) here's the final dashboard:


All of this is now a matter of minutes with all the redundancy removed - instead of fiddling with the data and formulas, you and your users can finally concentrate on just the layout and look and feel of the report once the data has been brought into shape in the crosstab. 

There's even more icing on the cake - you can do the same stuff vice versa - if you have a chart, just right click it in the object window to copy it as crosstab - it couldn't be any easier to toggle between the two types. BTW: creating crosstabs will be a breeze in LL24, but that's another story. Stay tuned.




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.


  

RSS
combit Development BlogRSS
What’s this blog for?
A place to share updates about the ongoing development of our products. General musings on the software industry included.
Archive
January 2021 (1)
December 2020 (2)
November 2020 (1)
October 2020 (2)
September 2020 (1)
August 2020 (2)
July 2020 (1)
June 2020 (1)
May 2020 (2)
April 2020 (2)
March 2020 (2)
February 2020 (1)
January 2020 (1)
December 2019 (1)
November 2019 (2)
October 2019 (2)
September 2019 (2)
August 2019 (2)
July 2019 (2)
June 2019 (2)
May 2019 (1)
April 2019 (0)
April 2019 (1)
March 2019 (1)
February 2019 (1)
January 2019 (1)
December 2018 (1)
November 2018 (2)
October 2018 (4)
September 2018 (4)
August 2018 (2)
July 2018 (2)
June 2018 (2)
May 2018 (1)
April 2018 (1)
March 2018 (1)
February 2018 (2)
January 2018 (1)
December 2017 (1)
November 2017 (2)
October 2017 (3)
September 2017 (3)
August 2017 (2)
July 2017 (2)
June 2017 (1)
May 2017 (2)
April 2017 (1)
March 2017 (1)
February 2017 (1)
January 2017 (2)
December 2016 (1)
November 2016 (1)
October 2016 (4)
September 2016 (5)
August 2016 (2)
July 2016 (2)
June 2016 (3)
May 2016 (2)
April 2016 (3)
March 2016 (3)
February 2016 (1)
January 2016 (2)
December 2015 (2)
November 2015 (1)
October 2015 (4)
September 2015 (5)
August 2015 (2)
July 2015 (2)
June 2015 (2)
May 2015 (1)
April 2015 (2)
March 2015 (1)
February 2015 (1)
January 2015 (1)
December 2014 (2)
November 2014 (1)
October 2014 (1)
September 2014 (2)
August 2014 (1)
July 2014 (2)
June 2014 (1)
May 2014 (2)
April 2014 (1)
March 2014 (2)
+1 800 256 3608 (toll-free North America only)