Year Total of Gross Margin % Plan in the column for months

Dear Experts,
I have designed a query with the KFs "Sale/Retail, Gross Margin% and Sales/Cost" in the rows and months in the column. I have put "Gross Margin % and Sales/Retail" as input ready and the Sales At Cost is getting calculated with the formula applied over Gross Margin %.
So if i am enetring 1000 for Sales/Retail in Jan month with Gross Margin % as 10%. the value of Sales/Cost is getting calculating correctly as 900.
Now i want to add a total column which will show the year total result of my planning for all months.
Here i am facing the problem.
I have inserted a Formula (named as "Year"), and put the formula to add all the months.
Suppose now i have entered 1000 Sales/Retail and Gross Margin % as 10% in Jan and Feb month.
So now the total figures in the Year column is correct for the Sale/Retail=2000 as it is getting added for every month, but the Gross Margin % is not correct as it is also getting added to 20%. And because of this the Sales/Cost is also wrongly calculated.
The Gross Margin % should be avearge of all months.
Can somebody help me to resolve. Any better idea to insert total column for the months will also help me.
Warm Regards
Abhishek

Hi Gokul,
I have resolved the thing. Actually. When i use the Tab "Calculations" in the Query Designer. The effect reflects in the result and Overall result section.
But i wanted to correct the Data Input section with the Year total. So i have put the formula in the cells and used collision functionality to avoid the formula collision. So this resolved the problem.
Thanks.
Warm Regards
Abhishek
Edited by: Abhi Goel on Jun 3, 2010 1:29 PM

