Cross tab & Line Graph – Data Sorting issue

Hi,
Want to display data in specific order in cross tab row & in graph as shown below
Account Name
Average
Median
In the same order data has been retrieved from the database but when it comes to Crystal report, its reordering the data in alphabetical order as shown below due to the order set in Group option
Example: 1
ABC
Average
Median
Example: 2
Average
Median
XYZ
Please note u201CAverageu201D & Medianu201D are constant but Account name will vary based on selection.
How this can be achieved? How Specific Order can be used in this case?
Please help... Itu2019s urgentu2026
Thanks,
ThakurS

Hi
Under "chart expert" in "data" tab where you add the fields in chart you see "on change of" and "show" values..
After adding the required on "change of fields" if you would highlight that field "group option"  tab will get enabled where you will find the "sort order" drop down. There is an option "In Original Order" which will sort the fields as fetched from Database
Same option is available in Cross-Tab
Regards,
Shantanu

Similar Messages

  • Create CROSS-TAB Arrange Column data (sort Data)

    Dear,
    I have created CROSS-TAB and left axix has has data like
    aa
    bb
    cc
    dd
    but i want result like
    cc
    aa
    bb
    dd
    Please quide me how to arrange data with my own will.
    Regards

    I've found that when the sort is out of the order I want, it's necessary to set up a calculation that sets a key to use instead of the field value.
    So case when field = 'ccc' then 'a. ccc'
    when field = 'aaa' then 'b. aaa'
    and so on.
    That initial character then forms the basis of the default crosstab sort.

  • Line graph date sorting and formatting

    Hi Gurus
    We've recently upgraded to 11.1.1.7 and noticed that our Publisher line charts with date on the x-axis are no longer sorting correctly i.e. May comes before March. The reason for this is because in <11.1.1.7 we have a formatted date mask (to_char) in our data model but sorted by the underlying canonical date which worked. Now in 11.1.1.7 it is no longer sorting by the data model sort but by the formatted date string therefore numeric values of 30 April sorted after 1 May.
    We have tried a number of options to resolve:
    1. using the canonical date and sorting on that corrects the sort problem but the default formatting used in long YYYY-MM-DDT00:00:00-00:00 and not readable as our chart is showing daily totals. Changing to time-series chart can allow you to format the date but see problem 2 next...
    2. Time series = yes doesn't display the chart if we have a number of entities in our series i.e. multiple lines and the interactive viewer shows a red error icon. I think this may be due to the fact that our date range is not continuous ie we have a sparse data set.
    3. Workaround we used was a bar chart (our users preference is line charts) with time series = false but the date format is still long.
    Any advice / suggestions would be helpful.
    Thanks
    Nick.

    for #1: numbers does what is called a "stable" sort. Meaning that the previous sort order is preserved. i.e. do your sort in reverse order. Amount, then name, then date. Just did it with sample data and it was perfect. It keeps them in the original order, so if there is a match in name after you sort, you should see the amount still in the proper order.
    #2: What in your formula isnt working? I just made a formula that did math on the columns to the left, sorted and it worked. Sorted by static data columns and the formula column. I know it was broken originally, years ago, but it seems to be working correctly now, at least in my quick test. You might have an issue if you are using formulas that refer to data on other rows or tables.
    #3: yeah formatting can be a pain. But it is easier to do in the desktop program. No, you cannot get it for windows, sorry. If the formatting the only thing you need to do on the desktop side, then i dont see much tying you to it. I do 90% or more on the ipad and iphone now.
    Jason

  • Interactive Bar/pie chart and line graph, data from excel/text file -urgent

    Hi,
    I have a huge data in excell sheet which keeps updating every month. Data basically consists of service provider and there respective subscribers from various regions of the country over the years. The requirement is to give the viewers an interactive page where in they can make various combinations and can compare, cross examine data according to thier choice.
    We want the pie chart / bar graph or line graph to be created on the fly according to the combination made by the user.
    The site is hosted on a red hat linux server. how can a connection to the excel spreadsheet be made or is it possible to read from the text file if the entire data is exported to a text file.
    Is there any ready made tool/code available which can be customised according to the need.
    Thanx in advance
    Regards
    Prakash

    I certainly wouldn't pay for the graphing package at the previous link. check out http://www.object-refinery.com/jfreechart/ for a free, open-source, much better looking graphing package.

  • Exporting Cross Tabs to Excel - Data Only

    I have a report with three cross tabs embedded in three report footers (RFa, RFb, RFc).  The third cross tab in RFc, is actually in a subreport.  When I preview the report and then export to excel in Excel Data Only there is no problem.  Howeever, when I export the report (with the same export settings as before) without previewing it first, it truncates the data found in the first and third crosstabs.  Anybody have any ideas on what could be causing this?  I have played with the settings in the export options and have gotten it to export the first and second crosstabs without previewing but the third crosstab is still a problem.
    I thought that Crystal reports would export exactly what is in the report and I do not know why previewing should matter or not?
    Thank you for your help!

    Athalia,
    I tried to recreate the issue using the Xtreme sample database with 3 crosstabs in RFa,b,c with hours of the day as columns. First crosstab has rows for Region, second uses City, and third uses Country.
    All 3 are summarizing Customer Credit ID and the 3rd has the sum of Last Years Sales and count of Address1.
    When I export this I get the correct result whether the report is previewed or not. I am using the exporting options, Maintain Relative Object position, Maintain Column Alignment, and Simplify Page Header
    I would suggest;
    a) Ensure that the 3 crosstabs are left aligned and that the column widths of all 3 are the same
    b) If there are any other sections in the report that are visible try suppressing all but the 3 sections with the crosstabs in them, will it export now?
    c) Try recreating the 3rd crosstab adding just 1 summarized field at a time until it fails and then any formatting that you had done until it fails to try and narrow down what is causing the truncation
    d) Try creating a similar report using the Xtreme sample database to see if you can recreate the issue and if so then document the steps so that I can recreate it.

  • Cross tab on quarter (date) parameter

    Post Author: tomahawk
    CA Forum: Charts and Graphs
    I need to design a cross tab report where the column is a certain date field (say date1). However, the report is a quarterly report, so the columns should be for each quarter (date1 falling in a particular quarter). The user wants to select the quarter from a drop down parameter box at runtime. How do i set the condition/formula for the cross tab to display details for the quarter that the user selected?
    Please help urgently.
    Thanks
    Tom

    Post Author: sleahcim
    CA Forum: Charts and Graphs
    Hi Tom,
    While there may be some method to do it by playing around with the formatting, you're likely to get it done quicker by creating a formula for your quarters, and swapping that field into your crosstab.  Here's a sample report that shows you how to create a quarter formula.
    -Michael

  • Cross Tab export : Excel Data Only - Row headings are *bottom* aligned?

    Hi All,
    Having a problem with Crystal 11 / BOXI.
    I have a Cross Tab working fine that has four Row groupings (labels on the left).
    In Preview mode, it looks as expected. Row #1 label appears on line 1. Row #1 label shows blank on line 2,3,4 etc until it is ready to change.
    The organization of the Row group is further made clear by a nice box that spans multiple rows. The Row label appears at the TOP of this box as you might expect.
    In Excel-Data Only format, there is a problem. (I saved, scheduled, and ran on BO XI Enterprise CMC console.) The Excel file shows the Row 1 labels without any box (that's OK as it is "data only") however the text is bottom aligned. So the first label does not appear until the final row of the grouping.
    Same thing is happening with Row 2, 3 groupings, they are all bottom aligned.
    It's confusing for the users who would expect the Row grouping labels to be all top-aligned.
    I have searched the forums and support site and read all technotes. I also tried several things including:
    Format Field for Row#1 Name, choosing Left/Right/Center horizontal alignment (where is the same for vertical??)
    Within BO Enterprise, try combinations of options under Excel - Data Only : export formatting, maintain relative object position, maintain column alignment, use options saved with report, etc.
    Any ideas? Is there a way to force a top-alignment programmatically, for Excel Data Only output?
    Help appreciated !
    Rob McCauley
    Cognex
    Natick, MA 01760 USA

    I found the answer to this question with help from SAP Support.
    In the Cross-Tab Expert, Customize Style tab, click "Column Totals on Top".
    Then, the Excel Data Only report will show the row titles Top-aligned for the row group.

  • Transparency fill in line graph data points does not copy over to Pages

    I have created some line graphs in Numbers, and they look beautiful. Since some of my data overlap and I want users to be able to easily see where all data is on the graph, I have made the data points transparent on the foremost line. This allows the other line (which data points are filled in with another color) visible "through" the foremost line.
    However, when I attempt to copy the graphs into Pages, the data points of the foremost line are no longer transparent - they are filled with white. Obviously, this defeats the entire purpose of using a transparency fill!
    What can I do to make this work?
    Thank you,
    G. Pasarescu

    Hi Yvan,
    Thank you for the tip. Unfortunately, I need to embed several of these charts into the Pages document, and cannot use Numbers instead of Pages for the document.
    Interestingly, if I copy the chart from Numbers and paste it into some graphics programs (like Pixen and Pixelator), the transparency is preserved. However, pasting the same copy into other graphics programs (such as Seashore or Photoshop) somehow flattens the image, removing the transparency, and I'm back to square one.
    Using a graphics program as the bridge between Numbers and Pages reduces the quality of the chart - that's why I'd like to try to make this work in Numbers / Pages.
    Thanks,
    Geoff

  • Line Graph date format

    Hi,
    I Created line graph
    x axis date
    y axis amount
    The date format is not showing correctly
    For Ex : date range : 01-Jan-2011 to 10-jan-2011
    in graph x - axis firsi date is showing 01-Jan-2011 and remaining dtaes are showing only days like 02 03 04
    how i will get like these 01-Jan-2011 02-jan-2011 03-jan-2011 ......10-jan-2011
    Please help
    shk

    Hi,
    Replace the column formula of your date column as ,
    cast(MONTHNAME(YourDateColumn) as varchar(10))||' '||cast(YEAR(YourDateColumn) as varchar(10))
    Rgds,
    Dpka

  • Cross-Tab Report Custom Date

    Hello everyone,
    I need some help with changing the date interval in Cross-Tab Reports.
    I ran the report annually; however, the dates I want to run is really specific.
    How can I change the date intervals? Is this possible?
    Date below are 01/01/12 - 12/31/12, 01/01/13 - 12/31/13, 01/01/14 - 05/28/14. Instead of this I want to run the report 05/28/12 - 05/28/13.
    05/29/13 - 05/28/14

    Ido,
    Thanks for your reply.
    Is this how the formula should look like?
    If CDate({ORDR.DocDate}) >= Cdate("05/28/2012") and Date({ORDR.DocDate}) <= Cdate(
    "05/27/2013") then
    {RDR1.Quantity}

  • Cross -tabs Percentage of Count Truncating Issue

    Hi-  I&#39;d appreciate any insight into how I can get the percentage of a count in a cross-tab to display a decimal point.  The system is currently truncating the percent values-- 12.9% is showing as 12%.   I&#39;ve tried to usual formatting options.  It works with a percentage of a sum just fine.  Thanks!

    You are correct.  It can be done using SUM as opposed to COUNT.  I created a formula assigning a number to the counting field. example: IF FIELD_CODE = &#39;A&#39;  THEN 1  ELSE IF  FIELD_CODE = &#39;B&#39;  THEN 1    By assigning a number you can now SUM the formula.Â

  • Tabstrip control  Tab line navigation button display issue

    I have a tabstrip that has more tabs than can be displayed at the top of the tabstrip control.  When this happens a navigation button appears on the far right of the tab line( the line that contains all the tabs).  This has been working fine for several years.  Recently I needed to increase the width of the tabstrip control so that it was 160 character wide.  Now when the tabstrip displays, the tab line stops displaying at around 130 characters so the navigation button no longer shows.  As it turns out, the button is still there and functions as normal, except that it cannot be seen even though there are still too many tabs to all be displayed. 
    This appears to me to be a bug in the tabstrip control, but before I start complaining to SAP I thought I would ask here to see if anyone else might know of a solution to this problem. 
    Thanks for looking.

    Hi,
    cresate a managed bean in viewScope within the parent page and pass it as an argument to the child task flow. The managed bean contains/exposes a method to hide the menu items you don't want to show (or just disable them). The child task flow then can call the managed bean (from its input parameter reference) and invoke the method (e.g. in a method call activity as the default activity of the task flow).
    See this blog entry for more details: http://one-size-doesnt-fit-all.blogspot.de/2010/09/master-child-btf-chaperone-contextual.html
    Frank

  • Date sorting issue

    Check out the date sorting problems here:
    http://ray.camdenfamily.com/spry/blog2.cfm
    It seems almost random.

    Yup the JS Date object is reporting that the date format is
    invalid in both IE and Firefox. We may have to add code to manually
    parse date formats. I've added that to the list of things we have
    to do.
    Ray, what are you using to generate your date format?
    The good news is the way your dates are formatted, it will
    sort properly using straight text sorting. If you leave off your
    setColumnType call for the date it sorts properly.
    --== Kin ==--

  • Spry European Date Sorting issue

    I've checked this with all versions of Spry, now with version
    1.6 it still remains a issue, if you try to sort a column with
    european format dates it's fail todo it properly. I've set the
    datatype with ds1.setColumnType("fecha","date"); and does not work
    still, the dates are in the format "dd/mm/yyyy".
    Thanks in advance

    "freequest" <[email protected]> wrote in
    message
    news:fef62f$r2q$[email protected]..
    > Thanks for the reply Gunter, I've try this before and
    the problem is not
    > the
    > format of separators, the problem is with the order ,the
    format it
    > understand
    > is mmddyyyy,, so when you send any ddmmyyyy with
    datatype character or
    > number
    > it doesn't sort properly because spry misunderstood the
    date thinking the
    > first
    > two digits are a month, this is why if you try with a
    range of rows with
    > differents months it fail miserably. Spry at this moment
    doesn't have
    > international dates support.
    The root of the issue is that using JavaScript to a string
    into a date
    easily lead to inconsistent, unexpected results.
    The way I solved this in the past is to have two columns
    inside my Spry
    datasets. One stores the date in yyyy-mm-dd format (ISO 8901,
    the format
    typically used by databases), another one stores a nicely
    formatted date
    (whatever format the language dictated).
    Then I always display the nicely formatted column, but I sort
    it only the
    yyyy-mm-dd one.
    As a bonus, yyyy-mm-dd sorts okay just as a string, so I have
    no need to
    assign a different datatype to it.
    Hope it may help.
    Massimo Foti, web-programmer for hire
    Tools for ColdFusion and Dreamweaver developers:
    http://www.massimocorner.com

  • Displaying Line Graph Data under the same

    Hello experts,
    I have a jspx page with a line chart in it, what I need is a way to build a table under it with the same informations that are being show on the graph. Any ideas?
    My Jdeveloper version is 11.1.1.3.0
    Thanks in advance

    Hi Navaneeth,
    I need to create something like this image [http://img17.imageshack.us/i/teamproductivity.jpg/]. And the months can repeat by the years, so in the LineGraph it´s Year/Month in the X-Asis and Team1Km/Team2Km in the lines. How to create the table under the graph with the values of its nodes ?
    Any help is welcome.
    Marcos
    Edited by: Marcos Vizine on 03/03/2011 11:00

Maybe you are looking for

  • How do you move Lion from one physical drive to another?

    I've studied the forums & there's lots of discussion about having to install SL, then download Lion (again) then other thread says to copy the downloaded Lion (in the Apps folder) to an 8gb thumb drive, etc, etc.   I'm installing a new 512GB SSD in b

  • Calling simple Java Code from 11g BPM

    Hi, I know this has been round the houses but I cant find a satisfactory solution for my scenario. I would like to call some simple java code from BPM (11.1.1.6). I guess I need to expose it as a service but it seems overkill to be via soap so any ad

  • Format & Formula Bars

    Question is there any way to enlarge the Formula Bar and Format Bar in Numbers? The tools are so small and difficult to read. Dick

  • About jbuilder4 and weblogic6.0

    when i want to deploy my jar to weblogic and do as the wizard,select the folder application as standalone,then start deploy. it will report: Stored archive as D:\weblogic\wlserver6.0sp1\config\mydomain\applications\test.jar Error type: java.lang.Secu

  • Adv Compression & Logical Standby DB (SQL Apply)

    Hi, Is use of AC on a primary database supported with the SQL Apply (logical standby) version of Data Guard in release 11.1.0.7 ? thanks ! Curt Lukenbill Paychex, Inc