Calculate single value as ranked number function does not apply in CR

Hi everybody,
I built up a query with the SAP BEx Query designer. For one key figure I enabled the function "Calculate single values" as ranked list. So the query has the following result.
Instead of...
Score
1220
2032
2390
2389
...I got...
Score
1
2
4
3
Unfortunately when importing the query to Crystal Reports Crystal is just importing the key figure itself - the ranked list does not exist... so the output is the same as in the first example.
I tried to rebuild the formula with crystal means using the Rank function but I failed...
Can anybody provide a workaround for me?
Is there another way as using the formula workbench?
Best regards,
Sebastian

Hi Ingo and everybody,
I used now the following function using the Nth largest function:
If nthlargest(1, {TECHNAME_OF_QUERY.[Measures]-[9XU9YT56S6PRL7DR80I3DK9RA]})
   = {TECHNAME_OF_QUERY.[Measures]-[9XU9YT56S6PRL7DR80I3DK9RA]} then "1"
else if nthlargest(2, {TECHNAME_OF_QUERY.[Measures]-[9XU9YT56S6PRL7DR80I3DK9RA]})
   = {TECHNAME_OF_QUERY.[Measures]-[9XU9YT56S6PRL7DR80I3DK9RA]} then "2"
else if nthlargest(3, {TECHNAME_OF_QUERY.[Measures]-[9XU9YT56S6PRL7DR80I3DK9RA]})
   = {TECHNAME_OF_QUERY.[Measures]-[9XU9YT56S6PRL7DR80I3DK9RA]} then "3"
else if nthlargest(4, {TECHNAME_OF_QUERY.[Measures]-[9XU9YT56S6PRL7DR80I3DK9RA]})
   = {TECHNAME_OF_QUERY.[Measures]-[9XU9YT56S6PRL7DR80I3DK9RA]} then "4"
else if nthlargest(20, {TECHNAME_OF_QUERY.[Measures]-[9XU9YT56S6PRL7DR80I3DK9RA]})
   = {TECHNAME_OF_QUERY.[Measures]-[9XU9YT56S6PRL7DR80I3DK9RA]} then "20"
The formula is not very handsome and will fail, if the number of records exceeds...
Are there any alternatives?
And: Is there a possibility to change the field name, because those clumsy field names cause that the whole formula is almost unreadable. Or is the only way to build subreports?
Regards,
Sebastian

