Format Fields in Cross Tab and Calculated Members

Hello:
I have a cross Tab with a calculated member, I need to display one decimal or no decimal in some of the columns so I created a formula in the Display String option like this:
if GridRowColumnValue ("@TestID_desc")= "ALK mg/L
then
  Cstr(CurrentFieldValue, "0")
else
  Cstr(CurrentFieldValue, "0.0")
But, after I saved the formula the value in the calculated member colums disappears. Any ideas? Thank You in advance!

right click on calculated field and go to format field and in number tab select customize button and write the condition for decimals.
regards,
Raghavendra

Similar Messages

  • How can I compare two summary field in cross-tab?

    <p>Dear expert:</p><p>I have one question for how can I compare two summary field in cross-tab?  I have following cross-table:</p><p>Type          Sector1     Sector2    Sector3       Total </p><p>Outlook         10            11           9              30         </p><p>Target            5              3           1               9</p><p>I want to compare the summary field(total) relationship percent, I want to get "9/30". Someone told me I must create the DB view or table via SQL, then can implete in Crystal Report. Can I implete it in Crystal Report via fomula or other function?</p><p>Thanks so much for your warm-hearted help!</p><p>Steven</p>

    Hello Steven, yes you can compare summary fields, If you are comparing Summary to Target, or vice versa - you can do it within Crystal Reports.
    1. In Suppress conditional formula, create 2 Global variables: CurrentOutlook and CurrentTarger and get the current value.
    2. In Display String formula for Total show ToText(CurrentTarget/CurrentOUtlook) + "%".
    For more difficult cases of compariing fields in cross--tab, you may look into http://www.relasoft.net/KB10001.html.
    Best,
    Alexander

  • SORTING FOR THE CALCULATION FIELD IN CROSS TAB REPORT

    LIST_G_AUCTION_TITLE>
    <G_AUCTION_TITLE>
    <BID_NUMBER>5002</BID_NUMBER>
    <AUCTION_TITLE>E2E-01 Construction RFQ</AUCTION_TITLE>
    <ITEM_NUMBER>C2631</ITEM_NUMBER>
    <ITEM_DESCRIPTION>4G000,000,0STRUC,X,SPECIAL STRUCTURE</ITEM_DESCRIPTION>
    <ESTIMATED_QTY>1</ESTIMATED_QTY>
    <UNIT>LS</UNIT>
    <QUOTE_PRICE>400</QUOTE_PRICE>
    <ESTIMATED_QUOTE_PRICE>400</ESTIMATED_QUOTE_PRICE>
    <SUPPLIER>X - L CONTRACTING</SUPPLIER>
    my xml data is in this format, i created a cross tab report for ITEM_DESCRIPTION as row and SUPPLIER as column and calculated a sum(ESTIMATED_QUOTE_PRICE)
    for all the ITEM_DESCRIPTION for every SUPPLIER in templete . now i need to sort the data by sum(ESTIMATED_QUOTE_PRICE) from lowest to higest from left to right , that is supplier with lowest sum(ESTIMATED_QUOTE_PRICE) should display first from left to right.
    can any one help thanks in advance.

    thank you tim , for asking i got the solution. it is actually in template builder i was asking about. xml template builder

  • Cross Tab with Calculated Member Fails in BO Enterprise

    Hello,
    I have a report (Crystal Reports 2008)  that I created using a cross tab, with a calculated member field. This report runs fine on my desktop, but fails when published to Crystal Enterprise (Server 2008).
    When scheduled, the instance history states Crystal Reports: Print Engine Error
    When I remove the calculated member from the cross tab, it runs fine.
    Has anyone come across this and if so, how did you resolve it? I believe this is a brand new feature in Crystal Reports 2008 - is it not supposed within Enterprise?
    Thank you for your assistance.

    Root Cause: I had built my report in Crystal Reports 2008 on the latest Service Pack/Fix Packs (which addressed the issue of calculated member). My Crystal Reports SERVER 2008 was on a lower version.
    I opened a message with SAP support and they were unable to tell me how to apply service packs to my Server. They then pretty much abandoned my question, so below is what I came up with on my own to fix the issue.
    There are no specific service packs/ hot fixes for Crystal Reports SERVER 2008, so I had to:
    1) install Crystal Reports V0 on my CRS 2008 machine
    2)Install all Service Pack/Fix Packs available for Crystal Reports 2008 (even SP1, even though all SAP documentation tells you not to do this, it is required before you can install SP2)
    3) Reboot Server
    If you do the same thing as me, just a warning that installing the Crystal Reports SPs will break InfoView/CMC until you apply them all and re-boot.

  • Increase Number of Decimal Points on % summarized field in Cross Tab?

    Hi,
    I have a cross tab that I have added a "% of COUNT " summarized field to, but I want to show the percentage to 2 decimal places (DP) and make the rounding more accurate. Currently the rounding means the % values do not actually total to 100%.
    I assumed this would be as simple as changing the formatting of the field to increase the 'Decimals' property to 1.00 and the rounding to 0.01.
    However when I save the changes are not reflected in my cross tab? It still shows them with 0dp? e.g. 60%
    Is it possible to get % values in a cross tab showing to 2dp? e.g. 59.82%
    Thanks

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with your directly
    Formatting is for viewing only. Using formulae to manually round the values.

  • Hierachichal display is not coming for field in cross tab crystal report

    Hi,
    I have a dimension  "Cost center" in DSO on which Hierarchy is defined in SAP BI.
    When I developed one cross tab report on this DSO, values for Cost Center fields are displayed in flat mode and not in Hierarchical mode.
    I also set group option on this "Cost center" field  in report And in Report menu "Hierarchical Grouping option" also check box ticked for "Sort data hierarchically" and also selected Instance id field.
    how to get this?
    **Note: same problem when report is developed on Infocube.*+
    Please help me.
    Thanks,
    Dhana.

    Hi Dhana,
    I've created a similar report to show matrix WBS x RBS, and WBS are grouped hierarchically.
    My report developed in this way:
    - I've created Hierarchical group located in detail section of report. In detail section I've put the row field of cross table.
    - I've suppress all this section: group header, group footer and detail
    - I've created the cross table in Report Footer
    The report show correctly
    Regards
    Sandro

  • Using sub-report field in cross tab row #2

    I have a sub-report that pulls a product line description that need to be added to row #2 of a cross tab object. I am unable to drag and dropped and it does not appear in the list under the cross tabs expert.  Any assistance would be greatly appreciated.

    Hi Edmund,
    You cannot add fields from the Subreport to a Crosstab in the Main Report.
    If you're trying to add data for multiple rows, you would need to bring those values as part of the Main report's query.
    -Abhilash

  • Formatting to the Cross tab

    Hi,
    I have a Webi Report with cross tab. it is sectioned on a "Group Name" dimension object. and it has "Product Categories" as columns in it.
    Curently it is showing 3 product categories in 1st page and 4 categories in the 2nsd page in the last page 1 category is displayed.
    the requirement is that in each page should have 4 categories to be displayed.
    so what formatting changes that i have to do in infoview in order to modify the report such that each page will show 4 categories.
    immediate help would be very helpful.
    Regards,
    Kishore.

    Hello,
    Have you figured this out yet?
    Play with the properties of the report, specifically column width, and also some of the section properties, like "show empty columns" or "show empty measures" etc. You should be able to find something that consistently gives you what you need,
    Thanks

  • Suppress values in Cross-Tab and Cross-Tab Chart if null

    I am developing a cross-tab report that has no-values contributing to the summary in a number of cells.  For instance, if I were to display the average value for the testing of particle-counts by the day of the month, and no testing was performed on a particular day, then I would hope that the cell would be blank and a plot of the cross-tab would just omit that data point.  However, Crystal interprets this as a 0.00 instead of NULL, and the plot (incorrectly) includes the zero-datapoint. 
    I can suppress the datapoint in the cross-tab if it's zero, but that isn't correct either (as, sometimes, zero will be the correct answer).  Even then, though, I cannot suppress the datapoint on the plot.
    Anyone have experience with a workaround for this?
    Thanks - Tim

    BTW...I found that I can work-around the plotting issue if I convert the chart to a "Group" type (instead of cross-tab).  It will then ignore the null-values.  Still thinking about cross-tab displaying zero for a summary value when it is working with no data.
    Suggestions?

  • Cross-tab and hyperlinks

    Is it possible to have each rows of a cross-tab be a hyperlink poiting to another report and how to accomplish that?
    My cross-tab rows represent categories, and I have another report for sub-categories (with category name as parameter), I'd like to be able to click a category and view the detail for that category.
    Thanks for your help!

    you need to try using open doc URL
    "http://<servername>/businessobjects/Enterprise11.5/InfoView/scripts/opendocument.aspx?sPath=Report+Samples&sDocName=Target.rpt"
    to pass the category to your sub report parameter you need to use currentfieldvalue
    regards,
    Raghavendra

  • 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

  • Data Format in Cross Tab and Parameter window about numeric and date

    Hello,
    I got a problem to show Year 2008 as 2,008.00, it's rediculous...
    My PC and Notebook both show "2008",  but my three co-workers' PCs all show "2,008.00"
    the group field is:      CStr(Year({SJ_Inv;1.TaxDate}))+ '  Sales Analysis'
    How to convert such a numeric into text without decimal?  CStr looks not workable.
    also,
    the numeric var in parameter window, sometimes I don't want it to show up comma and decimal, how to format it?
    And, the datetime var in parameter window from store procedure,  can it be a "Date" without Time for user to entry only?
    I will be very appreciate for your helping.
    ~Michelle

    Hi, Raghavendra,
    The reason to use stored procedure is to save server room -- limited data for output; this is why we declare variable in Store procedure, and got problem there -- datetime but not date.
    On the other hand, if we declare variable in Crystal report, it's allowed date type, but how to defaut the Date-from as 1st day of current month, and Date-to as Today in Crystal Report parameter setup ??  And then how to pass the parameter to store procedure to limit the data output volume?
    (I am also trying to get this done in Store procedure right now..)
    The pros and cons exist in Store procedure and Crystal report, which is better is not definite!
    Best regards,

  • Cross Tab And summary fields

    <p>Hello Guys, </p><p>Need your help for the following problem:</p><p>1. In a Crosstab i have the customers in the Rows and the sum(invoiceamount) in the summarised fields. I have sort (group sort expert) to show the top 10 customers. Now i want to show what is the <strong>sum(of the invoice amount of the top 10 customers only), sum(of the invoice amount of the other customers), sum(invoice amount for all the customers). <font color="#ff6600">How do i get this</font></strong></p><p>2. I have year on Year comparison report. Customer in rows, order date(summarised for each year) in columns, sum(invoiceamount) in the summarised fields. <strong>Now i want to show what was the % growth or decline from last year.</strong> <strong><font color="#ff6600">How do i get this</font></strong></p><p>If you need any more information or explanation please let me know....</p><p>Any help is welcomed</p><p>Vignesh</p>

    Search forums for the answer

  • Two basic xcode questions (tabs and displaying members)

    I have two questions about xcode that are most likely answered easily:
    1. Is there a way to set it so that selecting a block of text and hitting tab or shift tab will indent it instead of replacing it with a tab? I know that i can right click and do move right, but that is pretty irritating to do on a regular basis.
    2. How do I get xcode to display members of classes and structs when I am typing? For example if I type 'var->' I want it to pop up a list of available members that belong to var for me to choose from. Or if I type 'function(' i want it to list what the parameters are that function is expecting.

    I don't think that anyone much gives a flying fsck what "features" are available; unless that person is trying to "sell" something to you.
    Of course, I assumed your standards were based on what Micro$hite offers you. Why should that be a standard?
    If you want similar features, you will have to use a proprietary Apple API. Believe me, you can get it. But you cannot inspect MFC from inside Apple's IDE.
    I'm sorry, I don't really intend my remarks to be harsh. It just astonishes me when people don't realize that these folks are not in business to HELP YOU but are in business to MAKE MONEY.
    I'm not even saying this is wrong. I'm just saying, you should not be astonished.

  • Cross-tab report: need to SUM field and present as HH:MM:SS format

    I am creating a cross-tab report and several of the selected data fields I need to summarize are time-based fields, which are stored as seconds in the database.  When I create a standard report, the formula to convert the seconds to HH:MM:SS and SUM works just fine, but when I try to bring that formula field into the cross-tab report, it does a COUNT on it rather than a SUM.
    How can I get it to SUM that data and present it in an HH:MM:SS format in the cross-tab report?
    Here is the formula I'm using in the Standard Report to convert from seconds to HH:MM:SS and SUM the data.
    totext(abs((Sum ({wagent.acwtime})) / 3600),"00") & ":" &
    totext(abs(remainder((Sum ({wagent.acwtime})),3600) / 60),"00") & ":" &
    totext(abs(remainder(remainder((Sum ({wagent.acwtime})),3600),60)),"00");

    In the cross tab, do the sum on {wagent.acwtime}.  In the cross tab on the page, right click on the field for the sum, select Format, press the X-2 next to Display String, and enter your three line formula, replacing {wagent.acwtime} with CurrentFieldValue.
    HTH,
    Carl

Maybe you are looking for