Crosstab specified sort order

Post Author: Jan_Hauptmann
CA Forum: Crystal Reports
Hi,I am quite new to Crystal Report (XI), especially crosstabs. Currently I am trying to create a crosstabwhere selected customer are shown on the top of the crosstab and all not selected to be counted as 'Other'. This is no problem as long as I have always the same customer I want to show(via Cross-Tab goup option - specified order). But what I would like is to enter the customer via the parameters and than apply it as specifiedsort order and all not mentioned customer from the parameters to be calculated as 'others'. Is there any chance to achieve something like this? Thanks in advanceJan

We are experiencing a similar issue with the sort order in Infoview. We are using Crystal XI.5.8.26 and Infoview.
The specified sort order works correctly in Crystal but in Infoview it comes back with a different order. Are there any suggestions on resolving this disparity?
Thank you.

Similar Messages

  • Specified Sort Order not working correctly in InfoView

    Hello All,
    We are running Crystal 2008 version 12.2.0.290 with Infoview 12.1.0 and are having a problem with specified sort orders working correctly.  In Crystal we are using the 'Chart Expert' to set the specified order of the percent bar chart.  It works just fine in Crystal 2008 and shows the stacked bar in the order we would expect.  We then save the report to InfoView and run the report on a schedule and it comes back in a completely different order. Not the order we specified in designing the report.  Any ideas on what is going on?
    Thanks in advance.

    We are experiencing a similar issue with the sort order in Infoview. We are using Crystal XI.5.8.26 and Infoview.
    The specified sort order works correctly in Crystal but in Infoview it comes back with a different order. Are there any suggestions on resolving this disparity?
    Thank you.

  • CAF specifying sort order in a findBy

    I'm fairly new to CAF and was wondering if there is a way of specifying the sort order when doing a findBy query.  I can't seem to find any information on this but it seems like a very basic need when querying a db.
    Thanks,
    Cindy

    Hi Cindy,
    Unfortunately there's no way to specify order by or paging in CAF findBy operations. This will be available in the next major CAF release.

  • Would like to specify sort order in link from chart

    Hi Folks,
    I have a chart for which I would like to provide drill down functionality, so that when a user clicks on the "Initial Budget" bar, they navigate to a financial report for the select business user sorted by Initial Budget.
    Here's what I've found out so far. By playing with the financial report, I found that I could specify the sort column by change the n value of the "fsp_sort_n" in the Request portion of the URL. However, there is also some "RP&" syntax in the ClearCache portion of the URL that is stumping me. Without the RP& syntax, the resulting report is not properly sorted, so it seems necessary.
    The syntax is "RP&fsp_region_id=4674145661723938".
    The question is, where is that number coming from? Can I find out what it is dynamically? Is the number static (it seems to be within one application)? I would prefer not to code magic numbers, but am not so proud that I wouldn't do it if necessary. :-D
    Thanks so very much,
    Petie
    Message was edited by:
    Petie

    I just tried playing with the RP& syntax in the ClearCache portion of the URL. If I put that into the link, it prevents the bars from being displayed in the SVG chart. Hmmmm. Just a bit more info.
    Petie

  • Sort order help for date string in crosstab

    Hello All,
    I need to calculate the number of calls for service for the last 13 months. Display the number in the report footer by month and year in a grid similar to a crosstab and in ascending date sort order. 
    Example: 
    May 2008    1,400
    Jun 2008     1,287
    Jul 2008      1,290
    all months through last full month 
    May 2009    1,385
    I can calculate the number of calls per month and display the month and year by converting the month and year to text.  However, I cannot seem to find a way to sort the month and year without some kind of on-going manual intervention.  I need to make the report maintenance free for monthly scheduled e-mail distribution in business objects enterprise.  Specified order does not work since the column headers will change each month.  It needs a sort order formula, but I am not sure how can this be done inside a cross tab? 
    Any help or suggestions are appreciated!
    Thanks,
    Wendy Douglass

    Hi,
    I have a similar cross tab in my report. but only problem is grouping is done based on a parameter GroupBy, which has Day, Week, Month values.
    if user selects day or week, cross tab should display column in dd/mm/yy format, if its month, MMM-yy format.
    I have created a date formula ,  GroupBy = Day then Opendate
                                                       GroupBy = Week then opendate -dayofweek(opendate)+1
                                                       GroupBy = date(year(opendate),month(opendate),1)
    and used this date formula as column in cross tab. I tried to format using custom date style...but its not working in cross tab.
    if I use totext to format the date formula, data will not be in sorted order...ex, its showing jul-99 before jun-99
    can anyone help?
    Thanks in Advance,
    Jyothi
    Edited by: Jyothi Yepuri on Jul 8, 2009 5:27 AM
    Edited by: Jyothi Yepuri on Jul 8, 2009 6:10 AM

  • Error: The sort order specified for distinct count records is incorrect

    When processing a measure group with a distinct count measure in it, i get the following error:
    "The sort order specified for distinct count records is incorrect."
    I have no idea what this means - any ideas?

    I had the same problem and your fix worked.  In more detail, the problematic field was contract_no.  I added a named calculation to the table in the Data Source View with the formula CHECKSUM(contract_no).  Then I created the distinct count measure on that named calculation.  And, lo and behold, the errors disappeared! 
    Thank you to Frank.
     - CindyCindy P Hoskey

  • Specifying alphabetic sort order for other languages.

    The alphabetic sort order differs slightly for other languages then the English one. I rewrite the alphabetics in the special text flow of the Reference Page of the index file, regenerate the index file, but the result is wrong. The special Group Title characters for greek, hungarian, czech, russian etc. languages are combined among latin Group Title characters.
    We work in FM 8 to create 3000 pages technical documentation in 14 languages. The output will be pdf file and help system. Our main problem now the index Group Titles sort order. Could you help me to solve this problem?
    Thank you so much
    Eva

    Michael,
    Thank you so much for your answer. It works great. I have a promlem only one letter, which is in the Czech alphabetics: "Ch". This letter would be after the "H". I have edited the sort order like this:
    Symbols[\ ];Numerics[0];A;B;C;Č;D;E;F;G;H;Chch;I;J;K;L;M;N;O;P;Q;R;Ř;S;Š;T;U;Ú;V;W;X;Y;Z 
    <$symbols><$numerics>Aa Bb Cc *Čč* Dd Ee Ff Gg Hh Chch Ii Jj Kk Ll Mm Nn Oo Pp Qq Rr Řř Ss Šš Tt Uu Úú Vv Ww Xx Zz
    The result in the generated index is, that the index entries beginning with Ch comes on below "C" and the GroupTitle "Ch" is disappearing. Take a look at the result in the generated index file, what I am talking about:

  • Sort order in list wrong: in CAML and in view

    Hello,
    When I order my list with document sets by ID, the order is wrong. It is wrong in the list and with caml.
    This is my view (I just set the sort on the ID column):
    The first 4 objects are created by the Client Object Model; the last 4 are created by a SharePoint webpart that I developped myself...
    My code for creating document sets in COM is something like this:
    ListItemCreationInformation newItemInfo = new ListItemCreationInformation
    UnderlyingObjectType = FileSystemObjectType.Folder,
    LeafName = _strLeafname // = date in format YYYYMMDDhhmmss
    ListItem newListItem = myList.AddItem(newItemInfo);
    newListItem["ContentTypeId"] = targetDocumentSetContentType.Id.ToString();
    newListItem["Title"] = title;
    newListItem.Update();
    clientContext.Load(myList);
    clientContext.ExecuteQuery();
    The code in the webpart is this:
    SPContentType docsetCt = myLst.ContentTypes[p.GetFromResourcefile("xxxxxxxxxxxxxx")];
    Hashtable properties = new Hashtable
    {"DocumentSetDescription", ""},
    {"Title", txtTitle.Text}
    SPFolder parentFolder = myLst.RootFolder;
    int newId = GetLastId(myLst) + 1;
    DocumentSet ds = DocumentSet.Create(parentFolder, newId.ToString(CultureInfo.InvariantCulture), docsetCt.Id, properties, true);
    ds.Item["Title"] = title
    ds.Item.Update();
    why is the sort order wrong?
    if i do this query in the U2U Caml builder, the order is also wrong
    <OrderBy><FieldRef Name='ID' Ascending='FALSE' /></OrderBy>
    if i order by "created", the order is also wrong....
    i don't get it....

    Document Sets are great tools for grouping multiple documents together. However, if every set has exactly one document, it would be better to just upload the file and not place it within a Document Set:
    Uploading documents using object model - http://msdn.microsoft.com/en-us/library/office/ms454491(v=office.14).aspx
    Uploading documents using web services -
    http://cecildt.blogspot.com/2010/10/upload-documents-to-sharepoint-2010.html
    If you have requirements to use Document Sets, keep in mind that this adds a layer of complexity beyond a simple Document Library. Behind the scenes, each Document Set is treated as a separate folder, and although can you query items within it, there might
    be extra steps for getting the sort order to ignore the folder structure. Can you try setting the Scope to be "Recursive" and also specify that you are looking only for files and not folders:
    <Eq><FieldRef Name='FSObjType'/><Value Type='Lookup'>1</Value></Eq></Where>
    Dimitri Ayrapetov (MCSE: SharePoint)

  • SORT ORDER WITHIN GROUPS

    Post Author: Kara
    CA Forum: General
    Hi,
    I am using version 9. I have designed a report based on an access control database. It shows a person's time in and time out, then totals these hours. My report is grouped as follows:
    Department
    Date/Time
    Unique ID
    The main data of the report is shown in group footer 3 (Unique ID) and is displayed in numerical order. I need to change the sort order to display by last name, first name but because I have grouped by unique ID I can't seem to be able to do it!
    Any help gratefully received,
    Kara

    Post Author: CoolTowers
    CA Forum: General
    I use a similar report to track service personnel who also have a unique ID.  I have mine set up as follows - maybe this'll help.
    I used selection expert to specify the dates I want to see. 
    Group 1 sorts on the unique ID. Instead of printing the unique ID field in the group header, I have Employee.EmpName.  They'll come out in their unique ID sort so the names might be a little out of order. If that's a problem you could put sort option on that field.
    Group 2 sorts by the Job ID, with the group header suppressed.
    Detail line has location, job id, date, time on, time off, total time in hours and if it's completed.
    Group 2 summarizes at date and amount at the job ID level.
    Group 1 summarizes at technician.
    I get very accurate reports to match against their hand written time cards.
    Perhaps if you re-arranged the grouping?

  • How to keep sort order in Shuttle item's source and destination boxes?

    I have defined a shuttle item on a page and the list of values in the source box is populated by a SQL with sort order specified. In the Settings of the shuttle item, Show Controls value is set to Moving Only instead of All. When a user moves selected values from the source box to the destination box or vice versa, the list of values does not maintain the original sort order. For example, if I have 26 values A through Z, a user can put value Z before A in the destination box. And when a user move A from the destination box to the source box, A is the last item in the source box. The reset button clears everything in the destination box and resets the source box to the original sorted list. This is not the solution that I am looking for. I would like to see the items in the source and destination boxes to maintain their original sort order all the time.
    Is it possible?
    APEX v4.0.1.00.03
    Oracle 11g (v11.2.0.1.0)

    Hi,
    See if this post help
    Re: Sort Shuttle Right
    Regards,
    Jari

  • Moving Multiple Albums & Album Sort Order Questions

    Hopefully this is a really easy question to answer, but I just can't figure out how to do this.
    1. Can you move multiple albums around in Aperture? I just imported my iPhoto libraries and I'd like to groups a set of the albums that I have into one project. The problem is that I can only move one album at a time.
    2. Can you specify the sort order or manual set the order that albums appear in projects or folders? It seems that Aperture automatically sorts them alphabetically.
    Thanks!

    1. Can you move multiple albums around in Aperture?
    unfortuantely, as far as i am aware you can only move one at a time
    2. Can you specify the sort order or manual set the
    order that albums appear in projects or folders? It
    seems that Aperture automatically sorts them
    alphabetically.
    you are correct, automatically alphabetically only ... i haven't been abble to change this at all ... the only way to force something else is by adding a ~ or other character that is ahead of 0 ...

  • Mapping in TopLink workbench: Sorting order for one-to-one mapping field

    Hi,
    we have a requirement; though it is one-to-many relationship, we wanted to map it as one-to-one, so that we get latest of the mappped entity based on attribute:*noOfVisits*. For this, I am trying to make descending order by noOfVisists in workbench; but no provision there.. it is available only for one-to-many relationship;
    If I map as one-to-many, I can specify the sorting order; but is there any option to limit the max rows of it to *1*.
    Pls suggest the solution; I am trying to avoid to write named query for this; and wanted to get from the entity itself by navigating to one-to-one relationship entity.
    Thanks,
    Dhana kumar.

    Hello,
    If you want strictly JPA options, I'd either not map it and query for it (which you can then store it in the object if you want in a transient attribute), or map it as 1:M with the order by and have a getSingleVistedChild type method that returns the first element if its noOfVisits value is 1.
    Mapping it using the 1:1 as you are asking can be done. All that is required is that you add selection criteria for the query used in the mapping as described here:
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/MappingSelectionCriteria
    Best Regards,
    Chris

  • Oracle 10G gives in sorted order without order by ,in 11g it is not.

    we are facing a strange problem.
    we have M Views on which we perform select operation ,we put joins of M Views and get the results by select operation , the results was in sorted order (asc) and we were not using any order by clause in the select query , this was in oracle 10G.
    The compelte schema where these M views are and also the underneath tables are now migrated to oracle 11g using import/export option.
    Now the queries which was giving the result set in sorted order (asc), are not given the result set in sorted order anymore. it is in different order but I think at always return the same order not asc or desc but an specific random order .
    we can not change the query as of now as there are 1000+ and each query would require a order by statement .
    Do we have any parameters which can be change , so that we can force oracle to use a different plan so that it gives result in order ?
    the select queries are very simple ones not complicated no extra function or group by is used in most of the queries.
    Please suggest possible solutions . Thanks much.

    Su**** wrote:
    Please guide me how to go to this doc link ,i am newbi, and do not how to go to this link.
    MOS Doc 345048.1 ('Group By' Does Not Guarantee a Sort Without Order By Clause In 10g and Above)
    Go to http://support.oracle.com, log in to My Oracle Support, and search for 345048.1 If you don't have a My Oracle Support account, you'll need to contact whoever manages your company's Oracle support and ask them to create an account for you.
    Basically, no version of Oracle has ever guaranteed the order of results if you don't specify an ORDER BY clause. In 10g, the only algorithm that was available to implement a GROUP BY happened to sort the results as a side effect. 11g introduced a new algorithm for grouping results that is more efficient and does not have the side effect of ordering the results. Most likely, your query plans have changed to use the more efficient grouping algorithm.
    If you want the results to be sorted, you should add an appropriate ORDER BY clause. If you go through the MOS document, there will also be suggestions for ways that you can disable the new grouping algorithm though I would not recommend that.
    Justin

  • Wrong sort order for rapid sequences of images

    When I have a sequence of shots taken at high speed, i.e. a number of them have the same timestamp, being taken within the same second, I find that LR displays some of them out of order. For instance, I have a sequence of 5 frames all with timestamp 9/4/07 2:17:32pm and the file names show up in this order - 1740, 1742, 1741, 1743, 1744 (these are the file names assigned by the camera)
    The frames show in this order with any of the sort order options selected except, of course, File Name, and in that one instance they display in the correct order.
    Is there a way I can specify in LR that I want to sort in Capture Time order then within that in file name order? This would give me the result I want. The reason I don't want to simply use file name order is that with images from different cameras with differing file naming conventions, or with file names I may have applied, that would not give me correct time sequence as shot. I want to see a whole day's images in correct time sequence regardless of file name.
    If there is not a way to specify this in LR, should I add this to the Feature Request list?

    Capture Time and Import Order do the same thing.
    Additional information - I see the same wrong sequence is presented in the import dialog when I try to import the same photos again (they happen to still be on the card). So, I think it is initially caused by the order that the camera lays down the photos in the file structure on the card, or in the way that Windows reads them off the disk. (I have a Canon EOS 30D, SanDisk CF card, using a card reader rather than plugging the camera to the PC.)
    If I use the import dialog's renaming process (in my test I chose filename - sequence) and apply a sequence number to the images the sequence number ends up wrong. So LR is importing the photos in the wrong order (may not be LR's fault?)
    So, this modifies the definition of the problem and of the feature request. No longer is it simply the sort order displayed in the library; it needs to be addressed at import time as well.
    Here is my attempt to redefine the feature request:
    - when importing images that are taken in rapid sequence (multiple shots within the same second) LR should allow for sorting the images by camera-derived file name to correct out-of-sequence delivery from the card/camera. This sort order, when selected, should re-arrange the preview thumbnails so the photographer can verify the images will be imported in the correct order.

  • Sort order issue in with Evaluate function ( Next Quarter measure)

    Hi All,
    I have report requirement where I have to show measures for a particular geography for previous, current and next quarters in a pivotal view.
    ---------------Previous Quarter| Current Quarter|     Next Quarter
    Geography               
    ABC|xx|xx|xx
    PQR|xx|xx|xx
    XYZ|xx|xx|xx
    Next quarter values are displayed for other geography like
    ABC value is shown for XYZ and XYZ value is shown for PQR
    I have derived measure for pervious quarter using Time Series Function > Ago function,
    However the problem is with next quarter. I used following Evaluate Function to derive measure for next quarter.
    EVALUATE ('LEAD(%1,1) over (order by %2)' AS DOUBLE PRECISION , X, Y)
    Here X = Measure and Y = Level (Quarter)
    X is delta of two other measures A and B.
    X = (A- B)
    Thanks,
    SMA

    Hi user10300020,
    That's a fairly common problem with months that happens regardless of database source.
    In the logical layer of OBIEE you can specify the sort order on the month name column. Just double click on the month name column and look for the option to set sort order based on a different column. I typically sort the month name based on the month number.
    Give that a shot and tell me if it works.
    -Joe

