Pentaho报表设计器:如何创建基于OLAP立方体的图表?

发布于 2024-09-16 08:38:45 字数 395 浏览 2 评论 0原文

使用 Pentaho Report Designer,我可以成功地将 OLAP 多维数据集的数据显示为表格。

但是当我想显示与图表相同的数据时,它总是失败并显示“CHART.USER_NO_DATA_AVAILABLE”。

实际上,我真的不知道应该为类别列和值列输入什么。我尝试过:

category-column = [Area].[prefecture]
value-columns = [[Product].[Product.Product].[All Products].[productA]]

以及我能想到的任何其他变体,但没有成功。有什么想法吗?谢谢!
我的 OLAP 多维数据集是 Pentaho Analysis:每个产品和县的销售计数。

Using Pentaho Report Designer, I can successfully display my OLAP cube's data as a table.

But when I want to display the same data as a chart, it always fail saying "CHART.USER_NO_DATA_AVAILABLE".

Actually, I don't really know what I should enter for category-column and value-columns. I tried:

category-column = [Area].[prefecture]
value-columns = [[Product].[Product.Product].[All Products].[productA]]

And any other variation I could think of, but no success. Any idea? Thanks!
My OLAP cube is a Pentaho Analysis: sales count for each product and prefecture.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

小猫一只 2024-09-23 08:38:45

只需使用:

[Product].[Product.Product].[All Products].[productA]

如果是公式,则只需在整个字段名称周围添加额外的方括号。

或者从下拉列表中选择字段..然后您就知道您选择了正确的字段!

如果您正在执行时间序列 xy,请注意您必须重复类别列值与值列一样多的次数。

还要确保您也有一个系列名称。

Just use:

[Product].[Product.Product].[All Products].[productA]

You only need the extra square brackets around the entire fieldname if it's a formula.

Or pick the field from the dropdown.. then you know you have the right one!

If you're doing a timeseries xy, note you have to repeat the category column value as many times as the value column.

also make sure you have a series name too.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文