News combit Dev Blog

Drilldown via Report Parameters

Posted: Tuesday, March 11, 2014 | 0 comment(s)
 
Building on the sound foundation of report parameters introduced in version 19 of our List & Label reporting tool, we've extended the way drilldown reports can be used in the report designer.
In addition to the drilldown via relations which we already had in the product for a couple of versions, you can now trigger a sub report that uses report parameters and set the parameter values depending on the item that you just clicked in the preview. This terrific feature works for pie/donut and bar charts, shapefile charts, table fields and crosstab contents. Of course, a drilldown report can contain another drilldown, too.
As with all the feature focus articles, keep in mind that this feature is not yet available in the current version, it will be part of List & Label 20.

Walkthrough

An easy yet powerful example: let's take the following chart that shows the revenue data distribution over the different categories. Now wouldn't it be nice to click on one of the bars and get the data that makes up the bar? Well, the new drilldown mode lets you do just that.



From the chart dialog, edit the (newly added) drilldown links property and create a new drilldown report. Add a report parameter @Category (just a simple text parameter), create the revenue report as required and make sure to set the Category table's filter to "Categories.CategoryName = @Category" in order to filter the data to the value of the report parameter.



Once you return to the drilldown link editor, you may now set the value of the @Category parameter. In this case, the CategoryName from the 1:1 linked category table is the value we need.



Once this report is run, you can now move the mouse over the bars of the chart. A hover effect indicates an active drilldown link. If you click one of the bars, the drilldown report will be triggered, the report parameter will be set to the category name you just clicked on and the data will be filtered accordingly to show the data you've just selected.


 

 
Neat, isn't it?
 
Oh well, but wait a minute – filtering in the report, isn't that somewhat slow? The surprising answer to this will be part of the next feature focus.




Author: Daniel Stein
Consultant, Development & Cooperations

Daniel trained with combit as a programmer specialized in software development. He is now engaged in software development and fosters business cooperations. He conducts software trainings and supports the sales team as technical advisor. In his spare time he enjoys mountainbiking around Lake Constance and in the Swiss Alps closeby.


 

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
April 2021 (1)
March 2021 (1)
February 2021 (2)
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)