[英]Parameters only in mondrian or in sql too in pentaho
Good morning, I have a question I try to pass some parameters to an sql query of the pentaho cde and I get an error (the query does not show anything).早上好,我有一个问题,我尝试将一些参数传递给 pentaho cde 的 sql 查询,但出现错误(查询未显示任何内容)。 The examples that I look on the internet use MDX on Mondrian.我在互联网上查看的示例在蒙德里安上使用 MDX。 Is it mandatory to create a schema in Mondrian and use MDX?在蒙德里安中创建模式并使用 MDX 是强制性的吗? Thank you very much非常感谢
You will find below description from pentaho docs您将在 pentaho 文档中找到以下描述
Typically your first action when creating a schema is to add a cube.通常,创建架构时的第一个操作是添加多维数据集。 Right-click the Schema icon in the schema window, then select Add cube from the context menu.右键单击架构窗口中的架构图标,然后从上下文菜单中选择添加多维数据集。 Alternatively you can click the New Cube button in the toolbar.或者,您可以单击工具栏中的“新建多维数据集”按钮。 A new default cube will show up in your schema.新的默认多维数据集将显示在您的架构中。
Add a table by clicking the New Table button, or by right-clicking your cube, then selecting Add Table.通过单击“新建表”按钮或右键单击多维数据集,然后选择“添加表”来添加表。 This will be your fact table.这将是您的事实表。 Alternatively you can select View or Inline Table if these are the data types you need for your fact table.或者,如果这些是事实表所需的数据类型,您可以选择查看或内联表。
Add a measure to the cube by right-clicking the cube and selecting Add Measure from the context menu.通过右键单击多维数据集并从上下文菜单中选择添加度量,向多维数据集添加度量。
Choose a column that you want to provide values for, then select an aggregator to determine how the values should be calculated.选择要为其提供值的列,然后选择一个聚合器以确定应如何计算值。
These instructions have shown you how to use Schema Workbench's interface to add and configure basic Mondrian schema elements.这些说明向您展示了如何使用 Schema Workbench 的界面来添加和配置基本的 Mondrian 模式元素。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.