How to make the calculation or formula in bottom of the coloum

How to make the calculation or formula in bottom of the coloum in Discoverer report.
Regadrs
Manikandan

Hi Ros
You have a couple of issues, one that is simple to resolve and one that is not so simple.
First, the simple one - the word TOTAL. To alter the word that Discoverer inserts next to a total, or to even remove the word altogether, use this workflow:
1. Right-click on the total and from the pop-up menu select Edit Total
2. At the bottom right-hand corner of the Edit Total dialog box is the area where the label is maintained. You will see a checkbox for the label
3. If you uncheck the label you can change the label to anything you like, including nothing
4. After you have set the label, click OK and close the Edit Total dialog box
Note: In Desktop, this is done via a drop-down from the Total dialog box. If you click the drop-down, the last item in the list is called Generate Label Automatically. If you uncheck this you can create your own label.
Your second issue concerning the non-totaling of the grand total on some items means that there is something preventing one or more of the totals from calculating. First of all, try to determine which item or items is causing the problem by adding individual totals to each of the desired columns. You will eventually find the column which has the culprit. If you use the above workflow to suppress the display of any labels your total line will look as though you have totaled all items.
Next, having found the column that will not total, try to figure out why the values will not add up. Could the column be a calculated item? If so, it is possible that you have used SUM on the outside of the calculation, like this:
SUM(some item - some other item) - this will not total if the original items themselves are in the query and are also being summed. This is because you are mixing aggregate and detail items within the total.
Try changing the formula like this:
SUM(some item) - SUM(some other item) and see if this helps.
If this is not the cause then try changing the formula for that column's total to CELL SUM instead of SUM. This causes Discoverer to literally add the values in the column.
If this is not the cause, could you possibly be trying to total repeated values? By default, this is disabled in the later versions of Discoverer. The repeated values will be caused if you have multiple joins in your query and the item that you are totaling is from the many end of a one to many relationship. Suppose you had items from a header table and line table in the same worksheet with there being multiple lines for the same header, and now let's say you have a column which is returning something from the header. That value will get repeated and if you try to total it would generate the wrong answer, hence out of the box Discoverer is trying to protect you from yourself.
However, it could be that the column really should be totaled but because Discoverer has detected a one to many join it will not total that column. To prove that this is the reason, change the join from a one to many to a one to one. Don't worry, this won't stop the query from working. If this allows the total to work then you can either leave the join as it is with a one to one, which won't harm Discoverer or you can edit the pref.txt on the server and change one of the preferences.
The preference I would change is called AllowAggregationOverRepeatedValues. By default this is disabled and will be set to 0. Changing this to a 1 will now tell Discoverer that repeated values can now be totaled. Don't forget to apply the preferences correctly by execiting applypreferences.bat, on Windows or applypreferences.sh, in Linux or Unix, and then stopping and restarting the Discoverer server.
I hope this helps
Best wishes
Michael Armstrong-Smith
URL: http://learndiscoverer.com
Blog: http://learndiscoverer.blogspot.com