Similar Messages

  • HT203712 I have a 2011 tahoe.  My bluetooth functioned properly until I updated my iPhone.  Now the iPhone connects to the Tahoe but when I try to call a number it does not work.  Either it cals the number and has no outgoing or incoming sound or it just

    I have a 2011 tahoe.  My bluetooth functioned properly until I updated my iPhone.  Now the iPhone connects to the Tahoe but when I try to call a number it does not work.  Either it cals the number and has no outgoing or incoming sound or it just says it iis unable to complete the call.

    I would check with the Auto dealer where the vehicle was purchased to check and see when the bluetooth software was last updated on your vehicle. With the vehicle being a 2011 and if the software has not been updated since the dropping of IOS 7 then obviously there will be software incompatibilities.
    Good luck.

  • Palm Desk Top 6.2 Address Look Up Function Does Not Work In Windows 7

    I recently upgraded my desk top computer's operating system from Windows Vista Home Premium to Windows 7 Home Premium.  I synchronize with a Palm Tx PDA.  HP PalmOS customer support Chat helped me work through a compatibility issue that was preventing display of Address, Calendar, Memo and To Do items on my desk top computer via the Palm Desk Top 6.2 application.  I now find that the address look up function does not work (although it worked fine when I was running Vista).  Without success, I tried running the repair tool as well as reloading the software (both overlay and clean reinstall).  I would appreciate any help or suggestions to fix?
    Post relates to: Palm TX

    Hi,
    844869 wrote:
    CREATE TABLE TEST_EMPLOYEES
    FIRST_NAME VARCHAR2(26 CHAR),
    GRADE VARCHAR2(5 CHAR)
    INSERT INTO TEST_EMPLOYEES (FIRST_NAME, GRADE) VALUES ( 'William', 45 ); ...Thanks for posting the CREATE TABLE and INSERT statements; that's very helpful.
    William&45     1
    Robin 43     1
    Raymond          43     1
    Richard          43     1
    Karen          28     1
    Michelle               1
    Jonathan               1
    Mark               1
    Ann               1You may have noticed that this site normally doesn't display multiple spaces in a row.
    Whenever you post formatted text (such as query results) on this site, type these 6 characters:
    \(small letters only, inside curly brackets) before and after each section of formatted text, to preserve spacing.
    This is one of the many helpful things found in the forum FAQ {message:id=9360002}
    Are the results above what you're getting with some existing query, or are they the results you want? 
    If those are your current results, post your query.  In that case, what are the results you want?  Do you want this?FIRST_NAME GRADE RNK
    William 45 1
    Robin 43 2
    Raymond 43 2
    Richard 43 2
    Karen 28 5
    Michelle 6
    Jonathan 6
    Mark 6
    Ann 6
    Edited by: Frank Kulash on Feb 21, 2013 2:39 PM
    I see you've added the desired results to your original message.
    Here's one way to do that:SELECT first_name
    ,     grade
    ,     RANK () OVER (ORDER BY grade NULLS FIRST)     AS rnk
    FROM     test_employees
    ORDER BY grade          DESC     NULLS LAST

  • Crystal Report for VS2010 - The Go To Page function does not work

    When running a report into Crystal(VS2010), the Go To Page function does not work.  Typing in a page number and pressing Enter does not take you to that page.  The report remains on the current page. I'm not sure if there is suppose to be a button like the one in Crystal 8.5(VS2008).

    As long as you are using the CR assemblies for VS .NET, the viewer (Win) should look like this:
    Remember, the ActiveX viewer based on the Report Designer Component (RDC, referencing craxdrt.dll) is not supported in VS 2010.
    - Ludek
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Share Your Knowledge in SCN Topic Spaces

  • Since I installed Lion on my macbook the LED light does not pulse when I close the screen - the sleep function does not work.

    Since I installed Lion on my macbook the LED light does not pulse when I close the screen - the sleep function does not work neither when chosen after pressing the button nor chosen in the apple menu..

    I have had the same problem but on another forum it was suggested that disabling internet sharing would solve this. This fix seems to work on my machine - why it works I do not understand

  • New iMac (10.9.4) & now my HP Photosmart 6520 "scan to computer" function does not work

    Recently upgraded to a new iMac running 10.9.4.  Printing works well from this computer and all other devices (iPad, iPhone, etc.).  However, the "scan to computer" function does not work.  In the "Scan" section of HP Utility when I click on "Scan to Computer" the error message reads "Scan to Computer Cannot Be Enabled. The software required for Scan to Computer could not be located on this computer. Please download and install the latest HP recommended software for your device from http://www.hp.com/support, and then try again.
    Of course I have done this... twice... still no luck.  Also ran Software Update and there was an update, but it made no difference.

    Yes, did all that... in order.  It did not resolve the problem.  However, I did find what appears to be the answer.  After re-installing the driver software DO NOT immediately follow the prescribed steps.  Instead, quit the installer, restart the Mac, and an Apple software update will appear after restart.  Install that software update, and even though the computer and software do not call for it, restart the Mac again.  Only then add the printer and follow the balance of the steps.  It works!   Thank you for your help.

  • The jar size value in the Application Descriptor does not match the real ja

    Hi,
    when i creat obfuscated package for my application It's posing the
    Error preverifying class A
    Class loading error: Wrong name
    The jar size value in the Application Descriptor does not match the real jar file size.
    It's perfectly working for all the other applications .I tried to change the jar size in the jad file but it's not working.

    Yes, the obfuscator does not change the size value after finishing. You have to do it yourself.
    Mihai

  • How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

    How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

    How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

  • Cat0-3750 upgrade. Error: system number 1 does not support the same feature

    I am trying to upgrade or rather downgrade from ipadvservices (inadvertently upgraded to) to ipservices on a stack of Cat-3750s, but I get the following error message:
    Ios Image File Size: 0x00877A00
    Total Image File Size: 0x00B04200
    Minimum Dram required: 0x08000000
    Image Suffix: ipservicesk9-122-37.SE1
    Image Directory: c3750-ipservicesk9-mz.122-37.SE1
    Image Name: c3750-ipservicesk9-mz.122-37.SE1.bin
    Image Feature: IP|LAYER_3|PLUS|SSH|3DES|MIN_DRAM_MEG=128
    Error: The image in the archive which would be used to upgrade
    Error: system number 1 does not support the same feature set.
    Any ideas?
    Chris

    I was having the same issue even with entering the following:
    archive download-sw /overwrite /allow-feature-upgrade tftp://172.18.108.26/c3kx-sm10g-tar.150-2.SE7.tar
    I noticed the image which was running on the switch was correct without the ".bin" at the end:
    3560#sh ver | i image
    System image file is "flash:c3560e-universalk9-mz.150-2.SE7"
    I uploaded a fresh IOS image from CCO and made sure the image name had ".bin" at the end. Seems trivial except the error is produced through a sanity check. See below (please excuse the extra unplugging in the output):
    3560#sh ver | i image
    System image file is "flash:c3560e-universalk9-mz.150-2.SE7.bin"
    3560#$de tftp://172.18.108.26/c3kx-sm10g-tar.150-2.SE7.tar
    Loading c3kx-sm10g-tar.150-2.SE7.tar from 172.18.108.26 (via Vlan1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!                             !!!!!!!!!
    Mar 30 01:33:35.480: %USBFLASH-5-CHANGE: usbflash0 has been removed!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Mar 30 01:34:15.636: %PLATFORM_ENV-1-FRU_PS_ACCESS: FRU Power Supply is not responding!!!!!!!!!!!
    [OK - 24893440 bytes]
    Loading c3kx-sm10g-tar.150-2.SE7.tar from 172.18.108.26 (via Vlan1): !!!
    Mar 30 01:34:35.593: %PLATFORM_ENV-6-FRU_PS_OIR: FRU Power Supply 2 removed!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!                             !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    examining image...
    extracting info (100 bytes)
    extracting c3kx-sm10g-mz.150-2.SE7/info (499 bytes)
    extracting info (100 bytes)
    System Type:             0x00010002
      Ios Image File Size:   0x017BDA00
      Total Image File Size: 0x017BDA00
      Minimum Dram required: 0x08000000
      Image Suffix:          sm10g-150-2.SE7
      Image Directory:       c3kx-sm10g-mz.150-2.SE7
      Image Name:            c3kx-sm10g-mz.150-2.SE7.bin
      Image Feature:         IP|LAYER_3|MIN_DRAM_MEG=128
      FRU Module Version:    03.00.78
    Updating FRU Module on switch 1...
    Updating FRU FPGA image...
    FPGA image update complete.
    All software images installed.
    Worked for me, hope this helps.

  • My search function does not work. How can I fix it?

    Hello
    I need help I just bough a macbook 13 inch, with snow leopard
    and the search function does not work.
    The window opens but when I write the name i searh it gives me no results.
    How can i fix it?
    Do i need really to re install all snow leopard?
    thanks
    pt

    Hello paola t & welcome to the forums
    I need help I just bough a macbook 13 inch
    It may be that Spotlight hasn't completed indexing just yet - is there a dot (indicates busy) inside the magnifying icon top right?
    Also, check System Preferences/Spotlight to see what if any exclusions are configured, etc.

  • Trying to access row values in a table which does not have any rows yet

    try{
                             MappedRecord importParams = recordFactory.createMappedRecord("CONTAINER_OF_IMPORT_PARAMS");
                             IFunction function1 = client.getFunctionsMetaData().getFunction(funModGetDet);
                             IStructureFactory strucFact = interaction.retrieveStructureFactory();
                             response.write("try2 :"+pnumber);
                            IRecord structure = (IRecord) strucFact.getStructure(function1.getParameter("PERNR_TAB").getStructure());
                             response.write("try111 :"+pnumber);
                             structure.setString("PERNR",pnumber);
    I am getting the following error "Trying to access row values in a table which does not have any rows yet " where PERNR_TAB is a table containing field "PERNR".
    Can anybody help me out?

    Please re-post this question in the appropriate forum. It seems to have nothing to do with Web Dynpro.

  • Why can't I find events with cmd-F? I can see the appointment I am searching for, but the search cmd-F function does not find it. Why is this. It used to work...

    Why can't I find events with cmd-F? I can see the appointment I am searching for, but the search cmd-F function does not find it. Why is this. It used to work...

    Why can't I find events with cmd-F? I can see the appointment I am searching for, but the search cmd-F function does not find it. Why is this. It used to work...

  • Profitability segment number 02209 does not exist in operating concern ESAA

    Hello Experts,
    Please help us on one issue which  we are facing here that
    "Profitability segment number 02209 does not exist in operating concern ESAA"
    please could you please let us know why are facing this issue and where to check if this Profitability segment number.
    Thanks and Regards,
    Mangal Modi

    HI,
    This can occur if you have deleted data from table CE41001 and have
    already assigned data to profitability segments in this operating
    concern.
    Check the OSS note: 93051, hope it may help you..
    Thanks

  • APP-PO-14806 : Lot and/or serial number quantity does not match transaction quantity.

    Hi. I Have Error : APP-PO-14806 : Lot and/or serial number quantity does not match transaction quantity. when receiving a transaction from a PO

    Hi,
    This may occur because one of either have happened
    1. Lot Quantity is not equal to the quantitiy being delivered.
    2. Check if the item has secondary UOM and if it is matching on the lot form.
    Regards
    Prakash kumar

  • Mail search function does not work after reinstalling

    Hello!
    I recently had to re-install Leopard on my MacBook Pro.
    I made a clean install so, I manually copied the Mail folder and preferences from my old home folder to the new one.
    All mails are present, and everything works great, apart from the fact that the search function does not work.
    I can search for new mails (that came after the reinstall) but the old ones "dont exist" as far as the mail.app goes.
    What can I do about it ?

    It would probably be easier to do the entire hard drive. The App Store also uses Spotlight, so updating it will help there also. It takes some time to re-index and your computer will/may run slower until it is done.
    Direct answer to your question is go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder. Then go to System Preferences/Spotlight per the linked article and in your user folder, select Library/Mail/V2.
    Thanks to leonie for some information contained in this.

Maybe you are looking for

  • Slideshow picture quality

    I created my slideshow in iPhoto 08 & it look gorgeous when played back, sharp, clean images. I have tried creating slideshows directly in iDVD 08, but the quality wasn't as good , so I shared my iPhoto slideshow, exporting it to iDVD. However, the p

  • Patching 8, 9 & 10 without internet connection

    Hi I'm looking to automate and manage Solaris patching for a large number of Solaris systems. The OS on these systems range from 8, 9 and 10. The systems sit within a secure domain and have absolutely no connection to the internet ... there is a phys

  • TM cannot find volume

    According to the TM 'Fail' message, during AUTOMATIC backup, TM cannot find the external drive. It is happy to find it if I manually tell TM to do a backup. The external is a brand new, case sensitive, journaled, 2TB Seagate.

  • How do I make the mp4 file a little smaller?

    I've created some films and I need to get them under 10mb.  They are only slightly bigger than this at the moment. Any suggestions on what I need to do in the publish settings to make them a little smaller?

  • Office 2011 not opening documents

    I recently installed Office for Mac 2011. I have 2008. The 2011 version does not allow me to open documents on my computer, and it seems to not recognize the Normal template.