Answers: Operation and the sum of the Pivot line is wrong

Hi all

I created an application in responses that combines two areas using a Union All set operation. My goal is to create a report with the same dimensions and two measures of different areas, next to each other. To split the action again (after the Union all puts them under eachother), I added a flag that indicates if the measure came form field 1 or 2 area. And I put above a label as measured in my PivotTable to the indicator.

It works fine, but when I want a total of all the rows in the pivot table, he will just not be the sum in the right way. It shows just the first value found as total, rejecting all of the following values.

Clues?
Gilles

In pivot mode, you can change the aggregation type...
Change rule of the aggregation of measures - more options - default value to sum

I hope this works...
Nicolae Ancuta

Tags: Business Intelligence

Similar Questions

  • CFDOCUMENT cut the last and the first line in the pages

    Hello, all:

    I use the CFDOCUMENT tag to create a pdf file. It's a line of simple text and images (for example, width = height 58 = 58). All right,
    but the last line and the first line fell by half. The line is half pages.
    I have download correction [hf701 - 60212.zip], but have the same problem.

    Please tell me how to set the page layout?
    I use windows XP. the text is displayed as < PRE > tag, pictures < IMG SRC = "" * "width = height 58 = 58 >."

    Kind regards

    There are several fixes to this problem. Latest fixes just be published in the last several days. If you use cfmx7.01, you must apply the hotfix in this technote. This fix should be used even if you have applied the hotfix rollup 2 for 7.01 or you apply the individual hotfix (hf701 - 60212.jar) prior to 04/08/2006.

    If you use 7.02, you must apply the fix of this technical note. Apply the additional fixes to cfdocument, he released with 7.02.

  • Printing problem with OE - 6 format since the upgrade to IE - 8: no space between the body and the subject line text.

    My computer is configured with XP SP3 and IE - 8. I've been using Outlook Express 6.0 (update of MS according to needs). Messages are always printed correctly. Lately, however, the body of the message printed directly below the object without line - the space between them. This happens on my Brother laser printer and my HP inkjet printer. I have not changed my settings of the printer. I've recently updated to IE - 7 to IE - 8; However, I see nothing in the settings of IE - 8 to explain this change in print. I recently installed "MobileMe" Panel Apple configuration, which has installed a separate set of folders in the list of folders in OE - 6. I did a clean (with Revo Uninstaller) uninstalling the MobileMe Control Panel, removed the extra e-mail account/folders and rebooted. Yet the printing problem.

    How to restore the space of line between the subject and the message body?

    Hello

    1. How is like print preview?
    2. don't you make changes to the footer settings?

    Method 1.
    If that doesn't help you can not save the file wmp.dll
    a. log on as an administrator.
    b. Click Start, type cmd.exe in the Run dialog box right click on cmd.exe, click Run as administrator and then click on continue.
    c. at the command prompt, type regsvr32 oled32.dll and press enter and then click OK.

    Method 2.
    If this problem started occurring recently, you can restore the computer to a previous state. You lose Internet Explorer 8 and return to Internet Explorer 7. In this way, we can check whether or not the root cause of the problem is installation of Internet Explorer 8.
    Reference:
    How to restore Windows XP to a previous state
    http://support.Microsoft.com/kb/306084

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • In Thunderbird/Tools/Options/Composition/spelling, language drop-down-box is not available, and the language line is empty.

    The drop-down-box languages chose is display of pale color that this option is not available. Clicking on it does nothing. In addition, no language appears in the language line. Not being able to use the drop-down-box fact by following the instructions for the installation of a dictionary that is impossible.

    I installed the dictionaries in Firefox, but they do not appear in Thunderbird.

    Here, I am very confused.

    You say "I installed the dictionary in Firefox, but they do not appear in Thunderbird. They should not... they are two different applications. Your last response still puzzles me.

    "I downloaded the dictionaries, but they do not appear in"Download more dictionaries"that takes a link you to a web page list of dictionaries available for Thunderbird." So I simply do not understand what your expect to see, maybe something you have downloaded in a browser window? I really don't understand.

    Some dictionaries come in the form of modules https://addons.mozilla.org/en-US/thunderbird/search/?q=dictionary & appver = 31.0 & platform = windows and must be installed as such.

  • Drive function and the values of the first and the last line in a group game

    Hello

    I have a data as below, where I need to take the start_date line first and last row End_date a group in an order.

    Actual data:

    SU_KEY ORG_TYPE SAL_TYPE START_DATE END_DATE

    28033 UN UNITED NATIONS 29/08/2003-07/11/2003

    28033 UN UNITED NATIONS 08/11/2003 05/12/2003

    28033 UN UN 06/12/2003-10/12/2003

    TE TE 28033 11/12/2003 03/03/2004

    TE TE 28033 04/03/2004 08/03/2004

    TE TE 28033 09/03/2004 11/03/2004

    TE TE 28033 12/03/2004 16/07/2010

    28033 UN UNITED NATIONS 17/07/2010-17/11/2011

    28033 UN UN 18/11/2011-15/07/2013

    28033 UN UNITED NATIONS 16/07/2013-05/08/2014

    28033 UN UN 06/08/2014 12/31/9999

    Result:

    SU_KEY ORG_TYPE SAL_TYPE START_DATE END_DATE

    28033 UN UNITED NATIONS 29/08/2003-10/12/2003

    TE TE 28033 11/12/2003 16/07/2010

    28033 UN UNITED NATIONS 17/07/2010-31/12/9999

    So far, I could do the following:

    SELECT A.START_DATE,

    A.end_date

    , LEAD (A.end_date) OVER (PARTITION BY A.su_key order of A.start_date) ACTIVE_TO

    , LAST_VALUE (A.END_DATE) OVER (PARTITION BY A.END_DATE ORDER A.SU_KEY) B1

    A.ORG_TYPE

    A.SALARY_TYPE

    TABLE. XXXXX HAS

    Any help is really appreciated. Thanks in advance.

    with

    actual_data as

    (select 28033 su_key, a 'org_type, a' sal_type, to_date start_date (' 29/08/2003 ',' dd/mm/yyyy'), to_date('07/11/2003','dd/mm/yyyy') end_date Union double all the)

    Select 28033, 'ONE', 'ONE', to_date (' 08/11/2003 ',' dd/mm/yyyy'), to_date (' 05/12/2003 ',' dd/mm/yyyy') in all the double union

    Select 28033, 'ONE', 'ONE', to_date (' 06/12/2003 ',' dd/mm/yyyy'), to_date (' 10/12/2003 ',' dd/mm/yyyy') in all the double union

    Select 28033, 'YOU', 'TE', to_date (' 11/12/2003 ',' dd/mm/yyyy'), to_date (' 03/03/2004 ',' dd/mm/yyyy') in all the double union

    Select 28033, 'YOU', 'TE', to_date (' 04/03/2004 ',' dd/mm/yyyy'), to_date (' 08/03/2004 ',' dd/mm/yyyy') in all the double union

    Select 28033, 'YOU', 'TE', to_date (' 09/03/2004 ',' dd/mm/yyyy'), to_date (' 11/03/2004 ',' dd/mm/yyyy') in all the double union

    Select 28033, 'YOU', 'TE', to_date (' 03/12/2004 ',' dd/mm/yyyy'), to_date (' 16/07/2010 ',' dd/mm/yyyy') in all the double union

    Select 28033, 'ONE', 'ONE', to_date ('2010-07-17', ' dd/mm/yyyy'), to_date (' 17/11/2011 ',' dd/mm/yyyy') in all the double union

    Select 28033, 'ONE', 'ONE', to_date (' 18/11/2011 ',' dd/mm/yyyy'), to_date (' 15/07/2013 ',' dd/mm/yyyy') in all the double union

    Select 28033, 'ONE', 'ONE', to_date (' 16/07/2013 ',' dd/mm/yyyy'), to_date (' 05/08/2014 ',' dd/mm/yyyy') in all the double union

    Select 28033, 'ONE', 'ONE', to_date (' 06/08/2014 ',' dd/mm/yyyy'), to_date (' 31/12/9999 ',' dd/mm/yyyy') of double

    )

    Select su_key, org_type, sal_type, min (start_date) start_date, max (end_date) end_date

    from (select su_key, org_type, sal_type, start_date, end_date,

    ROW_NUMBER() over (partition of su_key order of start_date)-

    ROW_NUMBER() over grp (partition su_key, org_type, sal_type order of start_date)

    of actual_data

    )

    Group of su_key, org_type, sal_type, grp

    order of start_date

    SU_KEY ORG_TYPE SAL_TYPE START_DATE END_DATE
    28033 UNITED NATIONS UNITED NATIONS 29/08/2003 10/12/2003
    28033 YOU YOU 11/12/2003 16/07/2010
    28033 UNITED NATIONS UNITED NATIONS 17/07/2010 12/31/9999

    Concerning

    Etbin

  • To return the rows less value and the next line of the value 'hungry '.

    I'm about 10 gr 2

    My best here trying to just do a single SQL rather than writing PL/SQL. I know it's possible, that I'm not good at SQL past oracle 8i. I have searched the forums and found many examples for the beaches and dates to help connect by level, but nothing specifically related to the scales of value.

    Basically I have a table with the number of employees and approval limits:
      with  a as (select 12345 emp_no,1000 val from dual 
                     UNION select 12346,5000 from dual UNION select 12347,9999 from dual)
      select * from a 
    Returns
    EMP_NO  VAL
    ------- ---------------
    12345   1000
    12346   5000
    12347   9999
    I want a SQL statement that returns all lines less that the & parameter, but also the line of 'the child' who, as "greater" as the largest value of the value to be less than the value parameter.

    It is probably easier to show examples.

    If & parameter was broadcast then 2342
    EMP_NO  VAL
    ------- ---------------
    12345   1000
    12346   5000
    If & parameter was broadcast then 7898
    EMP_NO  VAL
    ------- ---------------
    12345   1000
    12346   5000
    12347   9999
    If & parameter was broadcast then 10
    EMP_NO  VAL
    ------- ---------------
    12345   1000
    If & parameter was broadcast and 788777
    No rows returned 
    Basically, I'm trying to return the chain of trust that a Bill will have to cross before it can be approved until the & amount of parameter.

    Tried to connect, even lead function. Request for assistance from the gurus to do things. Hope that this could also help others.

    Published by: user13007502 on February 8, 2012 04:56

    Published by: user13007502 on February 8, 2012 04:58

    Hello

    Here's a way (very similar to what Peter posted previously):

    SELECT     *
    FROM     a
    WHERE     val     <= (
                   SELECT  MIN (val)
                   FROM     a
                   WHERE     val > 3000     -- or whatever
                 )
    ;
    

    If the parameter is greater than any what val in the table, then the scalar subquery terturn will be NULL, and the WHERE clause will never real.

  • Opera and the latest version of Flash Player

    I posted the question below in the forum player installation and unfortunately I got no response. However, there is another problem I can't acess images on the website of ancestry. It asks me to install the latest version of flash (which, I think I see below) it starts to get really frustrating to have to switch to a diferent browser whenever I want to see pictures. Does anyone know if home even try to solve the problem with opera?

    I use Opera v 12 1467 construction as my browser and my OS is windows XP SP3. I tried to look at the contents of the BBCi player and a message appears telling me to update my Flash Player from Adobe. Have followed the instructions on the Adobe website, I always get the same message. I checked (via Control Panel) that the laterst version (11.3.300.262) but still get the same message.  If I go to the adobe flash player help page it didn't are no image in the box and no matter how many times I tried to uninstall and reinstall the flash more pale the results are always the same. I also checked the Opera's Plugins to see is it disabled, but there is no entry for the flash drive well that shockwave & acrobat are there.

    It seems to work fine in Firefox (v. 13.0.1).

    Is there something I need to do or the flash player simply not work in Opera?

    I like good wouild to continue using Opera as it works well with a few clitches.

    For any help or suggestions would be greatly appreciated, but please keep as simple as possible, as I'm not very good with code or editing the registry.

    Thank you very much

    Dingiso

    Hello! I had the same problem and what I did is that when I went to the site where the plugins do not work, I right clicked the page and chose to change Site preferences. Then you click on the content tab and put a check box on the plugins activate! I hope that I helped you

  • I play the game of chess titans game and the computer made a wrong move to take my piece

    chess game

    Bill,
    If you can, give a detailed description of the illicit transfer on the following site:
    Windows 7 comments 
    Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Gmail and youtube do not recognize the latest version of the browser and the content is displayed wrong, as only the html code

    I tried to download the latest version several times, but it did not help. I have firefox 9.0.1 and when I click on: help-> about firefox it is written that it is up-to-date. I came across a problem too, all with a message on one of the forums: Gamedev.net. I couldn't check the message window to type anything. Can HWO I fix these problems?

    Your Firefox User Agent is indicative of the websites that you use Firefox 3.0.

    Mozilla/5.0 (Windows; U; Windows NT 5.0; RV:1.8.1) Gecko/20061010 Firefox/3.0

    http://en.Wikipedia.org/wiki/USER_AGENT

    type of topic: config in the URL bar and press ENTER.

    If you see the warning, you can confirm that you want to access this page.

    Filter = general.useragent.

    Right click the preferences that are "BOLD", a line at a time, select reset.

    Then restart Firefox

  • How can I get the top lines of the page, I have my toolbar back? The first line starting with 'file' on the right and the second line which contains the refersh button as well as the search bar disappeared. How to make a comeback?

    The first two lines of my toolbar disappeared. I find myself with most visited but the lines above, containing the button refresh, bookmarks, and search bar and above the one containing the links to the files, etc are passed, how do em back?

    == I was juggling the different bars and must have clicked smth, that I should not have.

    ALT V
    T
    M

    Don't forget to do this in a new empty tab.

  • HP 15 Notebook PC: Computer laptop screen has black spots and the green line

    Need help screen problem.  Have a black spot, down from the top of the screen a green line.  Have a black spot at the bottom of the screen.  A photo is attached.

    Can I fix it?  How can I solve this problem?

    Hi @JBBenson,

    Welcome to the HP Forums! I read your post and wanted to help.

    I understand that you have a black spot, down from the top of the screen a green line. You can connect an external monitor to your laptop. If the external monitor is displayed well, it may be the laptop screen broken. You can contact the store local repair, or HP support by phone for repair.

    If you need to contact the HP support by phone, please the following link http://www.hp.com/contacthp allows you to create a folder for your problem and contact HP. If you do not live in the United States / Canada, please click on the link http://www8.hp.com/us/en/contact-hp/ww-phone-assist.html to get contact information for your region.

    Let me know if you need more assistance.

    If this helps you to find a solution, please click on the button "Accept as Solution" down below in this message. If you want to say 'Thank you' to my effort to help, click on the "thumbs up" to give me congratulations.

    Kind regards

  • How to use GREP to apply the character style just for the first and the second line of the paragraph?

    as the title, I just want to ask how to apply the style of character just for the 1st and 2nd line of the paragraph. Help me pls, tks!

    Can you show the screen shot with the invisible market, looks like you feedback after each line.

    So, something like this would work where I have a return forced for the linebreak (shift + return). The example on the right does not work because the line break is a return:

  • Bullets in the text line, go wrong

    Hello I am using bullets in text but return go wrong. The bullets didn't wrap arround, only the following text.

    What have I done wrong?

    See the site: Homepage and choose "English: Versterking team organisten.

    Help

    m.h.o52700355 wrote:

    Hello I am using bullets in text but return go wrong. The bullets didn't wrap arround, only the following text.

    What have I done wrong?

    Not your fault. Seems to be a question of Muse.

    I would put the images on the right side.

    Fenja

  • OfficeJet 6835: Connection printer/fax to the single telephone line with answering machine and DSL router

    I change my current 2 lines phone/fax with answering machine setup and router DSL to a single line.  I have the right instructions HP and all the necessary parts and wiring diagrams, but I can't determine which of the now used phone cords is 'special' one provided in the box with your printer.  Instructions for the installation of a line saying I should use this cord between the DSL filter and the 1-line port on the printer for reliable fax.

    How can I identify this original HP cord?  And, in case I can't, what makes it "special"?

    Hi @Atlantico,

    Thanks for joining the Forums of HP Support with your request.

    I understand that you change the way that your fax is installed on your HP Officejet Pro 6835 e-all-in-one printer and you want to be able to identify the phone cord supplied with the printer. I would like to help.

    Usually the phone cord supplied with the printer is black and a 2-wire telephone cord. There are basically 2 types of telephone cords, 2-wire or 4-wire. cords 2 telephone wires are the most basic phone cords and because the fax was built around the analog telephone systems, this is the type of cord they suggest to use.

    You can identify a phone cord of 2 sons looking at the end of the connector that you plug into the phone jack. Please see the attached diagram below.

    Please let me know if that solves the problem, or if you need assistance.
  • Photosmart C7280: question of installation on fax to PC with answering machine on the same phone line

    I have an answering machine on the phone line that would be used for incoming faxes. The guidance address how fax to PC using the phone line at all. How do you put up? Do you need a distinctive number of the ring, or you can use the same phone number as the fixed line? The answering machine will pick up faxes?

    Hi @MSS1,

    Thank you for reaching out to the forums! I understand that you are having problems of fax. I'd love to help you.

    It's not like you can fax it to the PC with the software for this model. You would have to send and receive faxes from the printer.

    This document provides steps for not being able to fax and it also provides information for the connection to the fax: can't send or receive faxes. Do not take into account the title.

    I have provided the user manual of the printer to set up the fax, beginning on page 62: Photosmart C7280.

    Here is a document to receive faxes: receipt of the Fax.

    If the problem is resolved and you appreciate my help, please click on the "accept as Solution" and the buttons 'Thumbs Up'. Let me know how make you out. See you soon!

Maybe you are looking for