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

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.

主站蜘蛛池模板: 鸡泽县| 城口县| 景宁| 调兵山市| 浏阳市| 阿克苏市| 政和县| 三台县| 康乐县| 灵武市| 崇礼县| 长海县| 安丘市| 鱼台县| 五莲县| 深泽县| 乌拉特后旗| 高密市| 额尔古纳市| 三原县| 聂拉木县| 上思县| 东方市| 安达市| 静海县| 华阴市| 孙吴县| 洱源县| 寿宁县| 徐闻县| 应用必备| 荔浦县| 隆德县| 东乌珠穆沁旗| 阜平县| 灵川县| 慈溪市| 沙坪坝区| 新巴尔虎右旗| 梓潼县| 广安市|