官术网_书友最值得收藏!

Drill-through from crosstab intersection

We have a crosstab report that shows sales quantity by month and order method. We need to create drill-through links from months and sales values.

Getting ready

Create two target reports for the drill-throughs. One takes only Month as parameter. The other takes Month and Order Method (Henceforth referred to as Drill-1 and Drill-2 reports respectively).

Create a simple crosstab report to be used as main report. Pull Time dimension | Month on rows, Order method | Order method on columns, and Sales fact | Quantity as measure.

How to do it...

  1. Select the Month item placed on crosstab rows. Click on the drill-through definition button How to do it... from the toolbar.
  2. This opens the drill-through definitions dialog. Create a new definition. Select Drill-1 as Target Report. Map the month parameter with the month data item.
    How to do it...
  3. Now click on the unlock button How to do it... from toolbar to unlock the items.
  4. Select the text item from crosstab intersection. Hit the drill-through button again.
  5. Create a drill link to Drill-2.
  6. Run the report and test both the drill links.

How it works...

You will notice that when we created the drill-through from row titles (month), we didn't have to unlock the items. Whereas, for the intersection, we had to unlock them.

Now try one thing. Lock the report objects again and select the crosstab intersection. Try to create drill-through now. You will see that the drill-through definition button is disabled.

For some unknown reason, Report Studio doesn't allow you to create drill-through from crosstab intersection. You need to select the 'Fact cells' class or the 'Text item' within the intersection. By unlocking the object, we select the text item within the intersection and create a link from there.

Another way is to right-click on the intersection, and to choose 'Select Fact cells'. This will enable the drill-through button and let you define one.

主站蜘蛛池模板: 昂仁县| 衡水市| 蓝山县| 遵化市| 昌江| 南投市| 鄂伦春自治旗| 八宿县| 南江县| 徐汇区| 孝昌县| 阿鲁科尔沁旗| 玛曲县| 鹤峰县| 兰州市| 铁力市| 上犹县| 静宁县| 广平县| 新蔡县| 白山市| 巴彦淖尔市| 麻江县| 昌邑市| 泰宁县| 德清县| 盖州市| 同心县| 海林市| 喜德县| 忻州市| 盐池县| 红安县| 贵港市| 巩留县| 永定县| 白河县| 江阴市| 洛宁县| 揭西县| 萨嘎县|