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

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.

主站蜘蛛池模板: 辉县市| 晋江市| 宜黄县| 博乐市| 中牟县| 宾阳县| 东源县| 浦东新区| 共和县| 额济纳旗| 彭泽县| 陇川县| 郴州市| 迭部县| 临夏市| 阿勒泰市| 大余县| 鄂伦春自治旗| 东乡族自治县| 永和县| 江孜县| 玉田县| 界首市| 桂东县| 合阳县| 金寨县| 裕民县| 肥西县| 五家渠市| 上犹县| 玉溪市| 新余市| 丰台区| 台南县| 阜宁县| 福海县| 浦东新区| 漠河县| 麻江县| 蕉岭县| 玉林市|