【问题标题】:How can I use an OVER statement in spotfire when connected to an external database?连接到外部数据库时,如何在 spotfire 中使用 OVER 语句?
【发布时间】:2016-07-27 14:55:54
【问题描述】:
  1. 通常,我从 excel 文件中导入数据时一直使用以下计算列:

    (Sum([Units]) - Sum([Units]) OVER (PreviousPeriod([Axis.Columns]))) / Sum([Units]) OVER (PreviousPeriod([Axis.Columns])) * 100 as [% Difference]
    
  2. 但是,在这种情况下,数据直接来自 Oracle 数据库。 当我尝试创建计算列时,我收到错误消息:

"找不到函数:'PreviousPeriod'"

  1. 我做了一些研究,发现我应该使用 THEN 关键字,但是当我尝试在聚合表达式之后插入它时,我遇到了同样的问题。

【问题讨论】:

    标签: oracle window-functions spotfire


    【解决方案1】:

    您需要通过INFORMATION LINKEMBED 导入分析中的数据,以便使用 SPOTFIRE 中的大部分功能。如果您必须将未通过 Information Link 或 Embedded 连接的数据保留在外部,您将无法使用 SPOTFIRE 中的所有功能。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-06-14
      • 1970-01-01
      • 1970-01-01
      • 2017-10-15
      • 2021-12-11
      • 1970-01-01
      相关资源
      最近更新 更多