Top N suggestion

I am going to display Top N suppiliers in my report.
Instead setting the Edit box prompt where the user will be able to plug in the 'N' value, I want to create a drop down that shows 'top 5', 'top 10', 'top 15'
I am even able to set that in the db prompt by writing a case stmt some thing like this... case when 1=0 then column1 else 'Top 5' when 1=0 then 'Top 10'.
now the problem once they select Top 5 in the db prompt, it has to resolve into value 5 in the report.
In my report i have the filter condition saying rank(amt)<presentationvariable value
So now that presentation variable value should resolve the values of Top 5, Top 10 to 5 and 10 respectively. I tried to write case statements and create sub report but it didnt wrk
Any pointers here?
prash

Do this:
1) Instead of the LOVs being "Top 5," "Top 10," etc., label the dashboard prompt, "Top: " and have the dashboard prompt values be simply 5, 10, 15, etc. and save it to a pv called pv_rank
2) Now in your report, rank the appropriate column. Put a filter on this column "less than or equal to" @{pv_rank}

Similar Messages

  • To Moderator staff: (off-top) a suggestion

    Dear moderators,
    Can we create a sticky postings (they'd be on the top all the time) with FAQs and commonly asked questions. People (including myself) sometimes ask the same questions over and over again - this is fine - but it's diminishing value of the board in a way that the most advanced people (not myself) get tired of pointing people to the same places or to the documentation.
    Thanks

    Hi @Jimec ,
    I have brought your issue to the appropriate team within HP. They will need to get information from you to look up your case details or serial number. Please look for a private message.
    If you are unfamiliar with how the forum's private message capability works, you can learn about it here.
    Thank you,
    George
    I work for HP

  • Suddently I can't open my documents on my Mac PRO lap top, any suggestions?

    Hello,
    My lap top suddenly stopped being able to open my documents. Any ideas?

    What kind of documents? What happens when you try?

  • Top 4 Suggestions to Improve Spaces

    1. Give the option to not let applications switch you to their space on focus I like that clicking a dock icon switches you, but I don't like when an app in another window opens a file or an alert, and it switches you while you're doing something else.
    2. If you minimize a window in one space and switch to another, then you should be able to restore that window in the new space
    3. Show a preview in the menu bar of your spaces like Desktop Manager does
    4. Give the option to open a new window of your app in another space.
    Don't know if any Apple Developers read / care about these topics, but these are the comments I've been hearing from other Leopard users all week

    I agree (almost) completely. Number 2 and 4 are very similar and from a programming perspective if one is implemented the other is trivial.
    What frustrates me more than anything is that I had been using VirtueDesktops, an open source application I originally downloaded from sourceforge.net Sadly that application is no longer under development, do doubt to the announcement of Spaces some months ago (I wouldn't continue working on a project which would have basically the same function of something built into the next OS release. Could you imagine what would happen if m----soft came out with anti-virus built in to Windows? But why should they do that? - sorry for straying.)
    VirtueDesktops did everything I needed, although the function-f8 screen display is pretty cool, but that's all that was missing from an open source application, and I'll admit while it's nice, I can live without it. (It sadly is not Leopard compatible or I would have disabled spaces and gone back to it.)
    I am a linux user as well. Using the KDE window manager I have a menu strip along the bottom of my screen. Within that I have the KDE equal to Spaces. It offers me an outline of the open windows within each "space". Now while it doesn't show me the application I've learned to remember it (helped by the size of the outlined window.) Within the dock I can move the outlined windows both within a "space" as well as to a different "space" if I want. It's a nice solution to displaying an image of the "spaces" within the small view available on the dock. (I think if it tried to display the full application instead of an outline it would just end up as a blurry mess.)
    So, if Apple leaves Spaces alone (keep in mind, a bug is just an undocumented feature, just add documentation and bugs become features - problem solved) I hope that the open source community comes up with something Leopard compatible. I'd switch today! Apple did a lot of things well with Spaces. Now if the good things can just be combined with features of other similar apps out there we could have something useful, instead of cool.
    The only thing I would add to the list (or substitute I suppose for number 3) is to move the Spaces icon from the menubar to the dock, and display an outline of the open windows allowing for those outlines to be moved from within the dock. (Admittedly, I don't know if that would come out clear if one went to a 4x4 grid of 16 spaces.)
    Another option would be to allow placement of the spaces "icon" on the desktop (I'd tuck it into a corner) where it could be resized by the user, once it is resized to a large enough view the outlines could become images of the actual windows.
    There's my two cents (actually more like a quarter, but that's inflation for you.)

  • How can I get rid of top hits in safari on iPad Air.

    Hi,
    I've tried everything I can think of to get rid of top hits suggestions in safari on my iPad Air. I've gone into settings and turned off top hits and also cleared history and cache and cookies and yet I'm still getting top hits coming up. I'm using the privacy option and have also rebooted my ipad with no success. Any more suggestions as I don't want top hits showing when in safari, many thanks.

    You can go to Settings>Safari>Clear History, cookies and data and then delete every bookmark and that should clear it temporarily, but it will only be temporary. As soon as you starting using the search again, then suggestions will appear again.
    I think that I may have misread your question - if you want to clear all of the history - use the Clear History button in the upper right corner of the History window. You cannot delete one item at a time.

  • Top Margin Woes: Setting the "Before" Margin for Every Page in a Section

    Hi,
    I've scoured the forums to no avail on this one. I am trying to create a document where the text in Section 1 appears 1 inch from the top of each page and 2 inches from the top of each page in Section 2. Should be pretty straightforward, right? Please tell me it is! I'm using Pages '09 (version 4.0.5).
    Right now, the document margin is set to 1 inch from the Top, so Section 1 is fine. For Section 2, when setting the Before margins after a Layout Break (in the Layout Inspector under the Layout tab), only the first page of that section gets a Before margin of 2 inches. Every page after that in Section 2 is still 1 inch from the top.
    Suggested Workaround Attempted
    I tried the "Move Object to Section Master" workaround, but the menu item "Format > Advanced > Move Object to Section Master" is disabled when performed on an "inline" object, which is what is required to force the text down from the top of each page in Section 2. Turning it into a "floating" object enables the "Move Object to Section Master" menu item, but since it is floating. the text for that section is not pushed down, the rectangle is just displayed in the background of each page in Section 2.
    Any ideas on how to solve my Top margin woes would be much appreciated!

    Hello
    To push a text down in the text body using the clean way which means setting space after, requires that we have already a paragraph which means a chunk of text ended by a paragraph break.
    It's exactly what I do.
    Most of the time, we don't put a paragraph break at the end of a header so it's not a paragraph and so, we can't define the space after value.
    My tip just gives it the status of paragraph allowing me to define space after the clean way. The dirty one was to insert several returns to adjust the height which I carefully rejected.
    It's exactly what we discovered some months ago:
    we can't set space before (above) at top of a page because there is no paragraph before (above) in the page.
    As far as I know, the  "Use Previous Headers and Footers" must always be set correctly. I'm remembering a thread which became huge because the OP can't understand that he had to define these properties correctly to get correct results with his captured pages.
    I wish to add that at this time we don't know exactly what the OP want to achieve.
    Maybe he want to move down the top of the print area and the header.
    You can't do that with your tip.
    With mine, I just insert a paragraph break at the beginning of the header.
    Yvan KOENIG (VALLAURIS, France) vendredi 8 juillet 2011 17:50:30
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • What is the Best Version for my Lap-top?

    Hi All,
    Very fond of Firefox browser and would like to know what the Best Version for my Lap-Top is suggested. Currently running Win Vista Business, Dell Inspiron 6400, 2GB ram, Intel 2.00GHz, 32-bit. Due to the fact this system is older, I have not upgraded to the the most recent 21.0 Not to mention the ad-dons that may or may-not be affected.
    Current version is: 18.0.1 and seems to run very well. I have been getting notices of a New update available for 21.0 Not Sure why.
    As an average computer user I hope to inspire some assistance to determine my best course of action.
    Private responses or posts to this thread are fine
    Thanks... Jay
    [email protected]

    Firefox have a new built-in pdf now, you can see : [https://support.mozilla.org/en-US/kb/view-pdf-files-firefox-without-downloading-them#os=win7&browser=fx21 View PDF files in Firefox without downloading them]
    see also if you want to set another pdf viewer : [https://support.mozilla.org/en-US/kb/disable-built-pdf-viewer-and-use-another-viewer#os=win7&browser=fx21 How to disable the built-in PDF viewer and use another viewer]
    for me, personally (i'm not see pdf in browser so often) so i keep firefox built-in pdf in browser and i have my Adobe Acrobat for my downloading pdf, but that is my choice).
    thanks

  • Fairly certain that FileStream.writeObject() and FileStream.readObject() do not function - at all -.

    I've struggled with this since Jan 9th, 2013 (if not longer) and the only conclusion I can come to is that this simply does not function.  No matter what I try and no matter what resource (and I'm finding precious few) I follow to try to implement this within Flash Builder 4.7, Flex SDK 4.6.0 (Build 23201), AIR SDK 3.5, I only succeed in creating a file (with the correct name) that is 123 bytes in size that reads back in as NULL;
    I've tried using ByteArray.writeObject()/readObject() as an intermediary with FileStream.writeBytes()/readBytes(), with no luck.
    I've tried instantiating an object, setting properties and then using that.  I've tried instantiating my correctly formed ValueObject (including the remoteClass alias metadata tag).
    I've tried using -verbatim- the example provided in the top most suggested 'Community Help' resource http://www.switchonthecode.com/tutorials/adobe-air-and-flex-saving-serialized-objects-to-f ile It is worth noting that this solitary example of the procedure/SDK-usage is dated to Flex SDK 3.0 and at least 04/04/2009 (first comment on the article).
    My frustrating hell (one version of many methods attempted) is detailed on StackOverflow (including -all- mxml, as, and trace output), but so far, no assistance has been forthcoming, alas.  This is a severely stripped down and simplified version of what had been a far more complex attempt:
    http://stackoverflow.com/questions/14366911/flex-air-actionscript-mobile-file-writeobject- readobject-always-generates-null-w
    An earlier post* detailing a far more complex attempt interation, with, alas, just as little help (guess this isn't a hot button topic) forthcoming:
    http://stackoverflow.com/questions/14259393/flex-actionscript3-filestream-writeobject-fail s-silently-in-ios-what-am-i-doin
    * I previously suspected that it was only failing from within iOS on an iPad, but the first example (the stripped down version) made it evident that it didn't work in the AIR mobile device simulator (iPad) in the Windows environment, and indeed, didn't work in a non-mobile project in the windows environment AIR launcher.
    I'm at a loss, upset, frustrated, in major trouble with my supervisor/deadlines, etc.
    I would very much appreciate any suggestions/help/confirmation/etc.
    Just to move ahead with development I've opted for a far less preferable solution of writing out both an XML file and a JPG file.  I very much do not like this and very much want to store encapsulated serialized objects locally in the same way I assume will work for storing remotely with AMFPHP (if the project ever gets to that point *sigh*).
    Again.  Would be so grateful for any help.

    I want to add to this post as I marked it as "The Answer" though it does not indeed contain the answer directly, for those who come looking for simliar solutions.
    harUI prompted me to realize that my metadata term needed to be capitalized (RemoteClass instead of remoteClass).  As the metadata tags may be user defined, the compiler throws no errors (or warnings *grumble*)
    package vo
        import flash.display.BitmapData;
       // [remoteClass(alias="PTotmImageVO")] incorrect
       [RemoteClass(alias="PTotmImageVO")]
        public class PTotmImageVO

  • I have a lot of bookmarks, and I want to search them, similar to a file search on my computer; how can I do that? Please say it can be done.

    I need to be able to search my Firefox bookmarks. For example, I know I have a bookmark with wot in the name of it, but for the very life of me I cannot find it amongst all the bookmarks I have. There must be around a thousand (not exaggerating). I have no idea at all where I have saved it, and I know it's there, but I cannot find it.
    So how do I search my bookmarks similar to like I would search my computer for files?
    If FF doesn't have this capability, could you PRETTY PLEASE consider adding this functionality?

    Firefox does allow bookmark searching. From the 'Bookmarks' menu select 'Show all Bookmarks' (Ctrl + Shift + B). A new window will open showing the Bookmarks library. At the top right corner is a search box.
    Also, by default, when you start typing an address into the location/address bar at the top, Firefox suggests links from history & bookmarks. So you should be able to find it just there too. Click [[Awesome Bar - Find your bookmarks, history and tabs when you type in the address bar|here]] to know more.

  • How can I get the data back in my Date Book on Palm Desktop

    No device
    I have an old Tungsten E2 and jut lost everything out of the Datebook.  Only the data on Datebook and it's still on my Handheld.  How do I get the backup file for Datebook?  Or how do I sinc from Handheld to the Palm Desktop?

    Your post is unclear, but I think it says that your handheld has the data that disappeared from your desktop. Before syncing the data back to your des,top, I suggest changing the Datebook hotsync conduit to Handheld Overwrites Desktop.
    smkranz
    I am a volunteer, and not an HP employee.
    Palm OS ∙ webOS ∙ Android

  • Repairing permissions before and after updating software

    What is the reason to repair permissions before and after updating software? This may sound like a stupid question to many of you, but I am new to computers and I am trying to learn how and why of some of the things of my PowerBook. I installed some updates without repairing permissions. Did I install some software updates the wrong way? Thank you.

    This is a topic which will draw as many emphatic for and against responses as overnight shut down or not, defrag or not, optimise or not, and so on.
    I agree with Neil. I believe that OS X has progressed sufficiently that repair permissions has become redundant and so I do not do it on any regular basis.
    Some folk may refer you to an Apple Support Article 303602. That Article in its 4 May 2006 version, titled "Top 10 Tips to Keep Your Mac in Top Form" suggested Repair Permissions should be done "after upgrading or installing new software". The Article was however revised on 15 May 2006 to be titled "Top Tips to Keep Your Mac in Top Form" and the item on Repair Permissions [along with two other recommended maintenance tips] was removed. It is my view that the conclusion to be drawn here is that Apple no longer considers Repair Permissions to be a required maintenance procedure.
    Many users have adopted a "Repair Permissions" mantra for a cure-all over several years. I dropped it sometime in 10.3.
    But, to each his own.
    HTH
    TiPB 867   Mac OS X (10.4.6)  

  • Wi-Fi loosing connection every few seconds on my macbook pro and its not my router's fault (running yoseomite)

    Basically I bought my new Macbook Pro retina display in September 2014. My wifi was working perfectly well for about a month or two until Yosemite was brought out. I'm not sure if it was immediately after I downloaded Yosemite or not, but not long afterwards I noticed I was having trouble with my wifi (and not just mine but my schools as well). Every time my computer tries to join the wifi network it will work for a while (5 seconds) and it will say that I have a wifi connection but then it will just stop working and it will say I'm not connected to wifi. A few seconds later and it will then reconnect and say I have wifi. I am fairly certain this is not my wireless router ( a BT home hub) as I have other devices such as my iPhone and a computer which does not suffer these problems. After a while of it loosing connection and then gaining connection it will finally stop and the wifi icon at the top will suggest I have a wifi connection but when I hover over it, I see it says "Wi-Fi:looking for networks..." and then 2 seconds later it will say "Wi-Fi: On" and it will repeat like this for however long I am on the network. When the icon appears to suggest I have a connection I am able to load a webpage but it is slow and watching Netflix can be tiresome. I've scoured these forums for information that will solve my issue however all I have found is outdated information from 2010 or 2012 or too technical information that I can't understand. Does anyone else have this problem, has anyone else found a solution, it would be much appreciated if any one could help me solve t.

    Please test after taking each of the following steps that you haven't already tried. Stop when the problem is resolved. Back up all data before making any changes.
    Step 1
    Take the applicable steps in this support article. The Wireless Diagnostics program generates a large file of information about your system, which would be used by Apple Engineering in case of a support incident. Don't post the contents here.
    Be sure to test on more than one Wi-Fi network, if at all possible. A desktop computer can be tested with a mobile hotspot, such as the hotspot created by a cell phone. If the problem only exists on one network, then the access point of that network should be the focus of your attention, not the computer.
    Step 2
    Disconnect all USB 3 devices. If you don't know which are USB 3, disconnect all USB devices except keyboard and mouse.
    Step 3
    If you're not using a wireless keyboard or trackpad, disable Bluetooth by selecting Turn Bluetooth Off from the menu with the Bluetooth icon. If you don't have that menu, open the Bluetooth preference pane in System Preferences and check the box marked Show Bluetooth in menu bar. Test. If you find that Wi-Fi works better with Bluetooth disabled, you should use the 5 GHz Wi-Fi band. Your router may not support it; in that case, you need a new router.
    Step 4
    Open the Energy Saver pane in System Preferences and unlock the settings, if necessary. Select the Power Adapter  tab, if there is one. Uncheck the box marked
              Wake for Wi-Fi network access
    if it's checked.
    Step 5
    Open the Network pane in System Preferences and make a note of your settings in the Wi-Fi service. It may be helpful to take screenshots of the various tabs in the preference pane. If the preference pane is locked, unlock it by clicking the padlock icon and entering your administrator password. Delete Wi-Fi from the service list on the left by selecting it and clicking the minus-sign button at the bottom. Then recreate the service by clicking the plus-sign button and following the prompts.
    Step 6
    In the Wi-Fi settings, select
              Advanced... ▹ TCP/IP ▹ Configure IPv6: Link-local
    Click OK and then Apply.
    Step 7
    Reset the System Management Controller.
    Step 8
    Reset the PRAM.
    Step 9
    Launch the Keychain Access application. Search for and delete all AirPort network password items that refer to the network. Make a note of the password first. Turn Wi-Fi off and then back on. You'll be prompted for the password when you reconnect. Save it in the keychain.
    Step 10
    Make a "Genius" appointment at an Apple Store, or go to another authorized service center.

  • How do i set a homepage in safari on ipad

    I clicked on the left arrow at the top as suggested but all I got was instructions for firefox. I am using explorer

    When you tap the Arrow icon next to the URL field on the Safari toolbar, this is what should pop up. Do you see Add to Home Screen right in the middle of this pop up?

  • Tell SAP what can be improved with Interactive Scripting (maximum points)

    Hello,
    This is John Burton, product manager from SAP for the Interction Center. I need you help!
    SAP is looking to fix any critical issues with the Interactive Script Editor and runtime. If you are using scripting and have issues that you think really need to be addressed, please let us know by replying to this message with your clearly stated requirements
    Obviously SAP will not be able to address all requirements. However, we will seriously consider all suggestions and implement those that we feel best address the needs of the SAP customer base while fitting with our available development capacity.
    Please respond as soon as possible this week. Thank you.
    Regards,
    John
    P.S. At least 2 points will be awarded for any suggestions. 6 points to the top 2 suggestions and 10 to the best suggestion.

    hi, thanks for the feedback request ,
    i think  i did a lot of investigation on ISE than anyother,
    i have couple of request to change in the editor,
    1) JAVA versions, java vesrsions always effects the editor configuration and scripts,  which we need to be removed this risk ,
    to fix this issue, we need to investigate  number of hours , whether the error coming from J2EE enginee or the  java vesrion in local machine ,
    rather doing all this, we must have a faculity to develop interactive script in SPRO like survey suite,
    so that we can reduce the risk of this java errors J2ee enginee dependencies, number of consultant  investigation hours, ands alot of money
    then in that case we dont need scripting editor,
    if we can run a survey sute script in webclient , why cant  we designed the scripts  and run  successfully in webclient ,
    we can remove 100 % risk and save millions of money ,
    regards
    sreelatha
    SAP CRM functional consultant

  • Creating a progress bar on a HTTP Service

    Hello All,
    As the top title suggests, does anyone know the best way of doing this? The HTTP service is simply pulling some XML data and I want to inform the user of how long this is going to take or what % it is currently completed.
    I dont have much experience with using progress bars so any help would be much appreciated.
    THANKs!

    I found this online but It doesnt seem to work;
    If your HTTPService has id of httpService you have to first invoke an eventListener of type ProgressEvent.PROGRESS. On the stage or in your Popup you have to make a progressBar with id (for example myProgressBar)
    httpService.addEventListener(ProgressEvent.PROGRES, progressFunction);
    Than you have define a progressFunction that will accept broadcasted ProgressEvent like so
    private function progressFunction(event:ProgressEvent):void{
    myProgressBar.mode = 'manual';
    myProgressBar.setProgress(event.bytesLoaded, event.bytesTotal);
    //you can than do something when content is loaded
    if (event.bytesLoaded == event.bytesTotal){
    //code for popup removal or removal of progressBar

Maybe you are looking for