Formual in report

Hi Experts,
i have created formual in reports( Bex desinger) as follows.
Qty + input value.  when execute the repport it is working fine.
for example qty 10
Input value :10 ( this is vairable we will give value at the time execution. )
for example qty 10 and you enter value at the time of execution 10 the total should be 20.
the value 20  is showing in the report.
problem here is that, after executing the report if you want to change variable value and get result for different values. like you are removing the input value 10 ( keeping as blank for this value). it suppose to show the 10 (result).
but it is showing nodata exist.
Please advice.
thanks
Praveen

Hi,
Yes this behavior is normal in BI report . When you execute the report once by giving some value in the selection screen . It will remember that value inside the report.
The only solution will be to run the report again .
Hope the above reply was helpful.
Kind Regards,
Ashutosh Singh

Similar Messages

  • Error in formual with Crystal Report XI

    Hi
    I'm just switching from Crystal Report 9 to Crystal Report XI. The same report works with version 9 but not with version XI.
    The error message say's:
    Error in formula <FAdresse>
    'StringVar sText;
    Feldname is unknown
    The formula that works till now:
    StringVar sText;
    If {viewAusweis.ADRESSE1} <> '' then
        sText := {viewAusweis.ADRESSE1};
    If {viewAusweis.ADRESSE2} <> '' then
        sText := sText + chr(10) + {viewAusweis.ADRESSE2};
    If {viewAusweis.ADRESSE3} <> '' then
        sText := sText + chr(10) + {viewAusweis.ADRESSE3};
    If {viewAusweis.ADRESSE4} <> '' then
        sText := sText + chr(10) + {viewAusweis.ADRESSE4};
    If {viewAusweis.ADRESSE5} <> '' then
        sText := sText + chr(10) + {viewAusweis.ADRESSE5};
    If {viewAusweis.ADRESSE6} <> '' then
        sText := sText  + chr(10) + {viewAusweis.ADRESSE6} + ' ' + {viewAusweis.ADRESSE7}
    else
        sText := sText + chr(10) + {viewAusweis.ADRESSE7};       
    sText;
    Can anybody help me?
    Ralf

    Four of ways to do this, however all include the use of the RDC merge modules and creating a deployment package. From the most prefered to the least prefered option:
    1) When you download the merge modules, one of them will be crystalreports11_RDC_license.msm. The crystalreports11_RDC_license.msm is configurable and you have to enter the keycode into the msm. Utilities such as InstallShield, Wise, MS Visual Installer allow you to do this modification, others do not. You do not specify what deployment utility you are using, but if it does not support these types of msm files, search the forum for "Orca" and you will get an idea of how to use it to fill in the keycode.
    2) In code you can use this line:
    myApplicatoni.setLicenseKeycode("the keycode as a string")
    3) In the CR bin directory (...\3.0\bin) on your development computer, you will find the LicenseManager.exe. You could take this exe to the computer you want to deploy to, runt he exe and enter the keycode. Of course this is not the most ideal if you are distributing to more than a couple of computers.
    4) Install Crystal Reports on the deployment computers. In order to remain within your licensing agreement, delete the crw32.exe. Again, this may be an option for a couple of quick installs only.
    Ludek

  • Variance formual in Cross tab report

    Hi,
    I am new to crystal and don't have formal training. I am trying to create a report that shows Actuals and Budget and I want to the variance.  Format is 1 row is for actuals, 1 row is for budget and the other is for forecast.
    I would like to have a variance that is actual - budget and another actual - forecast for each measure.
    I am using cross-tab report for formatting, any assitance for how to over write totals coloumn with Variance calculation, assistance for creating variance formula in formula workshop is required. I happend to see the logic in other forums but not in cross-tab scenario.
    Thanks in advance.
    Bhanu

    Use a manual Crosstab report so you have full control

  • Getting running total formula result at the beginning of the report

    Hello All,
    I am having an inquiry that if I can get a grand total in the report footer to the report header.
    The grand total is not a direct sum.  I am using three formulas
    the first formula:
    @reset Group Header
    whileprintingrecords;
    numbervar sumpct4;
    if not inrepeatedgroupheader then
    sumpct4 := 0;
    the second formula: Details section
    whileprintingrecords;
    numbervar sumpct4 := sumpct4 + {@Total_Market};   // {@Total_Market}; =  Amount+ Interest
    numbervar grtotal4 := grtotal4 + {@Total_Market};
    Group Footer
    whileprintingrecords;
    numbervar sumpct4;
    Report Footer
    whileprintingrecords;
    numbervar grtotal4;
    All that I need is to show the total which is in the report footer at the top of the page where I am having a summary.
    So, can you please help me.
    Thanks
    Edited by: maas maas on Sep 8, 2010 12:48 PM

    Hello my friend,
    I want this to be controlled in crystal.
    Is there is a way to get the grand total by using multiple formulas or any other way?
    Here is the structure of my report:
    Group Header 1: CCY
    Group Header 2:Type
    @reset Group Header
    whileprintingrecords;
    numbervar sumpct4;
    if not inrepeatedgroupheader then
    sumpct4 := 0;
    Group Header 3A: Deal No
    Group Header 3B: Deal No (subreport to get the {@amount} for each deal)
    I will pass the end_date from the main report to subreport and I will get the sum(amount) for each deal between date (1-1-2008) to end_date. The sum will be as a shared variable to the {@amount} formual in the main report.
    Details:
    Deal No, {@amount}, {@Price}, {@market}, {@Total_Market}
    {@Price}: if {table.price} = 0 then
    100
    else {table.price}
    {@market}: if Type <> "DEP" then
    ({@amount}*{@Price})/100
    else
    {@amount}
    {@Total_Market}:{@market}+ {@Price}
    Running formula to get Total_market: Details section
    whileprintingrecords;
    numbervar sumpct4 := sumpct4 + {@Total_Market};
    numbervar grtotal4 := grtotal4 + {@Total_Market};
    Group Footer 3B: Deal No
    Group Footer 3A: Deal No
    Group Footer 2:Type
    In this group I am placing a running total formula:
    whileprintingrecords;
    numbervar sumpct4;
    Group Footer 1: CCY
    Report Footer:
    @grand_Total
    whileprintingrecords;
    numbervar grtotal4;
    Now, i want this @grand_total formula result to be shown in Group Header 1: CCY.
    I tried to insert a subreport at the beginning which it is a copy of the main report, but I did not get the coorec t result because I am getting the {@amount} from a subreport and in crystal I can't insert a subreport in an existing subreport.

  • Report requirement from BW

    Hi ,
    I need to execute the scenario in bw for report requirement.
    the report requirement is:
    The Fields are material, Batch, internal char, char value.
    Here the logic is the field Internal char no have values vintage,Bill of entry and the field char value have 222, 333-7876 for correponding field.
       Material        Batch          Internal Char no.         Char vlue
       2009822       58938         Vintage                        222
                                               Bill of entry                  333-7876
    They need bw report like
    Material             Batch          Vintage             Billof entry
    2009822           58938           222                  333- 7876
    Can any one give idea.
    Thanks,
    Satya

    Hi Satya,
    Follow the below given steps,
    1) Goto rows area and right click to create new formula variable.
    2) In the edit step of your formula, remove the default description and put a &, you will get different options. select the new text variable.
    3) Give the variable name, description and select the type as replacement path.
    4) On the next screen select your characteristics i.e. Internal cost type (first char).
    5) on the next screen select replace variable with Key or text value whichever you want.
    6) Here we are done with heading part.
    Now for defination of formula variable,
    1) Right click on Formual variable tree and create a new variable.
    2) Select type as replacement path and on next screen select the other characteristics i.e. Internal cost value i.e. 222.
    3) Again on next screen replace variable with key.
    4) Finally select Dimension indicator as Number.
    5) We are ready to use the variable. In the defination part use newly created variable.
    Now you will get the output in exactly required format.
    Regards,
    Durgesh.

  • Problems with After Report trigger Updating using User-defined functions

    Hi,
    I have a report which uses SQL to select data that uses a user-defined stored function in the WHERE clause.
    I use the same SQL in the After Report trigger with and UPDATE statement to flag all records selected as being run.
    Data is being selected by the report no problem, but the records are not being updated. In a test, If I remove the conditions using the user functions, the records update as expected. In Live conditions I must have these conditions in the script.
    I originally tried putting the UPDATE in a formual column, but that would not fire on records where that page was not paged through (or paged to end) in the Runtime Previewer.
    Can anyone advise?

    In case anyone is interested.
    The issue was that the stored functions have roles assigned for security.
    PL/SQL for After Report doesn't seem to recognise the roles having been assigned for the report, so the implicit cursor update/select I had wouldn't work.
    I changed the SELECT into an explicit CURSOR and introduced a FOR LOOP, keeping the UPDATE as an implicit statement.
    I know see this was more of a PL/SQL issues than a report one, but such is life. So if anyone feels the urge to move it to the PL/SQL forum, then feel free!!
    Have a problem free afternoon. :-)

  • Row numbers in Financial reporting Studio report

    Hey I am designing reports in FR Studio that require row numbers next to the line item (Account) description. The problem is that these rows can be dynamically suppressed if they are 0/missing/error. So the question is: how do I get row #s, skipping hidden rows?
    Thanks

    Yes I completely agree, a few extra 'Excel' type functions could make a huge difference!
    Thinking outside the box, one ugly workaround might be ranking??! Could you somehow use ranking on the report to return a row number?
    I'm thinking on the Essbase side you might need to create a member in a dimension other than Accounts that you can store a static value against, incrementing it for each account in your hierarchy, e.g 10, 20, 30 etc. Then in your reports you have a hidden column to return that value and a formual column to rank it in ascending order.
    Like I say not pretty but if you could do it in a dense dim e.g. Period then it shouldn't significantly add to block size / db size as it is only one member, store it against a static member in your other dimensions, e.g. No Year, No Entity assuming you have something similar. You would also need to be careful of your numbering if your row numbers needed to include subtotals so that those values were ranked correctly.
    Its amazing what you can come up with when you have to find a way to do things.
    Hope this helps
    Stuart

  • Using Sql Queries in OBIEE Reports

    Hi all,
    I need to use direct sql query in report function column.. How can I implement that.
    For example
    Our report name is /shared/Automotive/Vehicle Services/Most Serviced Vehicle Models
    we have to eliminate /shared/Automotive/Vehicle Services/ part from above report name.. I have done this in sql using the Query SUBSTR(COL,INSTR(COL,'/',1,4)+1).
    So kindly help how to implement above sql query in Obiee.. Urgent.
    Thanx in advance

    If "Report Name" is a column then you can simply create a custom formual and apply the substring logic to it to get at the single report name instead of the full path.
    Otherwise this logic can easily be accomplished within the RPD via a logic column expression.

  • AR Overdue Report

    Hi,
    I have to prepare AR Overdue Report, for the Balance
    I have Filtered 0FI_DOCSTAT to "O" Used KYFNM1 = 0DEB_CRE_LC.
    Next I want to do - Posting Date <= Key Date. 
    How can I achieve this? Means I need to get all these things together? in query??
    Thanks in advance,
    Shreesh.

    Hi,
    Try to create a variable on posting date and may be issue solve .
    You want to analaysis on customers cretae a formual  dr-cr
    Regards
    Sivaraju

  • ECCS 6 CONSOLIDATION SET FOR REPORT PAINTER

    Hi
    I am configuring the Report  Painter for the reports on ECCS consolidation. In the T CODE CXSA creating sets there is concept of formual.
    Ecaxtly what i want is that, i want to spilt the value of a FS ITEM into 2 Account Group at the rate of 60% and 40%.
    and for that i want to us Formula in the creation of Sets. Can anyone please tell me how this formual works.
    Thanks & Regards
    Krish

    Hi
    In a report painter report - Once you have created a SET means you know for what values you want to execute the report...
    In your form definition, you will see two check boxes beside your characteristic - i.e. One for Defining a variable for the char and the Other for using a SET..
    If you want to use a variable - this means you would specify the values of the projects at the time of execution... For this, click on the relevant check box and you can specify any name in the field "Local Variable"
    If you want to use a SET, this means you know for what projects you would like to see the report.. For this, check on the relevant check box and specify your SET there...
    If you want to use both the above options, then you must create your set from GS11 and choose the radio button SET VARIABLE
    Refer the set 1KOSET from GS13 as a sample...
    And see report 1SIP-001 under library 1VK in GRR3.. This report uses 1KOSET under General Data Selection.... You will get an idea for what you want
    Regards
    Ajay M

  • How to supress the single Entries in the report?

    Hi
    I have a report of  "Customer unpaid Cheques". This report displays Customer wise.
    For eg. Let say Customer 1234 cheques have been unpaid and returned many times. Some customers have single time retrns.
    In a report I want to filter the Customers with Single Entry.
    Report is like ths.
    Cust No: Ret.Doc: Cheque No: Amount:
    1234 7999 3331 100
    1234 8999 3332 100
    1234 9999 3333 100
    1235 7777 4444 200
    Customer 1234 has been returned 3 times where as Customer 1235 is ed one time.
    I want a report which displays the customers with more than one returns. The report should be like this. How can I do this..
    1234 7999 3331 100
    1234 8999 3332 100
    1234 9999 3333 100
    Thanks for your help.
    Sudha..

    HI Sudhakar,
    It's bit complex but will work.
    Just create a new formuale with this option F= SUMCT(Amount)( This is basiclly the "result" option you get when you try to create a formlae.
    Now make a calculate key figure with the logic CKF=( Amount - F)
    This will give you basically this kind of difference
                        F   CKF
    1234 7999 3331 100 300 -200
    1234 8999 3332 100 300 -200
    1234 9999 3333 100 300 -200
    1235 7777 4444 200 200  0
    Now put a condition on the report level that show only those rows where the CKF!=0
    IT will show only those value which have moer then one rows.
    Also you can hide these additional columns depending upon your need.
    I think it will work
    If helpful assign points.
    Thanks

  • Problem with Report Result Display.

    Hi Experts,
    In one of my reports , i need one  key figure length of service in years which is report execution date (system date ) - entry date / 365.
    Entry date is characteristic and it is in the report display.
    I have made a formula and in that i created a formaula variable using replacement path for entry date and got entry date value.
    Similarly for system date i got it into another formula using customer exit.
    I have made antoher formula length of service in years calculation .Calcualtion every thing is fine.
    My output required is show the result value only   and hide the single values for the length of service. ....
    Here My problem is in the result row for this formula lenght of service it is showing as X instead of the value.
    SIngle values are fine .Result row values are coming as X.
    I read that if it is formual varaivble using replacement path result values wont be proper.
    I treid using calcualte result as ...but i have hierarchy display in my report as a result i am getting warning as
    Calculating result as was not executed...
    I tried using exception aggregattion even then result is coming as X.
    So how i should i get my values displayed in the result row...
    Thanks
    vamsi
    Edited by: vamsi talluri on Oct 13, 2009 4:55 PM

    Hi Experts,
      Any inputs on this...
    Thanks
    vamsi

  • Place Holder Formula column in reports doing problem

    Hi
    I am working on some existing reports where there are many palceholders formula coloumns using no return values and they are blank and giving me errors
    can anybody tell me what should i write on that place holder formula columns for the return values
    should i write return 0 fro number and return null for char
    or any other values from some package or field
    please guide me
    Thanks
    Junaid

    palceholders formula coloumns Are they placeholder Items or formula items ? As you say they are missing return values i would guess its formula-items.
    should i write return 0 fro number and return null for char In general, formual items should return some meaningful value depending on the requirement behind the report, if they do not:
    Are they used somewhere in the report ? If not, delete them instead of returning some useless value. If they are used, you're up to the requirement again and have to check whats the sense behind it.

  • Bring in a shared field from a sub report

    Post Author: Set_Shot_Dave
    CA Forum: General
    Hello All,
    Let me set what I'm doing first.
    I have a running total on my sub-report.
    Second I have a running total on my main report.
    I have to get a percentage of sub-report running total by main report running total.
    I shared the sub-report running total as followed:
    formula name @shared1
    shared numbervar share1;
    share1:= (sub-report running total)
    then I created a formula called Calculation just to see what I get.
    I did the following
    @calculation
    shared numbervar share1;
    numbervar calculation;
    calculation:= share1    this is where I get 0.00.
    But on my sub report  running total I get a 309. (which is correct)

    Post Author: PeterLiebich
    CA Forum: General
    In the formual in the main reqport u need to set the EvaluationTime To WhilePrintingRecords  - the reason that the formula is displaying zero is becuase it is evaluated once per report, (before the sub -report is executed) . This is because there are no databases fields etc.
    ie you formula should be (crsytal syntax)
    WhilePrintingRecords;
    shared numbervar share1;
    share1;
    (Basic Syntax)
    WhilePrintingRecords
    shared  share1 as number
    formula =  share1

  • Linking a few Crystal Reports

    Hello,
    Let me start by apologizing in advance because I am not as technical as most of you that will likely respond.  I am working for a company that has partnered with BOBJ and I am trying to develop a report internally, but we do not have any Crystal Reports experts in-house.  Here is the background info:
    I am using Crystal Reports XI R2 (SP3) and I am accessing the report data from a Universal Web Services Connection (UWSC).  Basically, our company pushes reports to a server (in what appears to be a flat .CSV file) and my Crystal Reports designer accesses this data via the USWC after authenticating login credentials for the server.  I have four data tables stored on the server, each with ~8,100 records.
    Here is what I am trying to do:
    I am trying to consolidate the four data tables into one Crystal Report, but I think I am linking the data tables incorrectly.  The report would be structured to show all metrics and calculated values (via formulas) for 900 projects grouped by the 9 established date periods.  These are my four data tables, with their associated columns, on the server:
    1. 
    Date
    Project name
    Project ID
    Sales Rep
    Sales $ (Forecast)
    Sales $ (Actual)
    Sales $ (Variance)
    2.
    Date
    Project Name
    Project ID
    Project Manager
    3.
    Date
    Project Name
    Project ID
    Cost $
    4.
    Date
    Project Name
    Project ID
    Revenue $
    So, as I said, I am trying to link these reports into one comprehensive Crystal Report that may contain formulas that span across each data table.  Each table has about 900 projects where each project's values are reported for each of 9 date periods (there are only 9 possible values in the date column), which gives me my ~8,100 records in each table.  Think of this as a pivot-table file where each of the 900 projects (and Project IDs) will appear 9 times in each table for each of the 9 established date periods.  I tried linking the values Date and Project ID in my Database Expert to the corresponding Date and Project ID columns in report #1 and then grouping the Crystal report by Date from report #1, but I received a database connection error and reading records seemed to take about 3 seconds per record.
    If anyone can provide some insight here I would greatly appreciate it.  Please be as specific as possible because I have tried a few options and cannot seem to get exactly where I need to be.
    Thanks in advance for any responses.

    @sharon towler: Sorry, I must have not been clear about the end result of my report, so your reply is not specific enough and doesn't seem to get me to the solution that I desire in my report output.
    @Brian Dong:
    It's a report that would list the records pretty basically with some formula use (addition of fields between reports).  The report might apear as below with each column header separated by "|"  and the formuals written in the column headers:
    (Group Header)
    Date
    (Details)
    Project name | Sales Rep | Sales $ (Forecast) | Sales $ (Actual) | Sales $ (Variance) | Project Manager | Cost $ | Revenue $ | Sales $ (Actual) minus Cost $ | Revenue $ minus Cost $
    In this report, the table listed as #1 in my first post would be the "1 driving or main table" and all the other tables (#2,3 & 4) will supply the supplimental data for each record (table #1).
    As for my criteria for a record, I would say that technically, in this Crystal report it is determined by the unique Project ID AND the Date (my Key Fields).  More specifically, each project, with its unique Project ID, will appear 9 times in each of my 4 tables for the 9 different date periods, so my records are really determined by the unique Project ID AND the unique Date.  In all cases, the Project ID and Date are the same field types in the 4 tables.  Here is a simplified example using date input in only table #1 & 2:
    1.
    Date   | Project Name      | Project ID | Sales Rep | Sales $ (Forecast) | Sales $ (Actual) | Sales $ (Var)
    9/1/08 | Deployment Test |   5           | Jim Smith  | $100                     | $75                   | $25
    8/1/08 | Deployment Test |   5           | Jim Smith  | $120                     | $50                   | $75
    9/1/08 | Testing Website  |   34         | John Doen  | $200                    | $50                    | $150
    8/1/08 | Testing Website  |   34         | John Doen  | $400                    | $125                  | $275
    2.
    Date | Project Name | Project ID | Project Manager
    9/1/08 | Deployment Test |   5           | Bob Jones
    8/1/08 | Deployment Test |   5           | Bob Jones
    9/1/08 | Testing Website  |   34         | Bill Carr 
    8/1/08 | Testing Website  |   34         | Bill Carr
    In this case, you can see the Projects with IDs 5 and 34 appear in both of the two tables.  In my final Crystal report I would just want to display the Project Manager from table #2 above as another column alongside all the other metrcis in the "main table" in table #1 above when the Project ID and Date match.  The trial and error method is not exaclty working for me vert well because any field that I add to my report causes the database connection error. 
    I hope I didn't complicate things even more and please let me know if you have any more advise now that I have provided some specifics.

Maybe you are looking for

  • Won't load to desktop

    Problem: Old power mac G4 won't boot to the desktop. By default it loads OS X. When it loads the apple and the spinning thing under the apple load. Then OS X begins to load with the status bar and message. Right after the message "waiting for network

  • Intel driver KMS and exa = black screen

    Hello, I just upgraded to xorg 1.6 today and have enabled KMS thanks to the howto thread in the fourms. Everything works great with UXA, It is when I try to enable EXA and try to startX I get a black screen and have to do a hard reboot. Does anyone e

  • Forgot File Sharing Password

    Okay, little embarrassed about this one.  I went to shut the file sharing password off because I could not remember it, and in order to turn this functionality off, you must know the password.  Does anyone know if there is a way to recover the passwo

  • Transportation Chain Shipment Planning

    Hello Experts. I am currently working on our SAP implementation (Wave 2) project team representing the logistics department.  We are currently processing collective shipments successfully.  I am trying to determine how to incorporate pool shipment pl

  • Mac OS X Firewall

    Hi, I have Mac OS X 10.8.3 on my iMac and had OpenOffice installed. I`ve removed it but still see record org.openoffice.script in the Firewall configuration (see screenshot from System Info). How I can remove this not needed record from Firewall conf