Cross Tab Top N Setting Programmatically

<p>How can I set the value of N in the Sort Top N in the Group Sort Expert dialog programmatically for a cross tab object?  </p><p>Thanks,</p><p>-Carl</p>

Do you mean Dynamic Selection for the value 'N'. If yes then create a numeric parameter (enter static values like 5,10,15 whatever you wanted). Goto Report - Group Sort Expert -> Select Top N and in the text box for 'N' Click on X formula editor and just place your Parameter.
Simple, Hope this exactly what you were looking for... !/modules/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/images/smiley-tongue-out.gif|title=Tongue out|height=18|alt=Tongue out|width=18|src=/modules/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/images/smiley-tongue-out.gif!
-Â KanakÂ

Similar Messages

  • Cross-Tab and Top-N

    Dear Experts,
    How can I add Top-N into Cross-Tab?
    Thanks,
    David

    Hi David,
    Right-Click on the top left corner of the crosstab and select 'Group Sort Expert'.
    This opens up the Cross-Tab Top N and Sort Expert. Specify the Top N value for the groups here based on one of the summary values.
    Hope this helps!
    -Abhilash

  • Top 10 in Cross tab

    Hi,
    How to display only the TOP 10 rows in a cross tab based on the Total field.  I am using BW as my source.
    Thanks and Regards,
    Subbu S.

    right click on the top left of the cross-tab and choose Group Sort Expert and there will be a top n expert available for the cross-tab.

  • To highlight top 3 summary values in cross tab

    Crystal report XIR2
    cross tab
    how to highlight top 3 column/row values with a different font color

    Hi Phani,
    I don't see a way to do this in CR XI R2. If at all there is a way, then it has to done via a Mock Crosstab.
    -Abhilash

  • Hide top axis in cross tab report

    Hi
      How to hide top axis in webi report xir4.
    Only objects names on top axis to be hide.
    I see only option for data fold and unfold
    Please suggest.
    Thanks.

    hi,
    Please right click the top axis of Cross tab.
    Select  Hide > Hide dimension
    Now you will see only Left axis Headers and data only. Top row which has column names will be hidden.
    Regards
    Vamsee

  • How to put title or labels on top of row headding of Cross Tab

    Hello..
                 I created one cross tab.I put labels in the top row,these labels are coming only in first page only,I tried repeat row label also,But not working....I need all the labels in all pages..

    Hi,
    In XI r3 - on a  cross-tab table under the page layout properties there is a  "Repeat header on every page" option. Is this checked?
    Regards
    Alan

  • Top N sorting in a Cross Tab object

    I am looking for information on how to sort a cross tab object using a Top N filter.

    Hi Lee,
    In the cross tab report, just insert a chart, with in the data tab when you insert the data base available values then you can observe on change of record values and summary field values.
    In the record sort values we can give the sorting with the order level or Top N level.
    Let me know if you have any queries.
    Thanks,
    Naveen.

  • Setting Total Column width in Cross Tab report

    I am having an issue with the width of the Total Column in a Cross tab report. I have set the width of the column and saved the report but when I am reopening the report the Total column width is expanded but rest of the data column width remains the same (which I saved). Any idea how to adjust the total column width?
    TIA,
    AJ

    AJ.
    Did you ever solve this?

  • How to create a title over the top of the left-most column in a cross-tab.

    This is one of those things that seems simple until you try it.
    I'm almost there.  I moved the cross-tab from the report header to the report footer so I can have a page title.  I tried using an overlay but it didn't work for any page past the first.
    I can't seem to figure out how to put a title over the left-most column though.
    Thanks in advance,
    J

    I have used a text box, after you type in the text, select the box, and move it to the front.
    then select the crosstab and move it to the back.

  • How to add an image or static text in the header of EACH page of a cross-Tab report

    Post Author: rtutus
    CA Forum: General
    Hi, I use Crustal 11.0.
    I have a cross Tab. I display the items on the left column and the months horizontally, the items are grouped by category field. The values are the sum of quantities are displayed for each month. Like this:
                             Items         Jan       Feb       March .....................Total
    Category 1                       
                             Item11         val11     Val12      Val13                     Total values
                             Item12         val21     Val22      Val23                     Total values
                             Item13         val31     Val32      Val33                     Total values
    Category 2                       
                             Item21         val11     Val12      Val13                     Total values
                             Item22         val21     Val22      Val23                     Total values
                             Item23         val31     Val32      Val33                     Total values
    Category 3                       
                             Item31         val11     Val12      Val13                     Total values
                             Item32         val21     Val22      Val23                     Total values
                             Item33         val31     Val32      Val33                     Total values
    The problem, I want to add a page header for each page of the report.
    When Crystal reports first displays my cross-tab in the designer, CR displays the cross tab in the Report header section. I d like to add text or image for each page and not only at the begining of my Cross-Tab.
    If I just add an image or text at the top of the report designer, which is my report header, I get the image or text only on the begining of the 1st page of my report but never in the other following pages.
    If I try to work around the problem and move the cross Tab to a group section instead, and then put the Image in the group header, I get what I want, but the problem is that:
    The columns header: Jan, February....December are displayed for each group of my report and not only in the beginning of the report. I get something like this:
                             Items         Jan       Feb       March .....................Total
    Category 1                       
                             Item11         val11     Val12      Val13                     Total values
                             Item12         val21     Val22      Val23                     Total values
                             Item13         val31     Val32      Val33                     Total values
                             Items         Jan       Feb       March .....................Total
    Category 2                       
                             Item21         val11     Val12      Val13                     Total values
                             Item22         val21     Val22      Val23                     Total values
                             Item23         val31     Val32      Val33                     Total values
                             Items         Jan       Feb       March .....................Total
    Category 3                       
                             Item31         val11     Val12      Val13                     Total values
                             Item32         val21     Val22      Val23                     Total values
                             Item33         val31     Val32      Val33                     Total values
    You see the months get duplicated. Any way, my real need is to add an image or text in the header of EACH page of a cross-Tab report.
    Thanks a lot for your help.

    Hi Divya,
    you could do for example in the wdDoInit() of the view
    wdContext.currentContextElement().setPicture("picture.gif");
    Now you assign this context variable to the Tab using the Tab_header's imageSource-Property. When you click on its value column, you see a button with three dots on it. If you click on this button, you will get all context nodes and attributes for this View. Usable variables are clearly marked, you now choose the one named Picture or what ever name you prefer to use. But it must correspond to the one set in the wdDoInit.
    I think setting a picture (not necessarily for the tab-page) is done in one of the excellent tutorials. If you are a newcomer I strongly recommend doing some of the tutorials.  I have learned tremendously from them.
    Hope this helped
    Harald

  • Hide Cross Tab Header

    Post Author: lbassil
    CA Forum: Crystal Reports
    All,
    I want to know if it's possible to hide the header of a cross tab? The suppress option did supress the header, but leaves space equal to the height of the header. So I tried to set the height = 0, i could not do it because the minimum height is 70 (as I concluded). Any clue?
    Anyone can help in this issue? Either tell me how to make the height of the cross tab header = 0, or how to stop repeating the column header of the cross tab on each new page?
    Regards.

    Hi!
    if i've correctly understood your question:
    click on your left into the section "document structure and filters) (incon paper with a pencil)
    right click on your cross table block and select "format table"
    on the option page that come up there is on the right a flag "show top header".
    remove it a click ok!
    i hope this help!
    b.r.
    Adrians

  • 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.

  • Cross tab formula help

    Post Author: ivanl
    CA Forum: Formula
    Hi,
    Using XI and win XP.
    I have been using excel to get the info I need, but thought it must be possible to do it right in the cross tab.  I need two different cross tabs, and do not know how to do the following.
    The fields I have in the dataset include:
    - product.type (different products and one field "product.type = 'customer' that is the customers)
    - product.balance (balance of each product for each customer)
    - formula for age segmentation
    What I need to input into the cross tab is to have the segmentation across the top, products for the rows and as the summary:
    1) penetration rate  (i.e. count of product types divided by # of customers which is product.type = customer)
    2) $ per customer (product balance divided by customers)
    3) $ per product (product balance divided by # of products)
    Help would be awesome.  I have no idea how to do this in Crystal
    To date, I have set up a cross tab with segment across top, products down the rows, and as a summary using count products and sum of balances.  I would input this into excel and do the calculations.
    Ivan

    Hi, this may help,
    http://www.chelseatech.co.nz/pubs.htm
    Look down on the right side, you should see
    Sample Report Files
    Sales Calendar
    Calendar Report
    Running Totals in a Crosstab
    Wrapping Crosstab
    PDF Drill Down
    Crosstab calculations
    Hierarchical Summary in a formula
    You can download an example of Crosstab Calulations from this site.
    They have some newsletters that also contain CR hints.

  • Cross-tabs in Multiple Sub-reports

    Post Author: Kiwi Jan
    CA Forum: Crystal Reports
    I have created a crystal report which contains multiple detail sections (Da-Di). Each detail section contains a subreport, which contains a cross-tab.
    I have done this because I need to create one excel spreadsheet which contains data from different types of cross tabs.
    For example, one cross tab lists accounts and totals, the second lists accounts and totals by cost centre (17 of these), and a third lists accounts and totals by product group (11 of these).
    I have lined up all the columns perfectly, and when I export to Excel (Data only), it works perfectly, and I get all the rows and columns of all the cross-tabs in one excel worksheet. Brilliant.
    However, when I print, preview or export to pdf, I only see the "real" page and do not see any virtual pages that are shown in each of the sub-reports.
    How can I print or view this from the main report and get the virtual pages as well, without stuffing up my export to excel?
    Any suggestions would be greatly appreciated.

    Hi Kim,
    What version on Crystal Reports are you using? If its CR 2008 then you can take advantage of the various gridvalue functions and the calculated member feature available.
    Here's what you need to do:
    1) In 'Preview' mode, right click the 1st col and select Calculated Member > Insert Column
    2) This will insert a col after the 1st col. To make the newly added col appear 1st, right click on the top left corner of the crosstab and go to Advanced Calculations > Calculated Member
    3) In the Properties area, set the Insert Evaluation to 'Before'
    4) Now the new col would be the 1st col in the crosstab and it's values would be 0
    5) You said you calculate the Billed Amount on some logic; you can apply the summarization logic by editing the calculation formula
    6) Right click one of the 0 values in the new col and select Calculated Member > Edit Calculation Formula. Use the formula in this manner:
    select Gridlabelat("Row",currentrowindex)
    case "Job1" : 50
    case "Job2" : 20
    Default : 0
    The function GridLabelAt() accepts 2 parameters: 1st is the name of the row. In this case it would be your database field name. Suppose your database field used as a row is called Customer.Country then the formula would be:
    Gridlabelat("Customer.Country",currentrowindex)
    You can use if-else instead of the select -case if you like, but this is where you need to apply the logic for billed amount.
    At last, you'd notice that the Header for this col is blank. Just Right click the blank header and select Calculated Member > Edit Header formula and type in "Billed".
    That's it! The grand totals for the row won't add the values from the calculated member.
    Hope you get this working.
    -Abhilash

  • Cross tab - to summarize number of rows

    Hi Everyone,
    a) I notice that if I use the count of Final Grade field, some students have more than one row for that class.
    So the count = 2.
    b) I created a calc: If Final Grade Count > 1, then set calc to 1.
    c) then I duplicated query as cross tab
    there are 2 datapoint fields: final grade count and Calc_RevisedCount
    d) delete final grade count and left Calc_RevisedCount
    e) dragged Course name to left,
    Final_Grade on top
    Calc_RevisedCount is the datapoint
    f) problem is that the calc_REvisedCount is NOT tabulating/summarizing
    the boxes are being populated with 1's
    Is there a better approach, or do you have any advice? thx in advance, sandra

    Hi Rod,
    tx for writing...
    a) Do you mean I should create a calc?
    b) Do I use plain Count_distinct (or the version with partition)
    c) I can use a calc as a data point in a cross tab query?
    i'm going home for the day.... tx soooo much for writing back..... sandra

Maybe you are looking for

  • Using another family members upgrade?

    This has probably been asked a billion times, so sorry about that. My mother and I both have an iphone 4s, but she has had hers for longer so she is eligible for an upgrade sooner than me. Mine is cracked pretty badly, and I can't use this phone for

  • IOS device playlists - best practices

    So here's my conundrum. I have many playlists in iTunes, for listening at home. I want to sync the "best of" each playlist into my iPhone, but still have the songs organized in the same playlist names. For example, if I'm out and about and want to li

  • Interesting PCD bug? Runaway process creating objects?

    Currently, we are on EP 6 sp 16. We have had a very interesting situation occur with our development portal at random times. Not always, but every so often, the following happens. We will either copy an oobject (for instance an iView) to another fold

  • BPM Help

    Hi everyone. I found this document <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c">Step-By-Step Approach for Implementing XI Scenarios</a> and

  • Alternate way to encode 5.1 Surround from Premiere Pro?

    I just used Premiere to edit and export my first 5.1 surround audio.  I used the SurCode encoding to do it and noticed that you're only allowed three trial exports before you have to purchase a licence for $295. Is there an alternate encode method ou