Report with Current and Prior Year

I'm looking to create a report with fields Report Group, Year, and Actual Dollars.  Where the Year includes the current year and the prior year (NOT user input).  The format would be:
Report Group | | Year | | Actual Dollars
Product Revenue | | 2008 | | $100
Product Revenue | | 2009 | | $200
etc
Sounds simple enough but I'm having difficulty getting it to work since I need the Year field in the report (and I'm new to WebI).
Thanks for your help,
Dave

Hi David,
I'd suggest you use a Query filter (or a report filter) to retrieve only rows that match this criteria on years. Since you need two values, I may have to use the filtering operator 'in list'
Difference between those two is query filter will only retrieve to values where year = 2008 or 2009 from the datasource (so if you want to change the year values, you will have to refresh document), while report filters are active on the query output (which means that no refresh from the DB is required if you need to change values), which might bring a better experience if you need interactivity in the report. Moreover, if interactivity is important and you are working with WebI XI 3.1 SP2, you can embed these report filters into Input Control, and command the filter from a graphical widget like check boxes, to let user control which years he wants to view/ compare in the table (or chart).
Hope that helps,
David.

Similar Messages

  • Calc with Current and Prior Periods Data

    <p>Hi Everyone -<br><br>I would like to come up with two types of calculations usingamounts from prior periods (dynamically)<br><br>1. "Net Sales" (current period) + "Net Sales"(current period - 3 months) + "Net Sales" (current period- 6 months) + "Net Sales" (current period - 9 months)i.e. If current period = June ... Net Sales Amount in June + NetSales Amount in March + Net Sales Amount in December of the yearbefore + Net Sales Amount in September of the year before.<br><br>2. Sum "Cash" for the past 12 months (current period tocurrent period - 11)<br><br>In both cases, we'll need to handle getting amounts from the prioryear, as well.<br><br>I can feed the "current period" in thru a sub var, yet(assuming that is the correct function, I am not sure how to set up@PRIOR with Current Period - n Periods...<br><br>I appreciate your help. Grazie ...lb<br></p>

    Hi David,
    I'd suggest you use a Query filter (or a report filter) to retrieve only rows that match this criteria on years. Since you need two values, I may have to use the filtering operator 'in list'
    Difference between those two is query filter will only retrieve to values where year = 2008 or 2009 from the datasource (so if you want to change the year values, you will have to refresh document), while report filters are active on the query output (which means that no refresh from the DB is required if you need to change values), which might bring a better experience if you need interactivity in the report. Moreover, if interactivity is important and you are working with WebI XI 3.1 SP2, you can embed these report filters into Input Control, and command the filter from a graphical widget like check boxes, to let user control which years he wants to view/ compare in the table (or chart).
    Hope that helps,
    David.

  • Report on Current and Last Year Sales

    Hi ,
    I have a requirement to create a report which would display in one column sales from current fiscal year/period and 2nd column sales from last fiscal year/period at the same time
    Please guide.

    Hi,
    You can achieve this by creating two selections in columns in query designer.
    First one restrict the key figure with current Fiscal period.
    Second restrict the key figure with Fiscal year with customer exit and -1 as offset value.
    Hope this helps........
    Rgs,
    Ravikanth.

  • Calculationg current and past year for a Analysis report in obiee 11.5

    Dear All,
    Need some help here.
    I am a beginner in OBIEE and need some help to build a report in obiee 11.5 as described below;
    I need to create a PnL report such that I show current years profit and loss AND prior year profit and loss figures in a report side by side for comparitive analysis for user.
    My data is an essbase database, and have a years dimension with values 'current year' , 'F08', and 'Prior Year'. and other measurs such as revenue, % revenue, gross profit, cost of sales, operating expenses etc. (I am using 107 from oracle downloads) for obiee 11.5
    There is another dimesion called time period with members as Q1, Q2, Q3, and Q4, and each having respective months (e.g. Jan, Feb, Mar for Q1 etc)
    I also have a scenario dimension with members as Actual, plan, Forecast, Wht -if..
    Now I need to create a this report.
    I created this report based on approch no 1 below;
    Appraoch 1
    - Create two analysis reports with all the above columns.
    - specify filter for year column equal to current year for first report
    - specify filter for year column equal to prior year for second report
    - create a dashboard with a promt (radio button) based on column scenario
    - create two sections placed side by side below the promt and place above two reports in those two sections so that they appear side by side
    Nw when I run this dashboard, it works fine, and shows me the current and prior data for actual, plan etc...
    BUT....
    I need to create the same reports using a single analysis report instead of two separate reports with hardcoded values for year filter.
    Now I tried use AGO funtions on but , it requires a column with numerical value so that it can calculate the past year, but in my case year is a column hving text value and hence i cant use it.
    I would like to know how to build such a report using any other variable or function or any rpd level modifitions.
    If I had a year dimesion with numeric values, then how would I use to calculate the past year once u select current year .?
    Let say values are 2012, 2011, 2010 etc. so If I select 2012 as current year, I should get data for 2012, and 2011, if I select 2011, then I should get data for 2011 ,and 2010.
    Please help me to build logic either at analysis level or at repository level
    Thanks and Regards
    Santosh

    Hi,
    As per I understand your requirement,
    In Pivot table, place 'Year' in pivot columns instead of rows.
    Create an SQL filter on Year and put the condition as:
    *"Year" BETWEEN @{Presentation_Variable} - 1 AND @{Presentation_Variable}*
    You will get the result for selected year and the previous year.
    Hope it helps..
    Regards,
    A.K.

  • Need to apply MTD logic for actual and prior year

    Hi Team,
    We are facing an issue with MTD calculation based on formula variables,
    Issue: MTD Only (Actual and Prior Year) – show the same value for MTD. 
    Requirement:
    When the query is run for a selected month, the query should be run for that month based on the Last TECO Date (Input Variable).
    • For example, dashboard is run for January 2014, the calculation of MTD should be based on the Last TECO Date : i.,e if I enter older date/month (not current date)[ 1/20/2014 means it should calculate for 1/1/2014 – 1/31/2014]
    • If the dashboard is run for the current month, the MTD calculation should be on Last TECO Date = 1st day of month – Current Day
    The above same calculation logic should be applicable for MTD prior year: instead of the input variable value, the value for previous year should be considered
    Final Calculation:
    If Last Labour Date is blank, 0, else Last TECO Date – Last Labour Date (by individual line item)
    Here we created two formula variables for last teco date and last labour date.
    Also created 2 Customer Exit variable for MTD Actual calculation.
    We have pulled the formula variable and CE variable into the selection and created a new CKF (Teco date).
    We have done the final calculation on the basis of the ( (labour date ==0)*0 + last teco date-last labour date )for MTD ACTUAL.
    MTD Prior Year-
    when have done calculation on the basis of the( (labour date ==0)*0 + last teco date-last labour date )for MTD Prior year by giving offset -12 to the value.
    Here for MTD Actual and MTD Prior year values are coming same  ,we tried with by doing customer exit variables as well, Still values are coming same.
    please give your valuable inputs/suggestions to proceed for this requirement .

    I assume the Sales measure is a monthly measure. The Prior year calculation as I described will give you the sales for the same month in the previous year when selecting month in your report. When selecting year it will add up all months of the prior year until now and you will indeed see the Prior year YTD.
    If you want to see the total sales for the previous year you have to use the same calculation as 'Prior year' and map it to the year level of your time dimension. This will work as a 'partition by year'.

  • How to use the Time Variants PYTD and Prior Year Annual?

    Hi,
    We have a time dimension which has the generic columns i.e Month, Year.
    We need to calculate the Time variants for the Facts Say Sales. I was able to calculate the Prior Month, Current YTD
    I have some doubts regarding the other variants:
    1. Prior Year : Does this include the Prior Year Annual?
    2. Prior YTD: How to calculate it?
    Somehow I am getting the same results for PYTD and Prior Year.
    The formula used are :
    Prior Year:
    AGO(Sales, Year, 1)
    PYTD:
    AGO(Sales CYTD, Year, 1)
    Has anybody encountered similar issue?

    I assume the Sales measure is a monthly measure. The Prior year calculation as I described will give you the sales for the same month in the previous year when selecting month in your report. When selecting year it will add up all months of the prior year until now and you will indeed see the Prior year YTD.
    If you want to see the total sales for the previous year you have to use the same calculation as 'Prior year' and map it to the year level of your time dimension. This will work as a 'partition by year'.

  • Previous and Prior Year Date Values

    How do I get the Previous, Prior year month and Prior year previous month values from a given date?
    Ex: Input would be: 05/01/2008
    The output should be:
    05/01/2008 - Current Month
    04/01/2008 - Previous Month for the Current Year
    05/01/2007 - Prior year current Month
    04/01/2007 - Prior Year Previous Month
    Please let me know..

    Hi,
    Then you'll probably do a self-join. In one copy of the table, you'll get the data from date d1, and in the other copy, you'll get the data from date ADD_MONTHS (d1, -12).
    If, ultimately, you are going to show four sets of figures (from four different rows representing four different dates) on the same output line, then you may find it more convenient to do a pivot rather than a self-join. Search for the buzz word "pivot" and you'll get lots of examples. You might start by selecting four rows:
    WHERE   dt IN
            ( d1
            , ADD_MONTHS (d1, -1)
            , ADD_MONTHS (d1, -12)
            , ADD_MONTHS (d1, -13)
            ) ...and then pivoting that data into four columns:
    SELECT  ...
    ,       MAX (CASE WHEN dt = d1                   THEN val END) AS this_month
    ,       MAX (CASE WHEN dt = ADD_MONTHS (d1, -1)  THEN val END) AS one_month_ago
    ,       MAX (CASE WHEN dt = ADD_MONTHS (d1, -12) THEN val END) AS one_year_ago
    ,       MAX (CASE WHEN dt = ADD_MONTHS (d1, -13) THEN val END) AS thirteen_months_ago
    ...

  • Selective deletion in DSO  for current and previous year

    Hi,
    Can any one give an idea how can I selectively delete current and previous year data (only). is there any process type that can help me in process chains. This should be before loading a fresh load for the same period. this is for psodo delta.
    or
    any other alternative, plz. suggest.
    Thanks
    ganesh
    Edited by: Ganesh on Jul 7, 2008 12:08 PM

    Hi,
    If you have any date value example posting date or 0CALMONTH.., you can filter the date using the selection conditions and selectively delete the data.
    Process:
    Manage of DSO->Contents Tab->Selective (with delete Icon)->Deletion selections->give the period->Execute->Start->Yes->continue.
    Hope this helps..........
    Rgs,
    I.R.K

  • Enhancing Customer Reports with Commands and Parameters

    Hi All,
    I am implementing the mentioned tutorial. I have succesfully deployed the AccessStatisticApplication PAR on portal. While scheduling the report from Content Management -> Reports -> Running Reports, it is giving error "<b>Can't find bundle for base name com.sap.netweaver.km.stats.reports.DocumentAccessReport, locale en_US</b>". Has anyone faced the problem, can anyone please help to remove this runtime error.
    Related Link: <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d28a67b-0c01-0010-8d9a-d7e6811377c0">Enhancing Customer Reports with Commands and Parameters</a>
    Regards
    Poonam

    <i>True, the application property service is apparently not to be used for a real-life scenario</i>
    You can definitely use the application property service in production scenarios - it's used by other components in a standard KM install, i.e. out-of-the-box.
    <i>in our case it forced the server down with deadlocks. </i>
    This should definitely not happen! Did you get SAP support to take a look at this? Was it the most popular documents report that caused this, or some other custom code? There should be no such problem with this service, since it's been around for quite some time and in production use.
    <i>
    Even if the code sample is not to be used for real-life scenarios it could at least make use of something else than the application property service which isnt't optimal for this use.
    </i>
    The application property service is good for a lot of scenarios, so it is realistic to use in in real-life scenarios. The only time I have seen this approach (storing the number of hits on documents in the database) fail is in very high-load scenarios.
    <i>Could you provide me with a link to the documentation for the logging framework?</i>
    <a href="http://http://help.sap.com/saphelp_nw70/helpdata/en/d2/5c830ca67fd842b2e87b0c341c64cd/frameset.htm">Logging and Tracing</a> on help.sap.com and <a href="https://help.sap.com/javadocs/NW04S/current/en/index.html">Logging and Tracing API (J2EE Engine API)</a> for NW 7.0.

  • Stock Aging report with current date

    Dear Experts
    Can we able to take stock aging report with current date?
    Thanks&Regards,
    Vinoth Raj K

    You're posting in the Portuguese B1 space.
    You might want to post in the English one: SAP Business One Application

  • Is there any ECC report with PurchOrder and Purchase Requisition Selection

    Hi there,
    for one of my BI report reconciliation with ECC requirement, I would like to know how many POs are there without Purchase requisitions, same way want to know how many POs are there with Purchase requisition.
    I know some tables where we can find this info, unfortunately I cannot ask my user to go and check in Tables for Acceptance testing. So I am looking for any standard ECC report with POs and PRs as Columns
    Due to time constraints, I cannot go build any ABAP queries in ECC at the moment,
    Any insights are greatly appreciated.
    Thanks

    Hi Curious ,
    Check if the following link is helpful. The link is from the SDN Wiki for creating a Z Report in R/3 for Purchase Requisition.
    http://wiki.sdn.sap.com/wiki/display/ABAP/PurchaseRequisitionDetail+Report
    Or try the following transactions:
    ME5A - Purchase Requisitions: List Display
    ME53  - Display Purchase Requisition
    ME53N - Display Purchase Requisition
    Hope this helps your cause.
    Regards,
    Kush Kashyap

  • I need to make a report with graphs, and generate an exit file to word

    I have to do the acquisition for a laboratory and to make inmediately a report with graphics and a constant test about the method of the experimentation

    Probably your best bet is to use ActiveX and control Word from LabVIEW, this way, you can act as you were using Word directly, automating all the steps to create your report. Look for examples in the developer zone, although there will be more examples relating Excel, that can show you the way to act. If you need to use this intensively, i think NI has created a Word toolokit that you can buy.
    For any particular question, just ask.
    Good luck

  • Connecting Crystal reports with dashboards and passing parameters

    Hi ,
    Can anyone have any document on Connecting Crystal reports with dashboards and passing parameters.
    I would appreciate for this.
    Thank You.

    Hi Ganesh,
    You can refer the following links for connecting Crystal reports with dashboards:
    Dashboard integration in Crystal Reports using flash variables | Clariba Blog
    https://websmp102.sapag.de/~sapidp/011000358700001426732009E/Xcelsius_EmbeddingInCR2008.pdf
    http://events.asug.com/2012BOUC/0315_Integrating_SAP_Dashboards_into_SAP_Crystal_Reports.pdf
    Regards,
    Renu

  • CURRENT YEAR SALES DATE PARAMATER AND PRIOR YEAR SAME DATE RANGE

    I am pulling data from a SQL view dbo.view that has current and historical SOP data by line.  The date paramater is a date range,  uppr date and lower date formulas are in the report.  I need to include prior year SOP data for the same prior year date range in the detail.  I have tried adding the view in twice with no luck, just duplications.  Ultimately I want to supress the detail and only show the totals by customer so it is comparitive.  Thanks for your help.  Jayne

    OK
    lets simplify it
    get a test data source with some simple dates in it.
    get the report logic working.
    it looks like you have the right formula ideas but lets go for
    @upperthisyear
    @upperlastyear
    @lowerthisyear
    @lowerlastyear
    then assuming a date field of {table1.date}
    the record selection would be
    if (@upperthisyeare > {table1.date} and @lowerthisyear < {table1.date}) or (@upperlastyeare > {table1.date} and @lowerlastyear < {table1.date}) then 1 else 0
    I would test this by using it as a formula field with the test data.

  • Does Lion work with Turbotax 2010 and prior years?

    Does the current year version of TurboTax work with Lion.  Also are there any "cut-off" prior year compatibility issues.  Intuit has not posted a confirmation on their website.

    Thanks baltwo.  I went to the Intuit discussion forum and found a tip which led to solving my specific problem discussed above.  I was able to resolve the problem by turning off the Resume function in TurboTax per the following link:
    http://osxdaily.com/2011/08/01/turn-off-resume-per-app-in-mac-os-x-lion/
    Specifically, I typed the following into Terminal:
    defaults write com.intuit.turbotax.2010 NSQuitAlwaysKeepsWindows -bool false
    I had to recover my original file from a backup, but now all is well with making changes, saving the file and reopening the file.

Maybe you are looking for

  • Can I upgrade my Laptop Hardware?

    I have HP pavilion G6 Notebook Q6470PA#ACJ is product code Inter Core I5 2340M 2.4 GHz and graphic card is AMD 6470M Hard Disk is 600 GB Can I upgrade My grpahic card or Hard Disk space? If yes , how can i do it?

  • How come when I try to open an app on my phone does the screen just blink and the app not open?

    How come when I try to open an app on my phone does the screen just blink and the app not open?

  • J2me - servlet : data not coming to servelt

    Hi all, I'm trying to parse data to servlet from a Midlet. but servet not recieved data. Midlet code segment is: void invokeServlet(String url) throws IOException {         HttpConnection c = null;         InputStream is = null;         OutputStream

  • Report Designer - New Page

    Hi, We have created a report designer report that uses a Cost Center hierarchy. We want to display each node of the hierarchy on a new page. There is an option to select Page Break Before/After for the hierarchy header. If we select Page Break Before

  • Adobe Patch Installer error "updates not applicable"

    i have photoshop cs6 and i am trying to get dynamic link update 1.0.1.  i am frustrated and am about to destroy my computer. what can i do to get thsi fixed ? this is how the error looks like: now am trying to get an update for photoshop cs6 because