472,334 Members | 1,921 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,334 software developers and data experts.

Totalling calculation results in Discoverer

5
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
Sep 3 '07 #1
11 4165
amitpatel66
2,367 Expert 2GB
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.
Sep 3 '07 #2
gric
5
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.
Sep 7 '07 #3
amitpatel66
2,367 Expert 2GB
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
Sep 7 '07 #4
amitpatel66
2,367 Expert 2GB
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.
Please post the error that the worksheet displays?
Sep 7 '07 #5
amitpatel66
2,367 Expert 2GB
Please post the error that the worksheet displays?
Why dont you combine the two calculations in to one and just use one calculation:

Something Like:

CASE WHEN <col_nam> > 0 THEN <colnam> /<col_nam> ELSE <colnam>/1 END
Sep 7 '07 #6
gric
5
The error message that I get whenever I try to total Calculation7is:

"No data is shown because an error occurred while running the query"
-not very informative I'm afraid.

Thanks for the advice about combining the calculations-I'll have a go.

Cheers
Sep 7 '07 #7
amitpatel66
2,367 Expert 2GB
The error message that I get whenever I try to total Calculation7is:

"No data is shown because an error occurred while running the query"
-not very informative I'm afraid.

Thanks for the advice about combining the calculations-I'll have a go.

Cheers

Do POST back after testing for single calculation.
Sep 7 '07 #8
gric
5
The calculation worked fine but the worksheet failed when I introduced a sum operation on the calculation.
Thanks
Sep 7 '07 #9
amitpatel66
2,367 Expert 2GB
The calculation worked fine but the worksheet failed when I introduced a sum operation on the calculation.
Thanks
U are trying to create one more calculation that calculates SUM (previous calculation) ??

Pleas POST yur CALCULATION CODE for my reference
Sep 8 '07 #10
gric
5
Hi,

Thanks for spending your time over this. I created the following as a calculation

(Calculation7). I then used Calculation7 in a SUM calculation. By itself, Calculation7 worked fine but when quoted in a SUM calculation the Worksheet failed.

CASE WHEN Positions.Actual Headcount > 0 THEN Organisation Profile.Positions Fte/Positions. Actual Headcount ELSE Organisation Profile.Positions Fte/1 END

Regards
Graham
Sep 10 '07 #11
amitpatel66
2,367 Expert 2GB
Hi,

Thanks for spending your time over this. I created the following as a calculation

(Calculation7). I then used Calculation7 in a SUM calculation. By itself, Calculation7 worked fine but when quoted in a SUM calculation the Worksheet failed.

CASE WHEN Positions.Actual Headcount > 0 THEN Organisation Profile.Positions Fte/Positions. Actual Headcount ELSE Organisation Profile.Positions Fte/1 END

Regards
Graham
I think you cannot use one calculation in to another as you had the same problem before also. That is why i asked you to combine the two in to one.
Now why dont you try computing the SUM in the same calculation itself.
Sep 10 '07 #12

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Ana RM | last post by:
Hi!! I am connecting Oracle Discoverer to Informix. The connection is OK. I can create an EUL in the Administrator, and make calcules,...
0
by: Ana RM | last post by:
Hi everybody, I have a problem in Discoverer. The point is that I donīt want to refresh data each time I open a workbook. I want to mantain old...
0
by: Paul Winter | last post by:
I'm new to both Oracle and Discoverer. Could someone point me in the direction of where to set the inactivity timeout for Discoverer Plus? ...
1
by: Monica Roman | last post by:
Hello, Disclaimer: I'm a TOTAL rookie. I just went through unistalling Oracle to be able to install Discoverer, which was succesful. (Our...
0
by: 882900 | last post by:
hello people of the free world..... I'm upgrading my Oracle DB from 7 to 9.2 and I used to run discoverer 3 but now I dont know what discoverer...
2
by: bassman | last post by:
In a simple grouping and totalling query, the values 153.98 and 91.65 appear in a field within a group of records and will be summed by the query. It...
1
by: Ana RM | last post by:
Mark.Powell@eds.com (Mark D Powell) wrote in message news:<2687bb95.0308010642.1fc4ff1f@posting.google.com>... Hi Mark, Thanks por answer me....
1
by: Ole Hansen | last post by:
Hi ! I am trying to learn how to use Oracle Discoverer. I have worked with databases, like Oracle for several years, but i am new to...
0
by: vamsioracle | last post by:
Hi all I have installed oracle discoverer 4.1.37 on my machine and i have database 9i. Now i try to login in discoverer, it says tns no listner. I...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.