在Discoverer中计算总计算结果 [英] Totalling calculation results in Discoverer

查看:108
本文介绍了在Discoverer中计算总计算结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Discoverer工作表中创建了一个计算,并尝试生成结果的小计 - 但是,Discoverer一直处于失败状态。由于我是系统的新手,为了创建这个总数,我还应该做些什么吗?


谢谢

解决方案

我从你的POST中假设的是,你无法计算来自总计的子结果:


在这种情况下你为什么不尝试计算SUB-TOTALS工作表本身(在查询中使用GROUP BY子句),然后在工作簿中使用该列。


感谢您的回复,但由于我对系统这么新,我我不确定你的意思。


我正在使用的计算结果是:


计算4:


案例当Positions.Actual Headcount = 0然后1 ELSE Positions.Actual Headcount END


这是为了避免在以下区分为零:


计算7:


组织简介.Postion Fte / Calculation4



然后尝试产生Cal的小计culation7,工作表失败。


有没有办法解决这个问题。?

谢谢。



感谢您的回复,但由于我对系统不熟悉,我不确定您的意思。


计算结果我正在使用的是:


计算4:


情况当Positions.Actual Headcount = 0然后1 ELSE Positions.Actual Headcount END


这是为了避免以下除以零:


计算7:


组织Profile.Postion Fte / Calculation4


当然后尝试在Calculation7上生成小计时,工作表失败。


有没有解决这个问题。?

谢谢。



检查计算示例此处


I have created a calculation in a Discoverer worksheet and am trying to produce a subtotal of the results-however, Discoverer keeps on failing . As I am new to the system is there something additional that I should be doing in order to create this total?

Thanks

解决方案

What I assume from yur POST is that U r not able to compute SUB-Results from the TOTAL:

In that case why dont you try computing the SUB-TOTALS in the Work sheet itself (using GROUP BY clause in the Query) and then use that column in your Work Book.


Thanks for your reply but as I''m so new to the system,I''m not sure what you mean.

The calcultions That I''m using are:

Calculation4:

CASE WHEN Positions.Actual Headcount = 0 then 1 ELSE Positions.Actual Headcount END

This is to avoid a divide by zero in the following:

Calculation7:

Organisation Profile.Postion Fte/Calculation4


When then try to produce a subtotal on Calculation7, the worksheet fails.

Is there a way around this.?
Thanks.


Thanks for your reply but as I''m so new to the system,I''m not sure what you mean.

The calcultions That I''m using are:

Calculation4:

CASE WHEN Positions.Actual Headcount = 0 then 1 ELSE Positions.Actual Headcount END

This is to avoid a divide by zero in the following:

Calculation7:

Organisation Profile.Postion Fte/Calculation4


When then try to produce a subtotal on Calculation7, the worksheet fails.

Is there a way around this.?
Thanks.

Check for calculation examples here


这篇关于在Discoverer中计算总计算结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