Report Formula issue is Querry Designer

Hi ,
In my report I have
I am designing in query Designer.
col1    col2   col4  col5
1.5      1.0   
2.5      1.0   
1.5      2.0  
3.5      3.0
1.0      5.0
10 .0     12.0 
Now I want in in 1st row col4 : (1.5/10.0) *100
                           2nd row of col4 = (2.5/10)*100 and so on
Similarly I want in in 1st row col5 : (1.0/12.0) *100 and so on
I have tried many formulas/% functions.But not getting data exactly
Can anybody suggest me.
Thanks
kumar N

Hi Hartmut Tresselt ,
I have put the same formula already. But I am getting the required result in the final last column where all col sum is displayed in yellow colour.
For each column it is divided based on that final column and i am getting that value.
I am getting now :
col1    col2      clo3   col4     final col     final col%
1         5%       2       10%        3            15%              
3       15%       3       15%        6            30%
6       30%       5       25%      11            55%
10     50%      10       50%      20          100%
But I need like below
col1    col2      clo3   col4     final col     final col%
1       10%       2       20%        3            15%              
3       30%       3       30%        6            30%
6       60%       5       50%      11            55%
10     100%      10    50%         20         100%
Can u suggest me.

Similar Messages

  • Bex Report formula issue

    Hi Experts,
    i have a column in my report which displays number of days the order is pending, like below
    Pending days.
    12
    24
    85
    65
    52
    I want to display an additional column where i want to display a text to it for different range of days.
    like
    Pending days...........Day range
    12............................<15 Days
    24.............................15 - 25 Days
    85.............................> 50 Days
    65.............................> 50 Days
    52.............................> 50 Days
    Can any body tell me how do i achieve this please.
    Thanks

    Hi Mo Ahmed,
    You can always implement a solution in the BI system itself.
    This would fix your issue of realising this only in the query or the report itself.
    Create a new InfoObject to include in you BI flow. This InfoObject will capture the range and the text.
    You can fill this InfoObject with a number like Sarah proposed. 0 when the value < 15, 1 when the value is between 15 and 50 and 2 when the value is > 50.
    Now in the Master Data Text table for this InfoObject, you can fill in the descriptions you want for each value.
    In the final report you just include this InfoObject's Text and you should have a solution.
    If this is not what you want, can you please provide some additional information about your reporting?
    Which BI system do you use (BI7, BW3.x, ...), what kind of reporting (BEx Web, BEx Analyser, ...), if you the possibility to modify the BI system or only reports, ...
    Regards,
    Rik

  • Sample SD  reports in querry designer

    Hi,
    We want to see the sample SD report at queerry design.we mean that. We want to check out sd reports querry designer to see how it is creating?
    Any link ?we are really appretiated..

    Hi,
    Designing SD queries or any queries depends on client requirement (refer report template) and you design query on top of IC/DSO/Multiprovider mostly with effective performance.
    Use following Bex Functions and design query. understand each function properly and use them to improve query performance.
    -     Generate index.
    -     Build query on multiprovider and better use Constant Selection Function to bring infoset functionality to Multiprovider.
    -     Make your query more dynamic using variables.
    -     Do partitioning on IC when you have restriction on 0CALMONTH.
    -     Use more free charecterstics.
    -     Use include than exclude at Bex level.
    -     Utilize Cache mode and Read mode functions.
    http://help.sap.com/saphelp_nw04/helpdata/en/9d/76563cc368b60fe10000000a114084/content.htm
    Regards,
    rvc

  • How to assign current date/time to a formula variable in Query Designer

    How do I assign the current date to a formula variable in Query Designer? I need to use current data in a calculation and just need the date the report was run.
    Thanks

    Hi Philip,
    There is an SAP formula variable to supply the current date in a formula. I think it is 0F_ADAY...install it from business content if you cannot see it in the query designer (formula box, under formula variables) and try using it.
    Hope this helps...

  • XI R2 To 3.1 Sp2 migration and report format issues

    Hello,
    is there a way to fix or troubleshoot report format issues after migrating to 3.1?
    We have a heavy report that the format (the way the report looks) is very important. In crytal Reports 2008 sp2 the format is OK.
    But from BOE CMC or from url reporting the report format have problems.
    Thank you
    Edited by: RUHVER BARENGI on May 18, 2010 9:47 AM
    Edited by: RUHVER BARENGI on May 18, 2010 9:48 AM

    Hi Ruhver,
    Crystal Report documents are heavily dependant on the printer driver for formatting.  If you design the report using a specific default driver than it will be dependant on that printer driver for formatting.  When you publish it to Enterprise, the same printer driver may not exist so the report will be re-formated to fit the default driver on the server, or if no driver exists, it will use an internal method to format the report. 
    Try this as a test.
    1) Open your report in the CR 2008 designer.
    2) Click on the File/Page Setup. 
    3) Select the "No Printer" option.  This tells the report to use this internal method to format the report
    4) Save this document as "Title - No Printer"
    5) Export it to Enterprise
    6) Test this report again.  Formatting should be identical in BOE vs CR.
    Keep in mind that when you change the driver in step 3, the report in the designer will re-format.  You may need to tweak the report again in order for the formatting to be as desired.
    Test this out and if you require further assistance with this, I would suggest opening a message.  This is a common issue and a support engineer could likely help you with this pretty easily.
    Hope this helps,
    Jb

  • Curerency conversion for a Formula in the query designer

    Hi
    I have a ' Financial Loss Formula' in the report. I want to convert this 'Financial Loss' into USD Currency at query designer level.
    Source Currency = SAR
    Target Currency = USD
    So how can i do the curerency conversion for a Formula in the query designer.
    pls let me kow
    kumar

    Hi,
    If you define your query conversion in BW then it is easy to do currency conversion through Bex.What you need to do is use calculated key figure instead formula and do a right click select properties there at the currency translation area you ca select defined currency conversion in BW and your target currency.
    /people/rasim.manavoglu/blog/2007/04/30/currency-currency-currency
    Regards.

  • Crystal Report Formula to select Record  of only MAX Value

    hi Everyone,
    i need a simple crystal report formula to select one department whose recived quantity Maximum.
    for example:
    itemcode    dscription      departmen   op       recived       issue        
      1                   a                ab               2              2              2         
      1                   a                bb              0             2              2          
      1                   a                bc               4             8              2         
      1                   a                cc              2              2              2
    i group by item  the item show just once but i want a formula to show one department who's recived quantity is maximum.i suppress the detail section.and just show the group footer/
    itemcode    dscription      departmen   op       recived       issue        
      1                   a                  bc                 8             14             8 

    Thanks
    Re: Crystal Report Formula to select Record  of only MAX Value
    Abhilash Kumar

  • Link to report an issue with Podcast update

    Someone posted a link so we could report an issue with the Podcast app the last time there were issues with an upgrade.
    I sync with my laptop iTunes. Since this latest update to the app, when I delete a podcast in iTunes on my laptop it will not delete on my i devices during a sync with my laptop. It just grays them out and leaves them on my device. It looks like I can manually delete them, but when you click the edit function to delete them, they are no longer grayed out, so you can't tell which to delete and which to keep.
    I don't do anything with the cloud, because I have limited wifi service and do most of my updating at a free wifi hotspot.
    If someone has that online link on where to report issues, I would appreciate you posting it again and this time I will save it.

    To Contact the Mac App Store Customer Service:
    http://www.apple.com/support/mac/app-store/contact.html?form=account
    To Contact iTunes Store Customer Service:
    Apple - Support - iTunes Store - Contact Us

  • Report for issuing C-Form to vendor

    Hi,
    Report for issuing C-Form to vendor regarding invoice booked against PO.
    Help me out in the above issue.
    Regards,
    R.K

    Hi Anjireddy,
    can you let me the path or T.code for the standrad C-Form and what is the process we has to follow for C-Form for vendor.
    Regards,
    R.K

  • Report generation issue

    what are the diff report generation issues?

    Nvm, solved it just had to set up Reporting studio in order to create an accurate report.

  • REP-1425 report formula DO_SQL error putting value into column

    Hi all
    I have opened a report 2.5 in Oracle9i Reports Developer and, it converted ok. However, when I run the report (paper layout), the message
    rep-1425 report formula DO_SQL error putting value
    into column. Column may not be referenced by parameter
    triggers
    appears. There are several report level formula columns and corresponding placeholder columns that are the cause of this error. The formula has the following :
    SRW.DO_SQL('SELECT RPAD(''DAILY TABLE AUDIT REPORT'',60,''.'')||TO_CHAR(SYSDATE,''DD-MON-YYYY'') INTO :REPORT_TIT FROM DUAL');
    COMMIT;
    RETURN('');
    I can't work out what this error message really means as the column, report_tit is a placeholder column and, the formula column is not a parameter trigger!! The report_tit placeholder is used as a source for a layout field. I noticed that the layout field is defined as a placeholder column in the converted report but in the reports 2.5 version, it is defined as a layout field.
    I can do a work around by replacing the SRW.DO_SQL statement with a normal PL/SQL SELECT statement. However, I wonder if anyone else has had the same problem and, if anyone can help provide an answer as to what this error really means and, also, how I can retain the SRW.DO_SQL statement and/or an alternative work around to the one that I have described.
    Thanks.
    Therese Hughes
    Forest Products Commision

    Hi again
    The firewall proved to be the problem after all! The firewall set in Reports config-files is not used for WebServices, it has to be set within the stub:
    Properties prop = System.getProperties();
    prop.put("http.proxyHost","yourProxyServer");
    prop.put("http.proxyPort","youProxyServerPort");
    I inserted this in my java-code and after some problems (see below), restarting Report Builder turned the trick, the report works now.
    Cheers
    Tino
    Here there mail I set up before I found that restarting Report Builder helped:
    Thanks for your answer, putting in the proxy-settings actually helped some - the same error message is
    popping up, but instantly and not after 10 seconds like before:
    My proxy lines look like this, I also tried "http://proxy.ch.oracle.com", but "proxy.ch.oracle.com" proved to
    be the correct syntax:
    public Float getRate(String country1, String country2) throws Exception
    Float returnVal = null;
    Properties prop = System.getProperties();
    prop.put("http.proxyHost","proxy.ch.oracle.com");
    prop.put("http.proxyPort","8080");
    URL endpointURL = new URL(endpoint);
    Call call = new Call();
    I tested the new proxy-entries by disabling the proxy preference in JDeveloper, so I could verify the added
    proxy-lines in the code work - they do. If I change the proxy to some incorrect value like
    "proxyy.ch.oracle.com", they fail.
    After unsuccessfully trying recompile and re-import of Java classes, I rebuild the report from scratch and
    stumbled over the same problem. Now the question is, whether I'm still doing something wrong with the
    proxy or whether there is another problem after passing the firewall....
    -------------------------------------------------------------------------------------------------------------

  • Crystal Report formula with datediff not working as expected

    We need a Crystal Report formula to display the number of seconds the oldest arriving call has been waiting.  Across multiple resources that can each have an "oldest call".  The database stores a datetime value for the time the oldest call arrived.  If there are no waiting calls, then this field is NULL.  (MSSQL database).  It seemed reasonable to implement this in a formula that 1) discovers the minimum of "oldest call" timestamps in the selected records, and 2) to use "datediff" to produce the difference (in seconds) between the "oldest call" timestamp and current time.
    The first attempt at this relied on "implied" iteration that could be done within a formula.  Something like:
    data: OLDESTARRIVALTIME
           null
           '2014-06-14 08:08:08.000'
           null
          '2014-06-14 08:07:55.000'
           null
    whilereadingrecords;
    datetimevar minArrival;
    if isNull({SVCCLASSMEASURES_VW.OLDESTARRIVALTIME}) = False
                   and minArrival < {SVCCLASSMEASURES_VW.OLDESTARRIVALTIME} then
         minArrival := {SVCCLASSMEASURES_VW.OLDESTARRIVALTIME};
    DateDiff("s", minArrival, {SVCCLASSMEASURES_VW.UTCDATE})
    We tried storing the values of OLDESTARRIVALTIME in an array.  We could see it iterating, but the values in the array only contained
    the column value from the first record.
    This was to solve the problem of screening null values and producing the minimum of the set.
    Since that didn't work (and the web articles seemed to imply this would iterate over all the records, we tried another approach.  This
    time we set NULL timestamps in the table to a timestamp far in the future, so that we could directly apply "minimum" to produce
    the correct "begin" for datediff.
    data: OLDESTARRIVALTIME
              '2030-01-01 00:00:00.000'
              '2014-06-14 08:08:08.000'
              '2030-01-01 00:00:00.000'
              '2014-06-14 08:07:55.000'
              '2030-01-01 00:00:00.000'
    datetimevar minArrival = minimum({SVCCLASSMEASURES_VW.OLDESTARRIVALTIME});
    datetimevar minUTC = minimum({SVCCLASSMEASURES_VW.UTCDATE});
    if minArrival < minUTC then
         DateDiff("s", minArrival, minUTC)
    else
         0
    (minUTC would be current time in UTC)
    So, to start things off, the last formula produces negative numbers!  They hover in negative seconds within a negative minute (-33, -45, etc.).
    That's inconceivable, considering the test for minArrival < minUTC.  Both of the fields are "datetime".
    As it turns out, in the near term, it's most important to get the second formula working.  And, of course, insights into getting the first
    formula to work are welcome as well!
    Have we run into some weird behavior of the "DateDiff" function?
    Thanks!

    If DateDiff is always returning a negative number you could try swapping the dates around in the call to DateDiff - it should look like this:
         DateDiff("s", minUTC, minArrival)    
    Or you could use the Absolute Value of the calculation:
         Abs(DateDiff("s", minUTC, minArrival) )
    As for your first formula, you need to initialize the variable to a value prior to using it in the comparison.  If you don't, its value is null and comparing it against a value won't work.  (See What is Null and Why is it Important for Crystal Reports | SAP BI BLOG for a blog that I wrote about working with nulls in Crystal.)
    You should change your existing formula to something like this:
    whilereadingrecords;
    datetimevar minArrival;
    if OnFirstRecord then minArrival := DateTime(2013, 1, 1, 0, 0, 0);
    if not isNull({SVCCLASSMEASURES_VW.OLDESTARRIVALTIME})
                   and minArrival > {SVCCLASSMEASURES_VW.OLDESTARRIVALTIME} then
         minArrival := {SVCCLASSMEASURES_VW.OLDESTARRIVALTIME};
    Note how I changed the If statement.  Also, you want to replace minArrival with the field value if the field is less than the current value of minArrival - so you need to use ">" instead of "<" in the comparison.  Place this formula in the details section.  It will now show anything because of the semi-colon on the end.  This will ensure that it gets evaluated for every record.
    Now, create a second formula that looks like this:
    whileReadingRecords;
    datetimevar minArrival;
    DateDiff("s", minArrival, {SVCCLASSMEASURES_VW.UTCDATE})
    Place this formula in a footer section - it will not work in a header section.  If you need it in a header section you might be able to take the "whilereadingrecords" off of both formulas and use the "Maximum()" summary function to get the correct value.
    -Dell

  • Reporting annoying issues for the entire Microsoft website (MSDN, forums, all)

    Is there any place where I can report bugs with how the Microsoft web sites behave? I can only find forums and "Microsoft Answers" categories about single products that Microsoft makes, but nothing about the infrastructure itself.
    For about two weeks now, I am required to log into my account every few hours whenever I access any Microsoft website. This includes MSDN help content, forums, or other resources. I need to login after opening the website through F1 help in Visual Studio
    as well as accessing a microsoft.com link from anywhere else like a web search or a direct link from web or an application.
    Auto-complete does not work either. My browser (Firefox) does save the password, but it never fills it into the form. Other people have already noticed that
    Microsoft applies some dirty tricks here. And even if the login is remembers for a moment, it's slow as hell. It takes a second or two to load the login.live.com page (which is not what I wanted to see), then it sits there for some more seconds before going
    anywhere. Other login services like Google or StackOverflow manage to log me in all within one second and most of the time I don't even see it.
    And then there's still that insecure SSL-to-non-SSL-submit warning that only occurs in other browsers then IE. Has anybody cared about that in the last couple years?! I'm not getting it now, probably because I'm not logged in anymore. It all slowly falls
    apart, piece by piece. Next step is probably losing my data or not loading it at all.
    THIS – IS – ANNOYING! And it really makes me feel like I don't want to use Microsoft products anymore (because even good desktop applications are connected to that silly website). I have opened a
    Microsoft Connect ticket for a part of this issue (it's grown bigger since then), but this ticket is totally ignored. If microsoft.com went down, they'd certainly care within minutes or hours. This bug is not even regarded in
    weeks!
    So do I have to write a postal letter to the president of the whole company or do they have support staff for that?! Do they have anybody who is capable of maintaining their website? It's really frustrating how Microsoft has a web presence that is worse
    than what our first-year trainees come up with. It's full of bugs and this is currently only the most relevant one. Do they even care about how the world sees them? Or is Microsoft currently preparing (and even failing) to move out of business?

    The brandings are fun. Here's this same thread in a bunch of flavors:
    https://social.technet.microsoft.com/Forums/en-US/cf19ed78-267b-4313-9c49-bd3027f0eb8e/reporting-annoying-issues-for-the-entire-microsoft-website-msdn-forums-all?forum=whatforum
    https://social.msdn.microsoft.com/Forums/en-US/cf19ed78-267b-4313-9c49-bd3027f0eb8e/reporting-annoying-issues-for-the-entire-microsoft-website-msdn-forums-all?forum=whatforum
    https://social.microsoft.com/Forums/en-US/cf19ed78-267b-4313-9c49-bd3027f0eb8e/reporting-annoying-issues-for-the-entire-microsoft-website-msdn-forums-all?forum=whatforum
    https://social.technet.microsoft.com/Forums/sqlserver/en-US/cf19ed78-267b-4313-9c49-bd3027f0eb8e/reporting-annoying-issues-for-the-entire-microsoft-website-msdn-forums-all?forum=whatforum
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/cf19ed78-267b-4313-9c49-bd3027f0eb8e/reporting-annoying-issues-for-the-entire-microsoft-website-msdn-forums-all?forum=whatforum
    https://social.technet.microsoft.com/Forums/exchange/en-US/cf19ed78-267b-4313-9c49-bd3027f0eb8e/reporting-annoying-issues-for-the-entire-microsoft-website-msdn-forums-all?forum=whatforum
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • I bought and downloaded yesterday what was advertised in the App Store as bring top paid app. It was a kids game "team umizoomi" counting game. However every time I click into the game it crashes out. Who do I contact to report this issue?

    As a top paid app- a team umizoomi game. However the game crashes once opened. Can anyone shed light as to where I can report this fault?

    Contact the app developer here >  http://www.nickjr.com/home/write_to_us.jhtml
    If you don't hear by back within 2 to 3 business days, report the issue to Apple using the email form here.

  • Issue with Output designer and  Konica bizhub Pro 920 Driver:

    Hi, i would appreciate if someone could help me with the following issue:
    I have designed a document using Adobe Output Designer and need to print it on Konica printer which uses above driver. Konica is not included in Adobe Presentment Target List so i am trying to use a Generic Postscript L2 - (PSLEVEL2) presentment target. I want to make few changes to this driver to match it with destination printer settings. e.g Output Order should be Face Up, Input and Output Tray should be Auto, Print position should be Left etc etc. I have tried to edit ICS file but it's not making any sense to me as i dont's know the PCL. Could anyone familiar with a similar situation help?
    Thanks in advance
    Tayyab.

    Hi, i would appreciate if someone could help me with the following issue:
    I have designed a document using Adobe Output Designer and need to print it on Konica printer which uses above driver. Konica is not included in Adobe Presentment Target List so i am trying to use a Generic Postscript L2 - (PSLEVEL2) presentment target. I want to make few changes to this driver to match it with destination printer settings. e.g Output Order should be Face Up, Input and Output Tray should be Auto, Print position should be Left etc etc. I have tried to edit ICS file but it's not making any sense to me as i dont's know the PCL. Could anyone familiar with a similar situation help?
    Thanks in advance
    Tayyab.

Maybe you are looking for