Similar Messages

  • This is my 3rd macbook air and pro that kicks me out my yahoo email all the time and tells me my password is wrong when its not this been going on 2 years 3 different macs sometimes it dont do it for months after a software update

    this is my 3rd macbook air and pro that kicks me out my yahoo email all the time and tells me my password is wrong when its not this been going on 2 years 3 different macs sometimes it dont do it for months after a software update

    Don't switch email providers. Switch to another email client on your Mac. It is not Yahoo. I have 3 Yahoo accounts and never have any problems getting or sending mail from/to those accounts. But I don't use the built in Mac Mail program. I use Thunderbird. I use thunderbird on both Mac OS X and Windows. Been using it for some time now with no problems getting my Yahoo mail, Google gmail mail or form my work email account.

  • I cannot connect to the iTunes Store.  I receive Error Code -1202.  This problem began yesterday.  I have been successfully connecting to the store for months on this PC.  I am running Windows 7 and the Windows Security Center.  Thanks for any help

    TS1368 I cannot connect to the iTunes Store.  I receive Error Code -1202.  This problem began yesterday.  I have been successfully connecting to the store for months on this PC.  I am running Windows 7 and the Windows Security Center.  Thanks for any help.

    Hello alankilner,
    And welcome to Apple Discussions!
    Using Proxy: Yes
    Try temporarily disabling this setting by following the steps outlined in this Apple support document.
    http://support.apple.com/kb/TS1490
    B-rock

  • In ITunes I don't have a listing in the column for "Devices" so I can check to see if I have sync all ringtones.  I have one downloaded but can't get it synced to my Iphone.

    In Itunes I don't have a listing in the column for "Devices" so I can check to see if my Iphone can sync all my new ringtones.  I have one ready to go but cannot get it downloaded to my Iphone.  Where is my "Devices" heading in the column on the left side of my Itunes page?

    Connect your device to computer.  In iTunes left Pane, select your iPhone under 'Devices'.  Then on th right Pane, select Tones tab.

  • HT1338 I have tried to download the upgrade for months but keep getting an error message to I have go to to the apple store.  Cannot find a contact number to resolve this issue?

    I have tried to download the upgrade for months but keep getting an error message to I have go to to the apple store.  Cannot find a contact number to resolve this issue?

    Apple Store Tel: 1-800-692-7753
    Best.

  • Heading and color scheme of the columns for the detail report

    Is it possible to have a heading and color scheme of the columns for the reports displayed on drill down of a query in WAD?

    Try the stylesheet in the properties of web template.

  • Adobe Bridge shuts down when I try to access files on my external drive. Have been using the drive for months with no problems.

    Adobe Bridge shuts down when I try to access files on my external drive. Have been using the drive for several months with no problems.

    Due to the current unavailability of clairvoyants and mind-readers in the forum, we respectfully request you supply sensible, complete details.
    A lot more information about your hardware and software is needed.
    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CC", but something like CC2014.v.2.2) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    a screen shot of your settings or of the image could be very helpful too,
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • What are the fees for month-by-month rental?

    I can only find the ANNUAL subcription rates here.
    http://www.adobe.com/uk/products/creativecloud/buying-guide.html
    What are the rates for renting by the month?
    The FAQ says: "You also have the option to select a month-to-month plan and pay a higher monthly price with no commitment."

    Hi there
    "So for ALL the apps, the annual monthly fee is £46.88, but you can rent occasionally for £70.32 pm.... ?" Correct
    £17.58 single app plan requires an annual commit - it's £27.34 for the month-to-month plan without annual commit.
    Thanks
    Bev

  • Choosing the columns for a Bi Publisher report in APEX

    A user wants to select each column in a pdf report printed in APEX, it is easy to make a report with bi bublisher but how can i change the columns at run time.

    Thanks for the link. I am reading it for better understanding.
    I just came to know from SR that, In order to see the BI Publisher in the Presentation Server list of values, we have to embed the BI Publihser report inside an OTBI Dashboard.
    So we need to create a 'Dashboards' folder (It is must only then we are able to see it via fusion apps. to select and embed), then Dashboard and add the desired report to this dashboard. Now we can navigate to this dashboard, open it and select the page to embed it.
    Might be useful for the ppl who faces similar issue. Thanks.
    Raghu

  • How to change the name of the column for dynamic query

    I would like to change the name of the column name to bidderone, biddertwo and bidderthree. the only problem is the vendors name unknown when I run the query and sometimes the query returns two vendors. the maximum vendor is three. here is the query and please let me know how this can be done. thank you so much. I am using oracle 10i
    FOR lv_rec IN   ( SELECT vendor, calcbtot
      FROM (SELECT t.*, ROW_NUMBER () OVER (ORDER BY t.calcbtot Asc) rn
              FROM (  SELECT DISTINCT
                             s.vendor,
                             TO_CHAR (s.calcbtot, '999,999,999.00') calcbtot
                        FROM bidtabs b, bidders s
                       WHERE     b.CALL = s.CALL
                             AND b.letting = s.letting
                             AND b.vendor = s.vendor
                             AND b.letting = v_letting
                             AND b.CALL = v_call
                    ORDER BY 2) t)
    WHERE rn <= 3 )                 
       LOOP
          lv_sql :=
                lv_sql  || ', TO_CHAR(MAX(DECODE(TRIM(S.VENDOR),'''|| TRIM (lv_rec.vendor) || ''', S.BIDPRICE)),  ''$999,999,999.00'') AS "'|| TRIM (lv_rec.vendor) ||'" ';
       END LOOP;

    thank you so so much for your help on this. I am sorry i did not post the entire code. my intention is to use bidderone, biddertwo,bidderthree as a column name insead of the name of the vendors and also calcuate the average of the three vendors. the maximum vendor will be three but the minumum could be one or two. hope this is enought information to help me out further . thank you
    CREATE OR REPLACE PROCEDURE biddersquoteforbridge (
       p_spnumber   IN       VARCHAR2,
       p_result     OUT      sys_refcursor
    IS
       v_letting   VARCHAR2 (40);
       v_call      VARCHAR2 (40);
       lv_sql      VARCHAR2 (32767) := NULL;
    BEGIN
       SELECT DISTINCT L.LETTING, CALL
                  INTO v_letting, v_call
                  FROM LETPROP L, PROPOSAL P
                 WHERE L.LCONTID = P.CONTID AND CPROJNUM= p_spnumber;
       lv_sql :=
          'SELECT   O.PRPITEM "Item Number",
                    INITCAP(FUNC_GET_ITEM_DESCRIPTION(O.PRPITEM)) "Description",
                    O.CONTID "Contract Id",O.SECTION "Section" , P.CPROJNUM "SP Number", P.CFACSSUP "District",
                    FUNCT_GET_SECTION_IDENTIFIER(O.SECTION, O.CONTID) "Section Title",  ''Q''||(TO_CHAR(D.DATELET, ''Q-YYYY'')) "Quarter",
                    O.IPLINENO "Line Number", O.QTY "Quantity" ';
      FOR lv_rec IN   ( SELECT vendor, calcbtot
      FROM (SELECT t.*, ROW_NUMBER () OVER (ORDER BY t.calcbtot Asc) rn
              FROM (  SELECT DISTINCT
                             s.vendor,
                             TO_CHAR (s.calcbtot, '999,999,999.00') calcbtot
                        FROM bidtabs b, bidders s
                       WHERE     b.CALL = s.CALL
                             AND b.letting = s.letting
                             AND b.vendor = s.vendor
                             AND b.letting = v_letting
                             AND b.CALL = v_call
                    ORDER BY 2) t)
    WHERE rn <= 3 )                 
       LOOP
          lv_sql :=
                lv_sql  || ', TO_CHAR(MAX(DECODE(TRIM(S.VENDOR),'''|| TRIM (lv_rec.vendor) || ''', S.BIDPRICE)),  ''$999,999,999.00'') AS "'|| TRIM (lv_rec.vendor) ||'" ';
       END LOOP;
       lv_sql :=
             lv_sql
          || '
            FROM   PROPITEM O  ,                   
                   PROPOSAL P  ,
                   LETPROP  L  ,
                   BIDDERS  B  ,
                   BIDTABS  S  ,
                   BIDLET   D
             WHERE O.CONTID = P.CONTID
                    AND P.CONTID = L.LCONTID
                    AND L.CALL = B.CALL
                    AND L.LETTING = B.LETTING
                    AND B.CALL = S.CALL             
                    AND B.LETTING = S.LETTING
                    AND B.VENDOR = S.VENDOR 
                    AND S.IPLINENO = O.IPLINENO
                    AND L.LETTING = D.LETTING             
                    AND O.LINEFLAG =''L''    
                    AND L.LETTING = :B1
                    AND L.CALL = :B2
             GROUP BY
                   O.CONTID,
                   O.SECTION,
                   O.IPLINENO,
                   O.PRPITEM,
                   O.QTY,
                   P.CPROJNUM,
                   P.CFACSSUP,
                   O.PRICE ,
                   D.DATELET             
             ORDER BY O.IPLINENO ';
      -- DBMS_OUTPUT.put_line (lv_sql);
       OPEN p_result FOR lv_sql USING v_letting, v_call;
    END;

  • I have been using Firefox for over 10 years with minimal problems, but recently (within the past 2 months) something has changed and I cannot get any sound to play, even on previous web sites that did work. I'll just have to go back to IE!

    Windows XP, Firefox 3.6.13 version, I am thinking it would be better to back up to a previous version of Firefox that did work! What was the latest version as of October 2010?

    Thanks to some hints in several strings, I went back to the Control Panel in XP, clicked on Sounds and Devices, clicked on Audio, then changed the default device to the Realtek HD Audio output I have on my computer. Now I can hear You Tube video sound and other Internet audio fine, at least for now. I will come back if it stops again. Thanks to all who posted.

  • HT5312 My email address hasnt changed for many years and my apple password has been the same for 2 years since i bought  the ipad i had purchased things the day before you said i had never used the device before, WHY DID YOU DO THIS

    Why was my account suspended

    This is a user to user tech support forum. Apple is not here. Apple does not answer questions here. No one here knows who your are or anything about your account.
    iTunes Support -
    http://www.apple.com/support/itunes/

  • TS1368 I cannot connect to the iTunes Store.  I receive Error Code -1202.  This problem began yesterday.  I have been successfully connecting to the store for months on this PC.  I am running Windows 7 and the Windows Security Center.  Thanks for any help

    I am unable to connect to the iTunes Store.  This issue began yesterday, 3/11/13.  I previously have been able to connect to the store successfully on this computer which runs Windows 7 and Security Center since November.  I also used the iTunes Store on my previous computer for several years.  I am able to connect to the store with my new iPod Touch 5th generation.  I did a Google search for Error Code -1202 but did not find any pertinent results.  I would greatly appreciate any assistance in troubleshooting this situation.  Thank you!

    Hello alankilner,
    And welcome to Apple Discussions!
    Using Proxy: Yes
    Try temporarily disabling this setting by following the steps outlined in this Apple support document.
    http://support.apple.com/kb/TS1490
    B-rock

  • Help needed in PL/SQL for updating the column for multiple records

    Hi,
    I am new to PL/SQL and need some help. What is the most effiecient way to update some field in a table as I may need to update thousands of records. I have a coulmn groupid can have multiple records tied to it. All the records attached to some groupid have a priority field also.
    How can I update the prorityfield value for all the groupids in a profiecient way. Here is a sample data
    GroupId     Priority
    1            1
    1            2
    1            3
    1            4
    1            5
    2            1
    2            2
    2            3
    3            1Here I have three groups 1, 2, 3. Now if any group contains only one record the priority remains same e.g. groupid=3 on top. If any group contains more than one record e.g. groupid=1 & 2 I want to re-arrange the priority fields e.g. If I want to update groupid=1 now if I change the priority of 2 to 5 (make it the last) I want to rearrange the remaing records priority i.e. if 2 becomes 5 as I have 5 rows for groupid=1 then 5 becomes 4, 4 becomes 3, 3 becomes 2 and 1 remains the same.
    Same wya if I want to make the priority 1 to 3 for groupid=2 then need 2 to become 1 and 3 to become 2 etc....
    Any help is appreciated.
    Thanks

    Hi,
    You don't need PL/SQL to do this (though you can put the following in PL/SQL if you want to):
    UPDATE     table_x
    SET     priority = CASE
                   WHEN  groupid     = 1
                   AND   priority = 2
                        THEN  5
                   WHEN  groupod     = 1
                   AND   priority     BETWEEN 3 AND 5
                        THEN  priority - 1
                   WHEN  groupid = 2
                   THEN
                        CASE
                             WHEN  prioity = 1
                             THEN  3
                             ELSE  priority - 1
                        END
                 END
    WHERE     groupId          IN (1, 2)
    AND     (     priority     BETWEEN 2 AND 5
         OR     groupid          = 2
         );There are lots of different techniques that can reduce your coidng: for example, the nested CASE statement used for groupid=2 above.
    You could do several smaller UPDATEs (for example, one just for groupid=1). Execution will be slower, but coding and testing will be faster.
    You could make the "magic numbers" 2 (for groupid=1) and 1 (for groupid=2) variables, even outside of PL/SQL.
    If you need more help, post the information that Satyaki requested.

  • I fear I changed the feed, for months was in iTunes, now gone completely - Help?

    Our site: http://www.pleased2meetu.com
    Our (newish) feed: http://feeds.feedburner.com/PleasedToMeetYouPodcast
    I think in using a service other than Feedburner got me in a pit with iTunes. I used Feedblitz.com - but the artwork never showed, nor any of the descriptors. It kept showing up as "Unknown" for all aspects, but did have the episodes listed.
    So, I added us to Feedburner and deleted the Feedblitz entry. Now iTunes doesn't show it at all. I tried submitting the Feedburner one and it comes back with "already submitted"
    Feedburner shows the XML file has all of the correct iTunes info, or so it seems.
    Sticther now shows it, and the audiance can subscribe via iTunes (I've done it) via the feed URL and hitting "Add to itunes"
    Any ideas?

    Roger - first thank you for your quick response - from my research, you are a super star and should be compensated by Apple, LOL!
    Change the title slightly across the board? That's going to cause some headaches
    I can subscribe through iTunes (as any user can) via the feed page itself, below, on the right hand side at "Add to iTunes"
    http://feeds.feedburner.com/PleasedToMeetYouPodcast
    My current thought is to use that code ("Add to iTunes") and put it on our home page - and eventually get iTunes content fixed.
    Your thoughts?

Maybe you are looking for

  • Can't open pdf attachment in Yahoo Mail. Worked in 25.0 not 25.0.1. Still works with IE.

    Clicking on a pdf attachment in AT&T/Yahoo Mail results in "a file was downloaded". Used to open the file in Firefox 25.0 and prior. Switching to IE I can click on the attachment and it opens. Seems it could be something in 25.0.1. I cleared my histo

  • Why can't I edit the entire Photomerge image in Adobe Elements 8?

    This granny admittedly isn't terribly Elements "savvy".  However, I managed to figure out how to scan an old 1888,  10x12 photo  in two halves (left and right), and used the Elements Photomerge to combine the two shots.  It worked quite well - slight

  • Cover Flow annoyance

    Cover Flow is cool. It lets you get to music quicker and looks pretty. But I'm over it. I want to turn it off. I'm and sick and tired of it switching to cover flow when i don't want it too. Prime example is when you are lying down - You put the ipod

  • [SOLVED] Load ALSA state on startup but do not save on shutdown

    I found that my options here are either to leave /etc/alsa with no state-daemon.conf to use alsa-store.service and alsa-restore.service or to touch that file to cause alsa-state.service to take over. What if I want to load the same volume state every

  • Satellite U500-1F5 gets a green screen when playing 720p/hd vids

    Hi, when I tried to play a 720p video with using vlc Video player with my Toshiba Satellite U500-1F5, it just shows a green screen but the audio is playing, I even tried playing other 720p vids of mine just to check if its only my video that might ha