【问题标题】:obiee count distinct by as part of total count distinctobiee count distinct by 作为总计数的一部分
【发布时间】:2013-09-22 23:15:18
【问题描述】:

我需要在 OBIEE 中创建以下“数字分布”报告:

item name, 
count(distinct item_id by item_name), 
count(distinct item_id by item_name)/count(distinct item_id)

(第三列应该是按项目名称区分的计数百分比/按总数区分的计数) 如何获得不同的总数?我被困住了,我将不胜感激。

结果应该是:

 Item 1 , 10,  50%
 Item 2 , 20, 100%

客户总数为 20,其中 10 人购买 Item_1,其中 20 人购买 Item_2

【问题讨论】:

    标签: oracle count distinct obiee


    【解决方案1】:

    单击数据透视表中的度量,然后单击“显示数据为”>百分比>列。

    就是这样

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-05-02
      • 2021-11-06
      • 2020-10-30
      • 2014-11-07
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多