Similar Messages

  • Hi , How to make a calculated kf as local in the query definition

    Hi ,
    How to make a calculated kf as local in the query definition
    Regards,
    Ravi.

    Hi,
    Calculate KF consists of Basic, restrict and other calculated kFs stored in Metadata repository.
    Calculate KF is a replicate of Formula and acts as Global.
    Calculate KF acts as Global--you can use Globally.
    Formula as Local--you can use as local to Query.
    you can create the Calculate KF as follow:
    Goto Query Designer>Open/Create Query>Select Key Figures Mode on left side of Query>Select that KF node> right click Select Calculate Keyfigure.
    then one popup window dispays, so you make the calculations based on Basic KF, Restirct Kf and Formule. then save it.
    Regards,
    Suman.

  • In windows 7, how to make firefox start automatically when I turn on the computer

    In Windows 7, how to make Firefox start automatically when I turn on the computer. Note, I am asking how to do this with Windows 7, not xp, not vista.

    You need to place a shortcut to open Firefox in the Start > Programs > Startup folder.<br />
    That is basically the same in all Windows versions.

  • How to make a select list editable or searchable like the combobox

    Does anybody know, How to make a select list editable or searchable like the combobox? Do we need a plugin here, where I can get it.

    Hi Nilesh,
    If this is what you are looking for http://apex.oracle.com/pls/apex/f?p=32395:3:1202144397644679
    get the combobox plug-in
    http://www.apex-plugin.com/oracle-apex-plugins/item-plugin/searchable-combobox.html
    I have not tried this though. Found it while searching for some other plug-ins.
    Regards,
    -Senthil

  • How to make a summary column appear only once (in the first page only) in SSRS 2008?

    Hello Everyone,
    How to make a summary column appear only once (in the first page only) in SSRS 2008?
    Regards
    Gautam S
    Regards

    Hi,
    Assuming you have test data like this ;
    select 'abc'as [GROUP],'NN' name , 1 id
    union all
    select 'abc' as [GROUP] ,'PP' name , 1 id
    union all
    select 'abc'as [GROUP],'RR' name , 2 id
    Step1  : take Tablix with row group as your group Name .
    Step2 : right Click on Row Group Details -> Delete-> Delete Group Only
    Step3 : In Count Cell use below expression ;
    =CountDistinct(Fields!id.Value)
    Follow this link;
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/b6b45917-0a26-4d15-be46-2c6a2697d6e9/distinct-rows-sum?forum=sqlreportingservices#5ffdee06-c2c8-44ea-a3a5-b958488bb6b5
    Thanks
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. http://techequation.com

  • TS1363 The "calculator" doesn't go scientific when the iPod is turned sideways.   ?

    The "calculator" doesn't go scientific when the iPod is turned sideways.  ?

    Try force-closing the Calculator app: from the home screen, double-tap the home button, locate Calculator in the list at the bottom, tap and hold it until it wiggles, tap to close it, tap the home button.

  • How to make a JDialog scrolling from one position to the other.

    Hi all,
    I want to move a JDialog from one position to the other(actually I want to scrolling/moving as messenger notification appear on top of the system tray) on the desktop.
    Anyone of you can give me a clue.
    Thanks

    Ok here what I have try up to now. First make the initial position of the JFrame as follows.
        private void SetWindowLocation()
            final int screenHeight = Toolkit.getDefaultToolkit().getScreenSize().height;
            final int screenWidth = Toolkit.getDefaultToolkit().getScreenSize().width;
            final int frameHeight = this.getHeight();
            final int frameWidth = this.getWidth();
            int _y = (screenHeight - frameHeight - 32);
            int _x = (screenWidth - frameWidth);
    // Initial location
            this.setLocation(_x, _y); 
    }This code place my Frame in the lower-right corner on top of the system-tray.
    Then as you guys says, try to work on a Timer. Now I'm stuck with the action listener. I try to move the frame to upper-right corner.
        private void SetWindowLocation()
            final int screenHeight = Toolkit.getDefaultToolkit().getScreenSize().height;
            final int screenWidth = Toolkit.getDefaultToolkit().getScreenSize().width;
            final int frameHeight = this.getHeight();
            final int frameWidth = this.getWidth();
            int _y = (screenHeight - frameHeight - 32);
            int _x = (screenWidth - frameWidth);
    // Initial location
            this.setLocation(_x, _y); 
            _timer = new javax.swing.Timer(100, incrementYPosition);
    ActionListener incrementYPosition = new ActionListener() {
            public void actionPerformed(ActionEvent evt) {
                       while(_y > 0){
                            // do the processing here.
                            // reduce the _y value and set the new location with _x
                    };I'm stuck with that how to involve with the ActionListener here. :(:( After set the initial location how to deal with the ActionListener.
    Any help.

  • How to make it sound as if it is in the next room.

    I am new to the audio editing/mixing.
    I am curious how to make dialog sound as if it is happening in the next room.
    I vaguely remember a setting that was doing something like it and it was actually called similarly (In the next room), but now I can't find it.
    If it doesn't exist and it was one of those borscht induced nightmares, how one would approach this anyway?
    Thanks a lot in advance.

    In the effects rack, there are several "room" settings you can apply, and tweak the parameters to make it sound as if it's in the same room or next door.

  • How to make my music library on my iPhone appear the way I wanted?

    Hi there, I have created my own music library by ligit CDs and have purchased some songs through iTunes, it is saved onto my macbook pro, since I have songs in Chinese, Japanese and English, I have re-arranged and re-editded my music library my own way of song titles, artist names, album titles, artwork, year of album release etc (part of the reason is that sometimes song data from iTunes were incorrect). And, I would like to duplicate my music library / playlist in the same way of appearance on my iPhone 5s and iPod touch, I have turned off all the auto downloads on music settings and iCloud settings, and I am only copying my music from Macbook to iPhone through a cable, but it still won't work and still appear how the song, artist, artwork was shown in iTunes.
    Is there any way to make it work? Its really frustrated as the data of the songs are incorrect, I could change anything in my library in my Macbook, but I can't duplicate that onto my iPhone and iPod.....
    Thanks a lot...!

    This article may help
    https://discussions.apple.com/docs/DOC-3991

  • How to make round curves when you are animatting with the Rec mode?

    Hi! I am making a project in motion. I recored a freind writing words and stuff in the roof of my house with two flashlights. My plans was to follow the lights with motion traking: Analize move or match move. And then add a particle emmite for making something like this: http://www.youtube.com/watch?v=MZf2W3S7gV0&feature=fvw . When i tried to make the match move it was imposible. So i desided to make it manually with the REC button. And it work perfectly, the only problem is that it can's achive the round cruves (bezier like). I can only make squared like turns and it looks awful. I have also tried bezier as a path but i don't know how to make the particle emmiter follow it with different speeds, becouse the movement of the flashlight is inconstant.
    What can i do to make a round curved path and make a particle emmiter follow it with the rec button with the different speeds of the flashlights? Please help me!!!! I have to deliver this work for tuesday!
    Thanks for you time y hope you can help me out as soon as possible.
    Juan Javier.
    PD Sorry for my english! jajajaja.

    Juan Javier Ibarra Pitts wrote:
    When i tried to make the match move it was imposible.
    Hi
    Why was it impossible?
    It sounds like tracking is the only way your going to achieve what your after given the way you've shot your footage and the spatial and temporal nuances therein.
    You'll find comprehensive instructions on how to track particles to footage starting on page 49 of this document:
    http://manuals.info.apple.com/en/MotionSupplementalDocumentation.pdf
    Regards.

  • How to make bookmark tree open dynamically when moving in the content?

    Intro: When viewing a PDF-file with a bookmark tree, I can unfold(open) nodes in the bookmark tree and make the view window jump to the corresponding destination.
    If the bookmark tree is open (unfolded) I can observe a selection mark moving downwards in the bookmark tree as I move down in the content.
    Question: Is it possible to make the folded bookmark (outline) tree open dynamically as I move down in the content? I would like to see the bookmark tree unfold automatically and move the highlight to the bookmark (outline) node for the bookmark position nearest to (above) the view point in the content window.

    Dave,
    thank you for quick and precise answer.
    Magne

  • How to make a circle and a line ending (at the centre of the circle) lock and move together?

    I'm new to Illustrator and perhaps it's not the best software of CS6 Master for doing this, but:
    I have a few (13) circles, they are connected with lines (one line from the centre of a circle to the centre of the next one, so 13 connecting lines). I need to move the circles around in order to create the appearance that suits me best, but I want the connecting ending to move together (see picture below). I need to do this often and get an immediate visual feedback. How do I do it? Am I using the wrong software altogether?
    Thanks in advance to all who will try and help out!

    Here's a way of doing it with the Appearance panel and multiple fills converted to an ellipse.
    1 You create your path with all the segmentts you require can be an open or closed path.
    2. Convert the fill only to an Ellipse. Effect>Convert to Shape>Ellipse (use the Absolute option and give it the dimension you want the circle to be) (cn cahnge this at anytime in the future as well as the color of the circles)
    3. Using the Effect>Distort and Transform>Transform move the circle fill to a position corresponding to an anchor of the path as to position the circle with the nchor as the center.
    4. In the Appearance panel Option (Alt) drag the fill with the convert to ellipse and the transform down or up to duplicate it, or se the flyout of the Appearance panel to duplicte the fill.
    (do this for each circle you need) You will only have to adjust the transformation vertical and horizontal positions, Bith effects will be duplicated when you copy the fill so you only adjust the transformeffecct that is already associated with the fill.
    Like this:

  • How to make a common parameter for two subreports in the main report.

    Hi,
    I have a crystal report which has 2 subreports in it. Both the subreports have the same code and I need to create a parameter for Project Cost in both the subreports for filtering the data.
    When i create the same parameter in both the subreports, i see two parameters with same name on my prompt page while refreshing the report. however I just want 1 parameter on my prompt page and data should get filtered in both the reports.
    Can anyone please suggest something, How can I do that? is there a way for sharing same parameter between two subreports?
    Thanks!
    Neha.

    hi Neha,
    here's how to do this:
    1) create a new parameter with the same name on the main report
    2) right click on your first subreport and choose Change Subreport Links
    3) in the Field to Link To list drag over your new main report parameter
    4) open the Subreport Parameter Field to Use select menu and choose your subreport parameter
    5) repeat steps for the 2nd subreport
    now you'll only get prompted once.
    cheers,
    jamie

  • How to make a field in a form required when the prior field (a dropdown) has content entered

    I have a table with 15 columns of various questions/topics (year, course number, instructor, etc) and 14 rows of input fields. A couple are dropdown menus, but the rest are just text fields. The client wants (most) of the fields to be required but the amount of rows used will be different for each user. So I'm trying to get each row of fields to only be required if the first field in each row (which is a dropdown) has a selection made (to avoid users from getting a required field error if they only enter say 3 rows of content of the 14 possible rows.) I'm assuming this will be a javascript if/then situation, but have been having trouble finding a similar example via google. thanks!

    Hi,
    You can make fields non-editable at runtime using this code:
    field.access = "readOnly"
    Hope this helps.
    Amit

  • How to Make Sent and Deleted Messages Get Saved in the Folders of My Choice

    On my iPhone, under Mailbox Behaviours, I can select specific mailboxes on the server where the Sent, Deleted and Draft messages will be saved. However, I could not find this feature in Mac OS 10.6.2's Mail application; instead, these mails are saved in default folders created by the program. How could I change this behaviour so that these e-mails are saved on the server, in the folders of my choice? Thanks.

    you can do it in in Mail too if your account is IMAP. select a mailbox you want to use for Sent in the IMAP section of your account in the lower section of the sidebar. then go to mailbox menu->use this mailbox for->sent.

Maybe you are looking for

  • Setting default value for form field assoc with a table column

    On a "Create Record" situation I was trying to set the default values of some form fields using a page level "Process". These form fields have Source Type = Database Column. It wasn't working, I could only set non-db assoc form field values no matter

  • Layer3 to the edge

    I have a goal of segregating some internal networks at my company.  The catalyst for this project is PCI compliance.  Internally I run two 6509-E chassis in VSS and 4507 switches in my closets.  These 4507 switches have a direct trunk link to my 6509

  • Transferring pictures/albums from Photos to Finder and Flickr

    I am currently running OS X 10.10.3 which now has Photos. I am trying to transfer albums to folders in Finder in order to send individual pictures as e-mail attachments as well as upload pictures/albums to Flickr. However, I am seemingly unable to ei

  • Cisco call manager version

    hello, how can i know the version of cisco call manager of my system UC520? thanks

  • Is there any kind of application for keeping Precedence?

    I act as a Speaker of the Hous for a Mock session of Congress, is there any kind of application that will he me keep track of precedence throughout the session?