Show the top n products

hello:
     i have ten products, now i have calculated the percentage of the ten products, i want to show the top three products percetage,and the other seven is proposed to be showed as 'others' in total.
for example:
       company code            percetage
            A  company                              20%
            B  company                              20%
            C  company                              30%
            D  company                              10%
            E  company                              10%          
            F  company                              10%
i want to show the top three,and the other is prosposed to be showed as 'others' in total.
       company code            percetage
            A   company                             20%
            B   company                             20%
            C   company                             30%
         others                           30%
wating for your help.
thanks
micheal
Edited by: zhangshi1986001 on Jun 24, 2009 6:38 AM
Edited by: zhangshi1986001 on Jun 24, 2009 6:44 AM

Did you try Rank() ...
To get top use Rank() function ...
To get others use NoFilter() function...
Thank You...!!

Similar Messages

  • My keyboard only shows the top half of the letters

    My keyboard only shows the top half when I go into the app app and I cannot put in my apple id or password because the keyboard is not showing

    Is this happening when using the App Store or some other App?
    Try to rotate the iPhone and get the keyboard to appear in landscape view or on the flipping the screen while keeping it in portrait mode.
    If that doesn't do it, try following along with this Apple doc -> iOS: Troubleshooting applications purchased from the App Store

  • Function Module to get the TOP N PRODUCTS

    Hi Experts,
      Can you please let me know how can i get the top n products configured using programming?
    Please help.
    Thanks,
    Neeraj

    Hi Neeraj,
    Check Out this Function module : CRM_MKT_TOPN_PPR_PRODUCT_RULE
    Hope this helps!!
    Regards,
    Anubhav

  • My photoshop application showing the error Your Product licence has expired

    My photoshop application showing the error Your Product licence has expired

    Without more details, sounds like you need to call Customer Support.

  • When I try to choose a new folder to save a bookmark the resulting pop-up window only shows the top lefthand quarter minus any buttons, FF4 in Ubuntu Lucid

    When bookmarking a page, I click on the star or the menu. The 'Edit This Bookmark' window appears, I click on the folder arrow and select 'Choose'. The resulting window shows a large black shadow with the top left of the actual window. If I run the cursor across the black shadow various parts of the missing window appear and I can complete the operation, but it obviously sould not be doing this. I am using FF4.01 in Ubuntu 10.4 Lucid. I have taken a screenshot if you need it.

    You can check for problems with the <b>places.sqlite</b> database file in the Firefox profile folder.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
    *Places Maintenance: https://addons.mozilla.org/firefox/addon/places-maintenance/

  • In search results, Summary sometimes shows the top of file, not the text I searched for

    I'm searching lots of html files, it's a web site that's not imported into Sharepoint. Search is returning the correct files, but about half the time the Summary contains the text at the top of the html file, not the text surrounding the text I searched
    for. It's a big problem, users have to open the file then find the search text to see if it's useful.
    If I search for 'potato' here's an example Summary which is ok:
    All pages in issue FTDA-1983-0409:
     00010002000300040005000600070008000900100011001200130014001500160017001800190020
    … today's dieticians, the potato … most of us enjoy a
    potato cooked …
    Here's a Summary just showing text from the top of the file, 'potato' is present, but lower in the file:
    0001000200030004000500060007000800090010001100120013001400150016001700180019002000210022002300240025002600270028
    … issue: date: January 19, 1980, page …
    Could anyone help me get it to consistently show the text around the search text please?

    You can't attach a screenshot to the first post that starts a thread, but you can do that in subsequent replies.
    Does this only happen on one specific website?
    Can you post a link to a publicly accessible page (i.e. no authentication or signing on required)?
    It is possible that there is a problem with that web page and that there is a clear:both CSS rule missing that causes Firefox to start the next line at the horizontal position where the previous line ended.
    If you have made changes to Advanced font settings like increasing the minimum/default font size then try the default minimum setting "none" and the default font size 16 in case the current setting is causing problems.
    *Firefox > Preferences > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    Make sure that you allow pages to choose their own fonts.
    *Firefox > Preferences > Content : Fonts & Colors > Advanced: [X] "Allow pages to choose their own fonts, instead of my selections above"

  • Web page shows the top of page (a horizontal bar of text), but majority is bumped far right. (1/4 page.) Page shows in other browser. Cleared cache, no help. ?

    I have taken a screen shot of the problem page. I don't know why this has happened but it has happened on Firefox for Mac and PC. It does not happen in the Safari browser.
    The top of the page looks correct.
    Underneath everything is shifted right. This leave 3/4 of the screen to be white. 1/4 of the right side of the page is showing the actual left side of the page.

    You can't attach a screenshot to the first post that starts a thread, but you can do that in subsequent replies.
    Does this only happen on one specific website?
    Can you post a link to a publicly accessible page (i.e. no authentication or signing on required)?
    It is possible that there is a problem with that web page and that there is a clear:both CSS rule missing that causes Firefox to start the next line at the horizontal position where the previous line ended.
    If you have made changes to Advanced font settings like increasing the minimum/default font size then try the default minimum setting "none" and the default font size 16 in case the current setting is causing problems.
    *Firefox > Preferences > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    Make sure that you allow pages to choose their own fonts.
    *Firefox > Preferences > Content : Fonts & Colors > Advanced: [X] "Allow pages to choose their own fonts, instead of my selections above"

  • Is there a way to get my 25 most played to actually show the top 25 songs?

    I want my top 25 most played to actually show the songs i listen to most. Right now it shows nothing.
    Does that have to be done in Itunes?
    If it does thats retarted.

    Hollee wrote:
    By smart playlist do you mean the genius playlist?
    Because if you are, im talking about the ipods list. It came with preset (i guess they are playlists) but they are not run by genius
    I don't think the Touch comes preset with any playlists. You must be referring to the iTunes "Top 25" playlist, which is in iTunes by default. You will only get that on your Touch if you choose to auto-sync to it or, if you manually manage the Touch's contents, drag that playlist to the Touch. If you manually manage the Touch you can also create this same type of playlist on the Touch while connected to iTunes.
    But note that the "Top 25" playlist may only update each time you re-sync to iTunes, especially if you're using the 3.0 OS. Also, the sort order of the playlist will only update once your re-connect to iTunes (regardless of OS version or sync mode).

  • How can i get my apple mail to show the top item

    This is a small thing that is driving me nuts.
    When I click on a mailbox, it starts the list at various places, instead of at the top. Usually it is one item down, so I have to scroll to get to the newest item.
    Sometimes it starts in the middle of the list, so nearly every time I need to scroll a few millimeters up the list to read the new ones.
    Why would it do this? It strikes me as being designed that way, but maybe it is just 'off' a bit in specs.
    Any way I can adjust this? If not, Apple, could you please make this small adjustment?
    Thanks

    More exact example:
    I click on my sent messages to see the last one I sent. The window does not start at the top of my list, it starts at item number 6.
    Every single time I go into sent mail I have to do the extra step of moving the right hand side slider up to the top.
    How can I change this?

  • Is there a way to have a link from an external page show the top of the page on a PC?

    I really appreciate the help in these forums - have solved many an issue.  Am down to the last little thing.
    If you test the links on : www.muohio.edu/lll/tabbed-test on a Mac, each time you chose a link it goes to the top of the page.  This is the desired location.
    If you test the links on a PC, either with firefox or IE it uses the tabbed panel as the top.
    Is there a way to control this?
    THANKS!
    Berly

    In your document you have got <div id="TabbedPanels1" class="TabbedPanels"> and in the link you have got  <li><a href="fla.html?tab=1#TabbedPanels1">Crisis Management</a></li>
    What some browsers will do when it sees the #TabbedPanels1 is take you to the spot which is down the page.
    Solution: remove #TabbedPanels1 from the link and all is well.
    Gramps

  • Wiki doesn't show the top menu if Vector theme is choosed

    Hi, if i choose other wiki theme than the default one, i don't get the top menu (Home, Packages, Forums, ...), so it gets more complicated to navigate through arch website. i usually have two tabs in my browser: one for the wiki, and one for the rest.
    is anyone else getting this behaviour? i think the right think is to always have the menu, regardless of the choosen theme.

    itsbrad212 wrote: (...) I see no reason to use a different theme (unless of course you want to)
    well, i have to completely agree with that
    BTW, i really don't get why, if you put the content in a different frame, is there the need to make one menu for each theme. is the menu also themeable? i don't think so though..
    just to be sure, did you get what i meant when i proposed to load content in a different frame? (it will behave like a completely different page, and the menu will always be there).. this is all about separating the content from the menu.. similar to this (this is a single iframe design, for simplicity):
    <html onload="javascript:highligh_the_right_content();">
    <script>
    if (document.location.href == "http://www.archlinux.org") {
    frames['content'].location.href='http://www.archlinux.org/home_content.html';
    hightlight('home');
    else if (document.location.href == "http://www.archlinux.org/packages") {
    frames['content'].location.href='http://www.archlinux.org/packages/packages_content.html';
    highlight('packages');
    </script>
    <div id="menu">
    <a id="home" onclick="javascript:frames['content'].location.href='http://www.archlinux.org/home_content.html'; highlight('home'); ">Home</a>
    <a id="packages" onclick="javascript:frames['content'].location.href='http://www.archlinux.org/packages/packages_content.html'; highlight('packages'); ">Packages</a>
    // etc
    </div>
    <iframe name="content"></iframe>
    //etc
    the same for all sections. this way 2 separate files are needed for each section:
    *index file
    *content file
    Last edited by canolucas (2010-08-21 14:30:59)

  • Using ranking and sum to get top 5 products' share of total market

    Hi everybody,
    I have been playing around with ranking for a while now and I am stuck..
    I have a crosstab where I want to show the top 5 products in a specific month. So I have month in my column and products in my rows. I applied a ranking based on revenue only showing the top 5 products. This works like a charm.
    Now I would like to sum up the top 5 products' revenue and compare it with the revenue of all products in the market. I have managed to sum the top 5 products' revenue by using the "sum" function in the block, but I have not been able to compare this measure with a total market revenue measure. It seems like because I made the ranking on the top 5 products I cannot create a measure which includes more than these top 5 products and put it in that block.
    Is this not something Webi can easily handle??
    Thanks in advance!
    Best regards,
    Morten

    Hi Jaime,
    Thank for the suggestion. I forgot to mention that the month column is only showing one month. There is a filter on the month dimension, so that only one month is shown.
    I tried using the In Report context, but it gave me wrong results... It seems like it included all months.. I also tried using the noFilter function, but it also gave me wrong results.
    Best regards,
    Morten

  • In Photoshop Element 9, when opening the Organise section, the top bar does not show File, etc.?

    Just reinstalled Photoshop Ele,ents 9 onto Windows 7.
    In the Editt part,on opening, all is well.  This clearly show the top bar where youcan call and enter from the file to work with items on your computer.
    However, on the Organise section, this to bar does not show at all, therefoere you are unable to do any work as you cannot import items from anywhere.
    How do I get this to work now.

    You should ensure your font/text size is 100% or 96 dpi in the Windows control panel or you may need to adjust the native screen resolution of your monitor. Alternatively try keyboard shortcuts to access the menus.
    File – Alt+f
    Edit – Alt+e
    Find - Alt+i
    View – Alt+v
    Window – Alt+w
    Help – Alt+h

  • How can I update the 'Top Sites' display on Safari on my MacBook Pro?

    Ok, so, up until fairly recently (around 2 weeks) when I opened Safari my topsites would be displayed as nine 'thumbnails'. And they used to show the current site, so if I had CNN, it would show the top stories of the day, yet now it has stopped and hasn't updated for weeks, so is showing old news, until I click it. Also, for NBA.com, it shows an old picture, until I click and open the site. I know this is a very trivial thing, yet it's annoying. So basically, how can I add a new tab and see the Top Sites' thumbnails updated? Thanks in advance.

    Hi.
    now it has stopped and hasn't updated for weeks,
    The TopSites.plist file may be corrupted. There's an easy fix.
    Quit Safari.
    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type this exactly as you see it here:
    ~/Library/Safari
    Click Go
    Move the TopSites.plist file from the Safari folder to the Trash.
    Relaunch Safari. See if that made a difference.
    How to manage Safari's Top Sites | Macworld

  • Why is the Top Half of the Frame Black?

    Can someone clue me in as to why Media Encoder CS4 & CS6 (as well as Premiere CS6) are now loading all my Windows movie files (WMVs) from Google Earth Pro showing the top halves of the frames completely blacked out?  This is a recent problem.  There were no such issues before, but now I can't even load older WMVs intactly into Adobe apps. without that same problem with blacked-out upper halves of the frames -- even in movies that I used to be able to open in Media Encoder before.  Interestingly, these movies do load and play intactly in Windows Media Player on my computer, and they even load correctly into my co-worker's Premiere 5.5 on her computer, but I cannot get them to load correctly in either Media Encoder or Premiere on either my home or work computer.  What's going on??  Help!!

    This is a known issue that was introduced by a recent Microsoft update. Please see our help document for more information: http://helpx.adobe.com/premiere-pro/kb/wmv-files-corrupted-import-or.html

Maybe you are looking for