One column result to another column input in webi report

Dear Experts
I have a requirement to show remaining quantity of stock on each row as available quantity. Table is maintained as given below and stock remain same for a whole weak as they get weekly order. User has requested us to bring the necessary difference on webi report.
Can anyone help on how to attain this request?
Table Available (example):
Product           Date          Total Qty     Sold Qty
X                 1/5/2015          60               10
X                 2/5/2015          60               10
X                 3/5/2015          60               10
X                 4/5/2015          60               10
X                 5/5/2015          60               10
X                 6/5/2015          60               10
X                 7/5/2015          60               0
Required: Cross-tab result
Product Breakup
        X                     Total     1/5/2015    2/5/2015    3/5/2015     4/5/2015     5/5/2015     65/2015    7/5/2015
Availablel Stk           60          60                50               40               30          20               10               0
Sold Today                            10                10               10               10          10               10               0
Regards
Kishore Balchandran

Hi Tanveer
Fantastic. Works perfectly. Thank you so much .
Regards
Kishore Balachandran

Similar Messages

  • How to disable drill option for one column in the WebI Report

    Hi,
    How to disable drill option in a column in WebI?
    When the Drill option is enabled by default all the column in the report will have that enabled,
    I ahve added Hierarchy in the Custom hierarhcy list in Universe.
    I am using BOXI3.1 WebI Reports.
    But I wanted only the hierarchy column to have that drill option enabled, rest all column should display text data.
    PLease let me know if you have any idea.
    Thanks in advance.
    Regards

    Cretae the variable at the report level (may be with the same definiton) and then use that variable in the table
    to disable the drill. It will be displayed as normal text object.
    Drill functionality is enabled only on the objetcs coming from the universe.
    Regards,
    Rohit
    Edited by: rohit12 on Mar 11, 2010 10:12 AM

  • How to use one query results in another query

    hi,
    in help.sap I have founded that using variable type replacement path I can use one query results in another query. It is wrote there that I have to choose query name results I want to get in variable definition but I do not know where.
    How I can do this?
    Result I want to get is:
    In one query I have material prices in another material quantities. I want to calculate inventory value (price * quantity). Moreover prices are on plant level, quantities on storage type level. Plant is atribute of storage type.
    Can I do this?
    Regards,
    Andrzej

    Hi Andrzej,
    please check out this thread: Set parameters values depending on other parameters
    I had a discussion about query results as input for another query in there.
    For creating a workbook, just click on the save button after you ran your query in the bex.
    Siggi
    Message was edited by: Siegfried Szameitat

  • Max number of columns in a Webi report

    In a worst-case scenario test, I requested about 1700 columns in a Webi report, but only a little more than 300 appeared in the SQL; a TOAD request for the same 1700 columns was successful. Is there an upper limit for the number of objects that can appear in a Webi report? Is there a parameter that could increase the limit?

    My eyes read the first half and my brian assumed the second half.
    I dont think there is a limitaion on the number of objects that a WebI report can pull.
    The only limitation I know of is the maximum number of column that you can display in the report panel; the max number is 100,000.
    With the limit on the max number of column diplay in a WebI report can be translated into the max number of columns in the query panel.
    This setting is in CMC> Applications>Web Intelligence-->Quick Display mode

  • More than one column input-ready?

    Hi @all,
    I made an input ready query and tested it with one column representing one month. After testing, I copied this input-ready 11 times and set the offset (to plan one year).
    I don´t know why, but the other 11 columns are not ready input. So I decided to delete the offset on a column, so hat I had two identical columns - and both were ready for input while executing!?
    Is this a normal behaviour: It is not possible to plan more than month in one input ready query while executing?
    Thanks in advance...

    You would need to create a new variable for each column, remember, when you use offsets, it is still only calling the original variable 1 time, and add or subtracting via your offsets.
    Cheers!
    /smw

  • Only one column header in delimited report ?

    Hi!
    Is there a way to put only one line of column header on delimited report?
    (By default the Report builder puts the header in every record line...
    as well the delimited_hdr = no command prompt property is not good, because puts out no header)
    Thanks!
    (I use RB 6i)

    Hello,
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwrefex/cmdline/common/bld_delim_hdr.htm
    DELIMITED_HDR command line keyword
    DELIMITED_HDR is used to remove boilerplate text (such as the report header) when running a report with DESFORMAT=DELIMITED or DESFORMAT=DELIMITEDDATA.
    This parameter exists in Reports 6i too .
    Regards

  • Drill function implemented on Measure object column in the webi report

    Post Author: madan kumar
    CA Forum: WebIntelligence Reporting
    Hi,
    I have a small issue in my project.(Maintenance Project)I created a measure object in the fact table of the existing universe and saved and exported to the repository. (Say Measure object is D where D = A-(B+C))I inserted the same object as a column between two measure objects columns of a existing WebI report.
    The report has two hierarchies involved  - each hierarchy has dimension objects involved.I have checked with the hierarchies to make sure that measure object is not involved.The scope of analysis is None for the query.Version is BO XI R2.
    The issue is the Drill function is implemented on that particular new column.The drill function should be applicable only to the two dimension objects involved in the report.But this measure object column is also getting drilled once the Drill option is selected.I had to remove the drill optiion from the Measure object column.
    Can anyone help me on this issue...
    Thanks in advance...
    Madan Kumar

    Sushil
    Thanks for your reply. I did the date diff on the columns. It does not  break into 3 different groups. I am using a function called previous on the date column. So the report is like this
        DATE                           Pervious (DATE)                 Date - Pervious(DATE)
    01-01-2008 01:06              Null                                
    01-01-2008 01:12              01-01-2008 01:06               :06
    01-01-2008 01:18              01-01-2008 01:12               :06
    01-01-2008 01:24              01-01-2008 01:18               :06
    01-01-2008 01:30             01-01-2008 01:24              :06
    01-01-2008 01:36             01-01-2008 01:30               :06
    Basically we are breaking on the Date - Previous ( Date) column which does not work. I am not sure if there is a way to break this. I even tried it in Crystal REports XI and it does not work their either. Any help with this issue with be greatly appriciated.
    Edited by: Srinivasa Prabu on Aug 4, 2008 2:55 PM
    Edited by: Srinivasa Prabu on Aug 4, 2008 2:56 PM

  • Hide columns in a web report

    Hi,
    I am trying to hide the last 5 columns in my report (out of 15) just before the report is rendered. I need to have these 5 columns in my query as I have exceptions defined on them but want to hide them from users. Could you please let me know how I can achieve this in BI7.0 WAD?
    Thanks,
    Praveen

    There are two different steps to be followed.
    - First sort all your hidden fields in BEXQuery. Bring all of them either to top or bottom.
    - Then In WAD, goto Analysis Item properties,  enter 'data column from' and 'data column To  values'
    Lets say you have 4 hidden fileds then select 'data coumn from' = 4
    This way, you can hide the columns in a WAD report.
    Ravi

  • Dynamic Drill Down Column wise in Webi Report

    Hi All,
    I need to have dynamic drill down functionality in my webi report.
    For example
    I have Columns;
    Fiscal Year, Fiscal Quarter, Plant, No. of PO line (4 columns).
    Drill down on Plant level.
    When i click on plant a new column should be added in webi report.
    Now my report should look like this;
    Fiscal Year, Fiscal Quarter, Plant, Buyer, No. of PO line (5 columns)...(New column Buyer is added)
    How to do this.
    Please help me guys.
    Thanks in advances!!!
    Regards,
    Gaurav Nayar

    Hi,
    What you want is possible as long as the table formatting you have helps.
    What you can do is add a column to the table.  Then use the following formulas
    Formula in Column Name Cell:
    =If(Drillfilters([Plant])="") Then "" Else Nameof([Buyer])
    Formula in Column Values Cell:
    =If(Drillfilters([Plant])="") Then "" Else ([Buyer])
    Now, what I meant by "as long as your table formatting you have helps" is that, you need to change the border colors of the extra column to match with the report blank area, means the borders should be white in colour and the column width should be autofit and they wont be visible as they are white, once you drill on plants, the values come up.
    So if your table has no border, that will be perfect.
    Hope this helps.

  • Variable input in Webi Report

    Hello Experts,
    I have a requirement to create a Webi report which has 3 key figure columns.
    While executing report It should ask for input variable fiscal year/period.
    Now 1st key figure colum should show Amount for the fiscal year/period I entered as an input variable.
    2nd column should show Amount for previous YTD for the fiscal year I entered.
    For Ex. if I enter 04.2009 it should show amount for 01.2009 - 04.2009 and if I enter 04.2008 then it should show amount for 01.2008-04.2008.(based on the variable input I provide)
    3rd column should provide the Amount <= ficsal period I enter as an input.
    Can anyone guide how would I achieve this?
    Regards,
    Nirav Shah

    Hi Nirav,
    what is the granularity of the time dimension of your data in your report? Generally you make sure that you fetch all required in your report and then use formulas (applying the if operator on the time field of your data and the value returned from your prompt) to calculate the desired key figures.
    Regards,
    Stratos

  • Sum one Field based on another's input

    I have a question. Is it possible to have a specific field populated with specific number based on the input of antother field. Example.  In Field #10  I have to input a number.  If the number is 1-365 it's an ( F) If the number is 366- 392 it's an ( D) if it's 393-460 its an (C) if it's 461-500 it's an ( B) if 501-700 it's an (A).  So In Field  #11  I want that to populate the Letter based on the input of the number input in field#10.  Is that possible in Javascript or How?
    Thank You in Advance

    Sure it's possible. The custom Calculate script for the text field could be:
    (function () {
        // Get the field value, as a number
        var val = +getField("Text10").value;
        // Set this field's value
        if (val < 366) {
            event.value = "F";
            return;
        if (val < 393) {
            event.value = "D";
            return;
        if (val < 461) {
            event.value = "C";
            return;
        if (val < 501) {
            event.value = "B";
            return;
        if (val < 701) {
            event.value = "A";
            return;
        // Default
        event.value = "";

  • Calculate number of columns dinamically in webi report

    Hello,
    I have the following problem.
    I have to develop a report, that it has to show a table that their columns have to be data intervals, and their rows have to be diferent rates.
    Example.
    29/01/2011
    30/01/2012
    31/01/2013
    01/02/2014
    29/01/2012
    30/01/2013
    31/01/2014
    23/03/2014
    Capital
    200
    300
    400
    500
    Amortization
    20
    10
    30
    30
    Interest
    2
    2
    5
    4
    Fees
    0
    0
    0
    0
    The report has 3 prompts: Start Period Date, End Period Date and Periodicity
    Where  Start Period Date and End Period Date are the interval of dates
    and Periodicity can be one of that values "Annual", "Semiannual", "Quarterly", "Monthly", "Weekly" and "Daily"
    In the example table the promts are:
    Start Period Date: 29/01/2011 (see it in the first column, first row)
    End Period Date: 23/03/2014 (see it in the last column, second row)
    Periodicity: "Annual"
    The problem is how to calculate dinamically (in execution report time) the number of columns to show in the report and their intervals dates.
    The facts view has the following structure (the BBDD is sql server):
    View: loans_schedule
    Columns:
    loan_id --> id to another view named loans that contains all the credit operations.
    reference --> id of one reference in the operation
    maturity_date --> date
    Capital --> rate
    Amortization --> rate
    Interest --> rate
    Fees --> rate
    Ex of view data (note that the report has to aggregate by maturity_date in the date intervals of the report table):
    Loan_id
    Reference
    Maturity_date
    Capital
    Amortization
    Interest
    Fees
    1
    1312PR
    30/01/2011
    100
    10
    1
    0
    2
    1312PR
    30/07/2011
    100
    10
    1
    0
    3
    1312PR
    30/01/2012
    100
    5
    1
    0
    4
    1312PR
    30/07/2012
    100
    5
    1
    0
    5
    1312PR
    30/01/2013
    100
    0
    0
    0
    6
    1312PR
    30/07/2013
    400
    30
    5
    0
    7
    1312PR
    30/01/2014
    500
    30
    4
    0
    View: loans
    loan_id --> link with loan_id of loans_schedule view
    internal_reference --> id of the operation
    reference --> 1 internal reference can have 1 or N references
    Operation beginning date --> when operation starts
    Operation end date --> when operation ends
    The problem is how can generate dinamically the number of columns and agregate the rates into each column.
    I have achieved to generate dinamically the number of columns by creating a table (isolated in the universe) that has a dimension and its values are a sequence the numbers (from 1 to 1000) and this let me to show dinamically the number of columns regarding the interval of dates introduced by the user through the report promts.
    The problem is when I try to agreegate the rates information to show in the corresponding column...
    I do the following formula:
         if maturity_date between (Column_Start_Date and Column_End_Date) then
              [Rate]
         else
              0
    But this returns always 0, and I think that the cause is that the table that I use for calculating the columns are not linked with my facts view.
    When I drag the "Maturity_Date" to the table that has the columns dinamically, Webi tells me that the objects are incompatible.
    Can you help me?
    Note: it is posible to add columns to the views if it helps to solve the problem.
    Thanks
    Pilar

    Hi,
    There are no direct oracle function that could be used to get the desired results.
    However you could try using something like
    SELECT COUNT( *)
    FROM
    (SELECT ROWNUM RNUM
    FROM ALL_OBJECTS
    WHERE ROWNUM <= TO_DATE('&1') - TO_DATE('&2') + 1
    WHERE TO_CHAR(TO_DATE('&2') + RNUM - 1, 'DY') NOT IN('SAT', 'SUN');
    Give the two date ranges that you want to look for with the highiest one first. i.e say for example - 01-FEB-2011 to 31-DEC-2010 would give the working days in JAN. However note that you might have to check for holidays related to that country/region (which could be added as a seperate table).
    If you need to get an extra day in addition to the weekends, please give the dates accordingly
    SQL> SELECT COUNT( *)
    2 FROM
    3 (SELECT ROWNUM RNUM
    4 FROM ALL_OBJECTS
    5 WHERE ROWNUM <= TO_DATE('01-FEB-2011') - TO_DATE('01-JAN-2011') + 1
    6 )
    7 WHERE TO_CHAR(TO_DATE('01-JAN-2011') + RNUM - 1, 'DY') NOT IN('SAT', 'SUN');
    COUNT(*)
    22

  • Error in switching from one database location  to another database location in Crystal Reports using JSP

    Hi,
    Please help me in resolving the issue while changing the database dynamically in crystal reports using JSP. I followed the below link to change DB connection dynamically.
    CRJava Modify DB Location
    Please help me on this.
    While switching from one database to another i found the issue.
    dbController.replaceConnection(oldConnectionInfo, newConnectionInfo,pFields,replaceParams);
    The Error is:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Subreport does not exist.---- Error code:-2147467259 Error code name:failed
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2284)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:732)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:166)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:528)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:526)
        at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:524)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:423)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:480)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:421)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:351)
        at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
        at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
        at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.char(SourceFile:220)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.new(SourceFile:240)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.do(SourceFile:452)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.if(SourceFile:429)
        at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.performDo(SourceFile:156)
        at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.a(SourceFile:106)
        at com.crystaldecisions.sdk.occa.report.application.an.a(SourceFile:65)
        at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.a(SourceFile:1921)
        at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.setCurrentValues(SourceFile:2237)
        at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.setCurrentValue(SourceFile:2328)
        at org.apache.jsp.DynamicDB_jsp._jspService(DynamicDB_jsp.java:255)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
    Caused by: com.crystaldecisions.reports.reportdefinition.ReportModificationException: Subreport does not exist.
        at com.businessobjects.reports.sdk.requesthandler.ParameterRequestHandler.a(SourceFile:229)
        at com.businessobjects.reports.sdk.requesthandler.ParameterRequestHandler.for(SourceFile:214)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1492)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:660)
        ... 47 more
    Any help Appreciated.
    Thanks
    Penchal

    Do you have subreports in your reports?
    If yes, set the connection info for the subreports as well.
    Additionaly refer to the below discussion
    http://scn.sap.com/thread/3153289
    As you are using Crystal reports for ecllipse runtime libraries to build your jsp, you would need to post your dicussions in the below forum to get better response.
    http://scn.sap.com/community/crystal-reports-for-eclipse
    The above space is dedicated for the issues with crystal reports for ecllipse.
    Thanks,
    Prithvi

  • Removing Columns in Web Reports

    Hello Experts,
    I would like to remove a column in a We report. I would like to remove the first column in a web report it should be this way by default. Is there any way to do this. Please do help me out....

    Hi Sweatha,
    you can try the following step:
    In the specific properties of your table web item you can set the "Data Display from Value Column" to 2. This should work. But if you use any graphics this will have no effect to your graphics. Otherwise i would recommend to create a view in the Bex Analyzer and hide the column in the view. Then you can assign the view to your data provider.
    Regards,
    Adem

  • How can I Move data from one column to another in my access table?

    I have two columns, one that stores current month’s data and one that stores last month’s data. Every month data from column 2 (this month’s data) needs to be moved to column 1 that holds last month’s data. I then null out column 2 so I can accumulates this month’s data.
    I understand how to drop a column or add a column, how do I transfer data from one column to another.
    Here is my trial code:
    <cfquery name="qQueryChangeColumnName" datasource="#dsn#">
      ALTER TABLE leaderboard
      UPDATE leaderboard SET  points2 = points3
    </cfquery>
    Unfortunately, I get the following error:
    Error Executing Database Query.
    [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error in ALTER TABLE statement.
    How can I transfer my data with the alter table method?

    I looked up the Access SQL reference (which is probably a
    good place to start when having issues with Access SQL), and
    it suggests you probably need a WHERE clause in there.
    I agree the documentation is a good place to start. But you should not need a WHERE clause here.
    Too few parameters. Expected 1.
    If you run the SQL directly in Access, what are the results? At the very least, it should provide a more informative error message..

Maybe you are looking for

  • After deploy into weblogic server while running the application-404 Error

    Hi All, Created an ADF application and Deployed this application to Weblogic server. I am getting the below error After deploy into weblogic server while running the application I am able to run this application well in JDeveloper using the Integrate

  • No infotype found in personnel action

    hello,         i hv created one action in PA(personnel administration). I wanted that action has to come in pa40 screen. so i changed the uger group in the parameter coloumn. but while saving i saw an error message. it did not allow me to save. it wa

  • How can I sort a collection of array with different object types in it ?

    Hi all, I have a collection of ArrayList; each array contains, at the first position, the same object type. I'd like sorting the collection by the name contained in the object at the first position of each array. Any suggestion ? Cheers. Stefano

  • Phone requesting to be restored but can't unlock!

    My phone lost coverege became stuck on the apple icon screen, then a few hrs later requested that it be restored and attached to iTunes in order to do this.BUT.... my laptop can't communicate with it as it tells me that the phone is locked by a pin c

  • Fire fighter intial log on

    1. When I try to log in to FF.. i am told " contact administrator for inital log on " 2. So far OK...but the  problem is I am  the adminstrrator !! --what does the admin need to  do ? Thnaks