Problem with the total in the Query

Hi people,
In my report I have the colums "Shipping cost Number" and  "Delivery Number" where I can have 1:N.
Obs.: This kind of report is based on a InfoSource that has the total by Shipping Number and not by Delivery number. So, for not triplicate the shipping values (for some cases) it was necessary create a new colum "shipping cost by delivery", besides "shipping cost", and calculate based on "% Delivery" (*)
(*) % Delivery = Quantity Delivery line / Total of Quantity Delivery.
Folow the situation:
.....Shipping Cost Number"..."Delivery Number"...  Shipping Cost"..."Shipping Cost by Delivery"..."Quantity Delivery"..."% Delivery"
.....1475441...........................84262109.................500,00................500,00....................................2,000.....................100,00
Subt........................................................................500,00................500,00....................................2,000.....................100,00
.....1475558...........................84262081................5.000,00..............1.846,09.................................35,120.....................36,92
.....1475558...........................84262117................5.000,00..............2.102,61.................................40,000.....................42,05
.....1475558...........................84262125................5.000,00..............1.051,30.................................20,000.....................21,03
Subt.......................................................................5.000,00..............5.000,00.................................95,120....................100,00
Considering :
The "total of Shipping Cost" was calculated to represent the same value.
The "total of Shippin cost by Delivery" was calculated to represent de SUM of the colum, instead of to calculate based on "% delivery"
When I take of the colum "Delivery Number", many colums get the total wrong:
% delivery..........wrong......correct
Ship 1475441.....2,06.........100,00
Ship 1475558....97,94........100,00
In this case, the report is calculating incorrectly (Ex. for the first line: (2,000 / 97,120) instead of (2,000 / 2,000)
shipping cost.....wrong..........correct
Ship 1475441.....500,00.........500,00
Ship 1475558....15.000,00.....5.000,00
In this case, the report is disconsidering the configuration (taking the first value) that I put to calculate de total
Shipping Cost by Delivery......wrong..........correct
Ship 1475441.........................10,30............500,00
Ship 1475558.........................14.961,10.....5.000,00
In this case, it is the consequency of the calculation above.
***Summary
....Shipping Cost Number"..."Shipping Cost"..."Shipping Cost by Delivery"..."Quantity Delivery"..."% Delivery"
....1475441...........................500,00................10,30......................................2,000.......................2,06
....1475558..........................15.000,00............14.691,10...............................95,120.....................97,94
Please, I need very much to find out some solution for this problem of "total" when we take of some colum.
Thank you,
Rosana

Hi Rosana,
I think exception aggregation will be usefull in you case.
Check the below links which gives info about exception aggregation
http://wiki.sdn.sap.com/wiki/display/BI/Exceptionaggregationin+queries
http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/605f1751-a701-2a10-b791-9da5ba4f2a64
http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/00cd3483-1573-2910-7aba-b81a36ce0ec2
Hope this helps,
Sri....

Similar Messages

  • Chart - problem with realize one of the function under CR XI

    Post Author: mrowa
    CA Forum: Charts and Graphs
    Hello,
    I have
    problem with realize one of the function under CR XI. I would be persuade if
    any of us would like to help me.
    1)   
    1) From
    database (basically from one table), I take data to make report. Each of record
    have appropriate fields:
    dteData
    intYear
    intMonth
    intDate
    2)   
    2) I
    want to realized comparison data from two or more periods of time on one chart
    and in one table. For easily explanation I will describe problem on two
    periods.For instance, user want to display and compare
    on chart date (type monthly -sum data of each month) from 2007.02 u2013 2007.05
    with date from 2006.03 u2013 2006.06. So we compare month 2007.02 with 2006.03;
    2007.03 with 2006.04; 2007.04 with 2006.05; 2007.05 with 2006.06
    On char I would like to display bars with comparison
    of months.
    Problem is that I donu2019t know how to write
    something similar. I can use one period without any problems, but two and mores
    I canu2019t realized.
    Detail description:
    I passed
    two parameters two report:
    {?from}, {?to} u2013for first period
    {?offset}, it means {?from}+{?offset},
    {?to}+{?offset}  - for second period
    On axis Y I have Sum(intDate);On
    X (year + month). But on each value x( example 20007.02) I need to have
    two values (bars). Value for standard period and offset.
    For example for x=2007.02, I need
    two bars one equal 2007.02 and second with offset u2013 2006.03
    Movement to next value (bar) is
    persuade by fields {data.rok}&{data.month} first or second period. This is
    combination of two elements year&month defined under Formula. Problem
    persist in that both period has different year.month and here problem starts once
    again. I donu2019t know how to solve it. I have found out one solution but it
    limits user only for two periods (I want to compare more).
    My idea for compare only two
    periods:
    I make one query in CR for one
    period and second query for second period.
    Firs query:
    "SELECT 
           year ,
          month
    Second query
    "SELECT 
           year + FLOOR({month + offset} % 13),
          {month + offset} % 13
    Then in CR I connect two periods and
    make u201Ctableu201D (results of queries) with JOIN on fields year and month.
    This solution is not functional,
    because I need to make reports for days and hours as well. In this solution I
    canu2019t use (%31), because not all months has 31 days.
    I use CR in WEB app made in Visual
    Studio 2005. Maybe from aspx we can manipulate with date to get exact solution,
    and solve problem with SELECT.
    Hope my description clearly
    describe problem and someone will be able to help me. I would be thankful.

    I have had similar problem before.
    Because I had too many data, the legend would not display all the data. Also the chart would not display all the data. But I was able to find a work around.
    In your case, Right click on the Legend text and click on Format Legend Entry.
    Change the font of the legend to 4 (which is the minimum). This may work.
    If you are also having problem with data labels, you could change the font size of the data labels.
    Hope this helps.
    Thank you.

  • TS3694 good evening i have an problem with my iphone 4 the wif and network cant on now if i tray is showing iTunes i tray to reload the ios is showing an error -1 can you help me

    good evening i have an problem with my iphone 4 the wif and network cant on now if i tray is showing iTunes i tray to reload the ios is showing an error -1 can you help me

    No problem, glad to help!
    Update: my PC USB hub was connected to a USB 3 port, I connected the 30 pin cable directly to my PC, And the restore worked just fine. Restored phone from iCloud backup and seems to be working fine.

  • TS5376 I'm having a problem with downloading and installing the new version of itunes for windows (11.1.4)  I have done everything the troubleshooting article has said and it is still not working properly.

    'm having a problem with downloading and installing the new version of itunes for windows (11.1.4)  I have done everything the troubleshooting article has said and it is still not working properly.  I have even done a repair to see if that works and it has not.  Has anyone else found a new way to get it working?

    Try Troubleshooting issues with iTunes for Windows updates.
    tt2

  • HT1222 I am trying to update my phone so I can save my info on my old phone & get a new phone, but I get a error that says "There was a problem with downloading teh software, the network connection timed out.."  HELP!  Not sure what my settings shoud be..

    I am trying to update my phone so I can save my info on my old phone & get a new phone, but I get a error that says "There was a problem with downloading teh software, the network connection timed out.."  HELP!  Not sure what my settings shoud be...
    I never updated anything until now...I want o update my iPhone to the newest version, but i do not want ot loose all that I have on this phone. I was told I needed to update the operating systems so i can put things into the cloud for transport to new phone, but I am just not sure how to do this..Can you help out here??

    Dear Jody..jone5
    Good for you that can't update your iphone because I did it and my iphone dosen't work for example I can't download any app like Wecaht or Twitter..
    Goodluck
    Atousa

  • Hello , please am having a problem with my iphone 5 , the battery runs out quickly , also if i turn on 3G it will run faster , 15 minutes and the iphone battery will be out , and my final problem is that is "no service " appears a lot can you help ?

    Hello , please am having a problem with my iphone 5 , the battery runs out quickly ,another problem also if i turn on 3G it will run faster , 15 minutes and the iphone battery will be out . My final problem is that  "no service " appears a lot  especially when opening wifi or 3G , can you help ?

    Your battery is running quickly because your cellular data connection is weak.
    Is your phone carrier a supported carrier:   Wireless carrier support and features for iPhone in the United States and Canada - Apple Support
    For your no service issues:  If you see No Service in the status bar of your iPhone or iPad - Apple Support

  • HT1665 i have an apple IPhone4. I am experiencing certain problem with my iphone4. The problems are as follows a. my ear piece and proximity sensor is not working while making a call. 2. It cannot reproduce sound without earphone but rings if gets any cal

    Hi folks,
    i have an apple IPhone4. I am experiencing certain problem with my iphone4. The problems are as follows a. my ear piece and proximity sensor is not working while making a call. 2. It cannot reproduce sound without earphone but rings normally if gets any call.
    Can any one help me in this regard??

    Try to reset the phone by holding the sleep and home button for about 10sec, until the Apple logo comes back again. You will not lose data by resetting, but it can cure some glitches after installing new software or apps.

  • MacBook Pro 15 with Windows 8.1 installed via Boot Camp problem with keys "@" and " " of the keyboard

    Hello,
    I have a MacBook Pro Retina Maverick in 2013 on which I installed Windows via Boot Camp 8.1.
    The installation went well but when I am running Windows 8.1, I have a problem with "@" and "<" keys on the keyboard.
    When I type the "@" key, I get "<"
    When I type the "<" button, I get "@"
    I have reinstall Boot Camp from Windows 8.1 for reinstall the drivers and see if it would solve the problem but it was not the case.
    Someone of you has he encountered the same problem?
    Thank you.

    The language of my Keyboard is French

  • Problem with iWeb 09, after the publication in a local file.

    *Subject: problem with iWeb 09, after the publication in a local file, i can't see my blog, nor my photos, but before that all was working fine.*
    After the publication in the local file, I see all my pages, but there is a mistake on the page "Blog" where I just can see the top of my page, it's cut and I can't see it entirely, so I can't see the inputs while I should see 3 news or 3 inputs. And it's the same for the "Photos" page where the page is cut, I can't see the photos, and it's just written : "Put the slide show and subscribe".To finish, when I want to activate the comments, it doesn't work neither.
    Please help me.

    I want to activate the comments, it doesn't work neither.
    The comments feature is only available when you publish to the MobileMe server, so I don't think you can use it when you publish to a local file.

  • I've had a Samsung network extender for over a year and it's been great.  About a week ago, my iPhone 5 stopped connecting to it.  I've never had problems with this.  All the lights on the extender are blue, so it seems it's working fine.  Any suggestions

    I've had a Samsung network extender for over a year and it's been great.  About a week ago, my iPhone 5 stopped connecting to it.  I've never had problems with this.  All the lights on the extender are blue, so it seems it's working fine.  Any suggestions?

    Oh no! Lets ensure that you are connected. Have you tried to reset the Network Extender? Are other devices able to connect to the Extender? Is your Internet service up and running? 
    Share details so that we can help!
    Thank you, 
    LenaA_VZW
    Follow us on Twitter @VZWSupport

  • When I make a project in iDVD'09, there are sometimes green blocs with points flickering in some scenes of my iMovie-film. In iMovie there is no problem with this film, but the problem begins by exporting to iDVD and making a project there.

    When I make a project in iDVD'09, there are sometimes - at voluntary moments - green blocs with points flickering in some scenes of my iMovie-film.
    In i-Movie there is no problem with  this film, but the problem begins by exporting to iDVD and making there a project.
    Who can help me, then I cann't find everything about this in any forum?

    Hi
    Can be a problem that get multiplied and visible when iDVD encode for DVD.
    A. See if problem can be isolated to a single frame in the movie and re-import this clip and see if it's better
    B. When free space on Start-Up hard disk goes low - strange things like this might occure. I never go under 25Gb free space on this Start-Up Mac OS hard disk !
    C. Does this problem arises what ever encoding quality You use ?
    Yours Bengt W

  • Problem with InDesign CC redrawing the screen too slow while using Zoom tool

    Hello. I got a problem with InDesign CC redrawing the screen too slow while using Zoom tool. Sometimes it takes more than a secong to zoom in or out. However InDesign CS6, Photoshop CC, Illustrator CC works just fine. What could be the problem, videocard or something else? Below is my PC configuration: OS Windows 8 Pro (x64); processor Intel Core i7 2600k CPU 3,40GHz; video adapter NVIDIA GeForse GTS 450; monitor NEC PA271W (2560x1440).

    Yes it’s a bug. The trick is to select the tool and then left click the photo information strip and hold for a few seconds until you see the windows bar at the top of the screen (not responding)
    The lasso tool should then work normally.

  • Problem with LILO to loading the OS

    Hello everyone.
    We have a problem with LILO to loading the OS in a CS-MARS 110R, find attached a screenshot.
    The only solution is recovery the MARS Operating System.
    Thanks in advance.
    Regards
    Antonio

    Hi Matthew.
    The re-image was impossible because this CS-MARS didn´t read the DVD correctly (hardware error) and we asked to Cisco a RMA.
    Thanks
    Antonio

  • Error -43  when try playback on win7 64bits over the network QT that recide MacPro  osx 10.5 however i can play with VLC player, This happend when the QT is inside a Folder with name longer 8 chars other files has no problem with long names just the QT

    error -43  when try playback on win7 64bits over the network QT that recide MacPro  osx 10.5 however i can play with VLC player, This happend when the QT is inside a Folder with name longer 8 chars other files has no problem with long names just the QT  nfs sharing

    Never mind, I already found the solution myself.
    What I did wrong was:
    - not copying the master image to the nbi folder
    - selecting the netinstall-restore.dmg image as source to copy to my HD.
    The thing is, when you create a netinstall image for 10.5, the image itself is already included in the netinstall image so you don't have to do anything else.
    With the 10.4 image however, you also have to copy the master image to the NetBootSP0 directory.
    In the *.nbi folder contains an netinstall-restore.dmg file. But that is only to boot you to netrestore, it's not the image itself.
    Other alternative is to copy the images to another folder that you share with AFP and adjust the configuration of netrestore like described in this manual:
    http://www.shellharbourd.det.nsw.edu.au/pdf/misc/osxrestoringnet.pdf
    This manual was also how I figured out that I forgot to copy the image to the NetBootSP0 folder.

  • I have problem with connect me to the internet

    Hi, I have my apple TV and always I had problem to connect me to the internet I don't know why because I have my Mac, and Iphone that don't have any problem with internet and is the same server.

    Ccan you elaborate on the issue?

  • I have problem with some gosts on the side of the display !?

    I have problem with some gosts on the side of the display !? and I want to make a back up of my mac and to take it to the store for the problem I gut !

    Hello, it sounds a bit like this common problem, do get it fixed...
    https://discussions.apple.com/thread/2300580?start=0&tstart=0

Maybe you are looking for

  • Re-use message mapping from within java mapping?

    Hi there,                                                                                I have a question regarding java mapping. What I would like to do is to re-use an existing message mapping from within java mapping. Technicaly, message mapping

  • Extra characters at end of line in spool file

    I am trying to generate csv files from SQL Developer using queries written to spool files.  I have embedded the queries and associated set commands in script files and call them, as advised elsewhere.  This gives csv files that look fine, with headin

  • The iwork was supposed to be free for OS X (Mavericks). Why it aint free yet.?

    The iwork was supposed to be free for OS X (Mavericks). Why it aint free yet.? plz help

  • Incoming messages issue

    Hi, On my MBP with the latest Leopard version on and 5 accounts enabled, mail gets 800 + incoming emails every time I launch it. It seems it is downloading them each time from MobileMe. Thanks in advance for the help.

  • Organization - BP in Org Model

    Hi, I want to set up an org model so that whenever I create an org unit the corresponding BP gets created automatically. I checked the IMG in CRM. The entry ORGEH PROLE BUP004 Role of organizational unit in business partner is there. But when I creat