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

Defining 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 should take only Month as parameter. The other should take Month and Order method type. These reports will be referred to as Drill-1 and Drill-2 reports respectively.

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

How to do it...

In this recipe, you will see how to create a drill-through from a crosstab intersection to another report. To do this:

  1. Select the Month item placed on crosstab rows. Click on the drill-through definition button 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 as shown in the following screenshot:
  3. Now click on the unlock button from the toolbar to unlock the items.
  4. Select the text item from the 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.

主站蜘蛛池模板: 疏勒县| 宜丰县| 河北区| 汨罗市| 丹阳市| 上饶市| 竹北市| 麦盖提县| 达州市| 昌图县| 隆尧县| 上思县| 开原市| 武鸣县| 临漳县| 仪征市| 安阳市| 资源县| 巴青县| 海城市| 南昌市| 绵竹市| 剑阁县| 江口县| 仪征市| 洞口县| 绿春县| 阿鲁科尔沁旗| 双辽市| 通道| 平遥县| 大化| 科技| 林芝县| 班玛县| 天祝| 阆中市| 宜宾市| 石城县| 澄城县| 修文县|