Ranking Top N but excluding ties at Nth position

Hi,
I have a requirement where I need to do top N analysis report. I came across problem where we have ties at Nth position, my client want not to show any Nth value because that will be misleading and if there are 3 value at Nth place then what to remove. what he want is to exclude Nth values and show only until N -1th place.
Show top 5 from following list:
A 100
B  75
C 50
D 25
E 5
F 5
G 5
H 4
I 3
Webi Rank function will give following:
A 100
B  75
C 50
D 25
E 5
F 5
G 5
What I want is way to get following:
A 100
B  75
C 50
D 25
Any thought ?
Thanks in Advance
Kumar

Let's say we have the grid like:
Dimension 
Measure 

10 
















Now, sort the measure column in descending order. we get:
Dimension 
Measure 

10 
















Now, create a variable:
v_Filter =If(RunningCount([Dimension])<=5;1;0)
Apply a block level filter as : v_Filter Equal To 1
You always get top 5 rows, no matter tie occurs or not.
Dimension 
Measure 

10 







Similar Messages

  • I like and use Top Sites but it has become unsuable with this constant blacking out and reloading the thumbnails.  My MBP has not seen a problem at all.   I have been searching every other day for over a month trying to find a fix in Windows Safari with n

    I like and use Top Sites but it has become unsuable with this constant blacking out and reloading the thumbnails.  My MBP has not seen a problem at all.
    I have been searching every other day for over a month trying to find a fix in Windows Safari with no joy.  I want to resolve, not switch browsers. Please offer up a solution that only refreshes the Top Site thumbnails once a day or as some controlable interval.  Started about two versions ago, now on ver 5.1.5. Windows 7 64bit.
    Safari 5.1.5 for Win64 bit, Windows 7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    I think I solved the wifi connection problem, just by switching off completely the router! sounds trivial, but in this case it worked!!!
    the funny behaviour of the trackpad/cursor still persists. any suggestion???
    thanks again

  • ITunes 10.5 will not sync to my BlackBerry. I sync's outlook fine with desk top manager, but when I select music DM says connect device. It also tells me to install iTunes!?!? Running XP Pro w/SR3 and BBerry Tourch 9810.

    iTunes 10.5 will not sync to my BlackBerry. I sync's outlook fine with desk top manager, but when I select music DM says connect device. It also tells me to install iTunes!?!? Running XP Pro w/SR3 and BBerry Tourch 9810.

    LowerFilters: AFS2K (3.1.21.0), PXHELP20 (2.0.0.0), IVIASPI (1.0.0.0), CDR4_XP (8.0.0.212),
    UpperFilters: Cdralw2k (8.0.0.212), GEARAspiWDM (2.0.6.1),
    hmmmm. you've got rather a lot of burning software entries in there. (it looks like you've got some kind of Roxio product installed, as well as itunes and Alcohol 120%.)
    by way of experiment, try the technique described in the following document (remember to take a backup of your device filter registry keys first).
    iTunes for Windows: Troubleshooting CD issues caused by device filters
    do you still get the itunes message with just the iTunes filters in place?

  • Is there a way to remove my facebook contacts from my phone contacts list?  I had an iphone 4 and it was easy to shut off from teh contacts through the groups link at the top left, but the iphone 5s does not have this feature nor can i figure it out throu

    Is there a way to remove my facebook contacts from my phone contacts list?  I had an iphone 4 and it was easy to shut off from teh contacts through the groups link at the top left, but the iphone 5s does not have this feature nor can i figure it out through the settings feature or anything else....HELP please as it is annoying to see all of these contacts!

    Hello ymprice91277, let's solve this mystery! To unlink the Facebook contacts go to Settings, Facebook, turn off contacts.
    WiltonA_VZW
    VZW Support
    Follow us on twitter @VZWSupport

  • My itunes account is american but I need to use a canadian credit card to top up but only once...how????

    I am Canadian but travel between Canada and the US so have a Canadian account AND an American account. the movie I need to download (for a school project for my daughter) is not available through the Canadian iTune store, only the American but I am a whopping four dollers short on that account so I need to use a Canadian credit card to top up but do not want it left on the account. The billing address for the Canadian card is, obviously, a Canadian address..... what do I do????

    Click here and ask the iTunes Store staff to zero your account balance.
    (114902)

  • I created a Pages document inserting 2 columns using 1) Inspector 2) Layout 3) columns.  How do I decrease the height of the column.  Have tried to use cursor and drag down the top border, but that does not reset the top border.

    I created a Pages document inserting 2 columns using 1) Inspector 2) Layout 3) columns.  How do I decrease the height of the column.  Have tried to use the cursor and drag down the top border, but that does not reset/decrease the top border.

    Set your columns back to one for the moment. In layout mode, insert a Text box. Place it in the upper left corner of your document, and drag down and right to the size of the container for your two columns. Click inside the Text Box, and now bump up your columns to 2. Your two columns are now contained in this resizable Text Box.

  • Title & Menu Buttons not working correctly on remote control/ set top player but work in preview.

    Title & Menu Buttons not working correctly on remote control/ set top player but work in encore preview. This only happens for a Blu ray project. When a user presses the menu button it should go to the previous menu they were on but it goes to the main menu. When they press the title button they should go to the main menu but it doesn't do anything. My DVD projects work as expected.I've tried creating a new "test" project with different footage and still get the same undesirable results.
    Overrides grayed out and set to "not set" for timelines and menus.Project settings and build are set to blu ray. Also I've noticed when I preview a Bluray project the preview window shows a red colored disc next to the Title button when viewing the timelines and green when playing the menus but not so for a DVD project it displays red if motion menus and or timelines are not rendered/encoded. I'm not using motion menus and all the media is encoded according to the project specs.
    I've searched this forum but couldn't find the answer. Any help or redirects to a solution would be appreciated. Working with CS5. Thanks.

    I found out on my Samsung Blu ray player the remote has a tools button on it that brings up audio, angle, chapter selection etc.and also title selection which is actually the menus and the timelines unfortunately. It's not as easy or direct as last menu selected but it's a workaround at least. I also plan on using a pop up menu. I'll let you know.

  • My slideshow doesn't show the pictures anymore - I can see them in the top row but they are not displayed in slideshow

    I created a slideshow and when I went back to look it plays the music but not the pictures - I can see them in the top row but they don't show up even if I click on them - music still plays!

    With the amount of information you've provided it's impossible to offer a potential solution.  We can't see your computer so we need to know the details of your problem and setup, i.e.:
    what version of iPhoto are you using?
    what system version are you running?
    are you able to view the photos in full size in the library?
    what fixes have you tried?
    where is your library located?
    did you apply any updates or upgrades just prior to the problem occurring?
    are you running a "managed" or "referenced" library?
    what type of Mac?
    how much free space on your boot drive?
    OT

  • I have installed Creative Cloud Desktop but it fails to load. The icon shows up in the bar at the top right but then it just disappears. I am running Yosemite on a MacBook Pro.

    I downloaded and installed Creative Cloud Installer and installed the Creative Cloud desktop on my MacBook Pro running Yosemite. The Creative Cloud desktop tries to install when the system starts and the icon actually shows in the top bar briefly and then disappears shortly after it shows up so it is obviously failing to load. I have tried multiple times to no avail.

    do you mean in my system library? or where can I find it?
    Am 05.03.2015 um 23:55 schrieb Jeff A Wright <[email protected]>:
    I have installed Creative Cloud Desktop but it fails to load. The icon shows up in the bar at the top right but then it just disappears. I am running Yosemite on a MacBook Pro.
    created by Jeff A Wright <https://forums.adobe.com/people/JeffAWright> in Downloading, Installing, Setting Up - View the full discussion <https://forums.adobe.com/message/7257828#7257828>
    Vanb38462666 or Daniel do either of you have a Library/Input Managers folder?  If so what do you have inside that folder?
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7257828#7257828 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7257828#7257828
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Downloading, Installing, Setting Up by email <mailto:[email protected]software.com> or at Adobe Community <https://forums.adobe.com/choose-container.jspa?contentType=1&containerType=14&container=46 71>
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624 <https://forums.adobe.com/thread/1516624>.

  • Where is now Cooliris icon in Firefox 3.6.18? Last appeared in the top right but now I get the home icon. Please let me clarify it. Regards.

    Where is now Cooliris icon in Firefox 3.6.18? Last appeared in the top right but now I get the home icon. Please let me clarify it. Regards.

    Thanks a lot for your swift response. And sorry if it was a bit too hectic to go through my detailed query (which I did because it was misunderstood when I asked previously). As I've mentioned above, I was informed that updating to 5.0.1 would '''require''' me to '''delete''' the current version and then install the new one. And doing so will involve losing all my bookmarks. I guess I should have been more specific and detailed there. By losing, I didn't mean losing them forever. I'm aware that they're secured in some place and deleting and installing the software doesn't harm its existence. What I meant that if I install the new version, I'd have to delete the old one. And after installing the new version, I'd have to transfer them (bookmarks) back from wherever they are. Get it? When it updated from 3.6.9 to 3.6.13, and from 3.6.13 to 3.6.18, I didn't need to follow that process. They were already present on their own.
    BTW, I'm having no problems with 3.6.18 but after learning about the existence of version 5.0.1, I'm a bit too eager to lay my hands over it.
    Thanks for your help; hope this wasn't extremely long.

  • Since the update to 4.4.4 my messages show up on the top bar but no number on the app telling me how many text i have. Any suggestions

    It shows on the top bar but nothing on my icon. Any suggestions. thanks in advance

        buckeyecrazzy,
    I am sorry to hear of the issues you are having with your messaging app. Are you using the factory messaging app that came with the device or a 3rd party application? Have you tried to reset the application? Settings>Application Manager>All>Tap whatever messaging application you are using and select Clear data, clear cache, and force stop.
    LindseyT_VZW
    Follow us on Twitter @VZWSupport

  • My screen dims intermittently to almost completely dark, it goes away when I press the top button but, it is annoying.  what is wrong?

    My screen dims intermittently to almost completely dark, it goes away when I press the top button but, it is annoying.  what is wrong?

    Try the standard trouble-shooting steps: Restart, Reset, Restore. If these don't solve the issue then you may have a hardware probem. If so, contact Apple Support.
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPhone shuts down, then press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds). Ignore the "Slide to power off"
    Restore: Use iTunes on your computer to Restore your iPhone to as new.

  • Can I duplicate a dvd using disk utility but exclude the menu?

    I want to duplicate a dvd but exclude the menu. Can I do this using disk utility?

    No, Toast automatically handles the copying process—it creates a temporary image, burns it, and then deletes it.

  • GREP character to nth position

    Hi Everyone,
    Apologies in advance if this has been asked a zillion times before, but does anyone know how to locate a character to nth position in a certain location, e.g.
    HarryPotter
    I want to select the 6th character from the left, the 'P'
    Also, does anyone know the GREP code for this for BBEdit?
    Many thanks
    gr

    Hi,
    use
    .(?<=.{6})
    to match 6th element
    Jarek

  • How do you unfreeze a frozen top and left command in the printing position command?

    The top and left option of the printing position command is frozen at 0.  The error message states that a value between 0.000 and 0.000 is required.  How do I change this?  This happens will unedited and edited pictures.  I have just installed a xerox printer perhaps there is a link between this problem and the printer.

    I didn't even suggest that because I would have thought that would be the first thing anyone would have checked for!   If you flip the on/off switch on the bottom of the mouse do you have a blinking green light?  Whether you do or don't, if you are unsure of the batteries then replace them.

Maybe you are looking for