Maybe you are looking for

  • N8 on NOKIA Belle - Audio songs are not working an...

    I installed Nokia Belle yesterday, but all my songs (Downloaded from OVI Music) are not working anymore. Its saying either the licence is expired or missing. Can anyone please help me out ? Regards, Vishal Soni Solved! Go to Solution.

  • Can't convert AIFF to MP3

    Can't convert songs in iTunes. I have iTunes 7.02. I've followed the process as detailed in iTunes help as well as in a "missing manuals" book. Here's what I've done to try to change a song from AIFF file to MP3: 1) In iTunes, chose iTunes > Preferen

  • Mountain Lion SPoD on all programs every few hours?

    I upgraded my late 2011 15" MacBook Pro from Lion to Mountain Lion about 2 weeks ago and noticed that it started pinwheeling randomly after awhile during day-to-day stuff.  This of course was after I reinstalled all my aftermarket software.  What wou

  • Cleaning a moth turd off of my iMac 24" Screen

    So, moments ago I'm sitting here happily surfing the web and a moth is attracted to my brand new 24" iMac screen and leaves his calling card. A wet dot of poop the size of the letter "o", maybe a tad smaller. So I gently wipe it with a soft cloth and

  • Scrollbar for Tab canvas

    Hi I have added a scrollbar on window for Tab canvas but remains inactive even the layout goes beyond the window.But it works for Content canvas. Can somebody plz tell me is there any way to use scroll bar for tab canvas Ravi