How to slice a data cube in Birt designer?

假如想象 提交于 2020-01-14 19:09:41

问题


I created a data cube in Birt designer with the following data :

  • Measure : turnover
  • Dimensions : product, location and time

I have now a three-dimensional OLAP data cube I want to display in a two-dimensional array.

My problem here is I don't know how to assign a constant value for one dimension (for example : product = "computer" or time = "2014")


回答1:


There are a couple of ways to do this. In terms of performance, the most efficient one would be to add a parameter to the main dataset of the cube and filter here.

If you can't filter in the dataset (for example if other report elements make use of the third datacube dimension), another option is:

  • Add the dimension you want to slice as a first column dimension of the crosstab, such "Product line" dimension of the screen below.
  • Add a cross-tab filter and set an expression filtering on this dimension, for example by filtering on the value of a report parameter or on a constant value
  • Facultative, if you don't want it to be displayed: select the value of the dimension in the crosstab (just click "PRODUCTLINE" label in this example) and turn the visibility property to "hide".



来源:https://stackoverflow.com/questions/28210862/how-to-slice-a-data-cube-in-birt-designer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!