Variance Formula: Cost of Service between 2 years

Good day everyone,
I am using BOXI r2 sp 4.
The following variance formula will ONLY work if the client selects the time frame of 1 year.  For example 2008-01 to 2008-12
=<Cost of Service>Where{<Billing Year Month>=UserResponse{Enter Billing Year Month Start:"} - <Cost of Service>Where{<Billing Year Month>=UserResponse{Enter Billing Year Month End:"}
PROBLEM: the client must select 2 years  For example 2007-01 to 2008-12
But none of my formulas work.
=<Cost of Service>Where{<[Billing Year Month>=UserResponse{"Enter Billing Year Month End:"}}-<Cost of Service>Where{RelativeDate{<Billing Year Month>;-365}}}
or
=<Cost of Service>Where{<Billing Year Month>=UserResponse{"Enter Billing Year Month End:"}}-<Cost of Service>Where{RelativeDate{<Billing Year Month>;-365)=UserResponse{"Enter Billing Year Month End:"}}
or
=<Cost of Service>Where{<Billing Year Month>=UserResponse{"Enter Billing Year Month End:"}}-<Cost of Service>Where{<Billing Year Month>=UserResponse{"Enter Billing Year Month End:"}}Where{RelativeDate{<Billing Year Month.;-365}}
Someone please put me out of my misery.  
Wannetta

Hi Gentlemen,
Thank you for all of your patience, guidance, and expertise trying to create this formula on the report level. 
Could either one of you explain the significance of creating these types of formulas at the semantic level vs. the report level?  I have been working on the following formulas and reports to varying degrees of success.  Once finalized, these templates may be utilized as Opendoc reports between 2 universes.
After a great deal of research, I am inclined to think that these formulas need to be created at the semantic level rather the report level.  What is the best way to argue this case to my design team?
REPORT SPECS:
I. FORMULAS:
These reports will have formulas built in for variance analysis.  These variants would compare the values versus different time period or constraints (budgets, forecast, etc.):
Vs. Prior Year, Quarter, or Month
Vs. Budget
Vs. Forecast
Vs. Sequential time period/OPEN (This one essentially means the user can pick the time period to compare)
Vs. Productivity / Attributions (more detail needed)
$ Variance
% Variance
Rate  = Current Rate - Previous Rate * Current Volume (Cost/Unit)
Volume = Current Volume - Previous Volume * Previous Rate
II. REPORTS:
Report Structure u2013A: Twelve month summary trend report
This report is intended to summarize the product data for any twelve (12) periods.  Reporting periods will be monthly, with the maximum capacity for twelve (12) months.
Report Structure u2013 B: Two period variance report
This report is intended to summarize the product data for any two (2) periods and provide variances for each of the product/service details.
Reporting periods will be month vs. month, quarter vs. quarter, YTD vs. YTD or year vs. year. Month vs. month and quarter vs. quarter can be year-over-year comparisons (1Q08 vs. 1Q09) or sequential period comparisons (4Q08 vs. 1Q09).
Report Structureu2013C: Two year, four quarters and total year report
This report is intended to summarize the product data for any two (2) years by quarter and total year.
Reporting periods will be monthly, with the maximum capacity for twelve (12) months.
All of these reports will generate tabs for the total cost, total volumes and average rates per product for the selected periods.
REPORT BUILDER RESEARCH:
In addition to all of your great help, I have found many formulas that would appear to be similarly useful for my requirements, yet my design team has indicated otherwise.  For example, I found the following code samples within this and the design forums:
Compare Prompted Period to Previous
DESIGNER LEVEL: create new Filter object
@Select(Sales Dates\Sale Year) = @Prompt
>('Select a Year','Sales Dates\SaleYear',mono,comstrained)OR@Select(SalesDates\Sale Year)+1 = Prompt('Select a Year','N','Sales Dates\Sale Year',mono,comstrained)
This will return the Prompted year as well as the previous year.
UNIVERSE FORMULAS:
count CYTD (Current Year to date)
count PYTD (Previous Year to date)
count CMCY (Current Month Current Year)
count CMPY (Current Month Previous Year)
count CYTD 
>CASE WHEN data_year=@Prompt('Enter Year','N',,,) and data_month<=@Prompt('Enter Month','N',,,)THEN sales_figures END
count PYTD 
>CASE WHEN data_year=@Prompt('Enter Year','N',,,)-1 and data_month<=@Prompt('Enter Month','N',,,) THEN sales_figures END
count CMCY 
>CASE WHEN data_year=@Prompt('Enter Year','N',,,) and data_month=@Prompt('Enter Month','N',,,) THEN sales_figures END
count CMPY 
>CASE WHEN data_year=@Prompt('Enter Year','N',,,)-1 and data_month=@Prompt('Enter Month','N',,,)THEN sales_figures END
Hereu2019s a sample  problem that my design team encountered:
Using a derived table; one of my designers attempted to create the following object, $ Var (A-B) based upon UserResponse for any time frame which he said would not work.  Can someone identify the problem here?
SELECT DISTINCT
(T_FA_DATA.BILLING_YEAR_MONTH) as BILLING_YEAR_MONTH,
(select T_FA_DATA.COST_OF_SERVICE from T_FA_DATA where T_FA_DATA.BILLING_YEAR_MONTH=@variable('Enter Billing Year Month End:'))-( select T_FA_DATA.COST_OF_SERVICE from T_FA_DATA where T_FA_DATA.BILLING_YEAR_MONTH=@variable('Enter Billing Year Month Start:')) as SEQ_VAR
FROM
T_FA_DATA
Can someone provide me with a realistic and CRITICAL assessment of this request?   I know itu2019s complex but I would greatly appreciate it.  In the end, we will create over a dozen reports which, I think also indicates the need for objects at the universe level.
Thanks!

Similar Messages

  • Variance Formula Correction

    Hi folks,
    I use BOXI r2 sp 4. I need to build a crosstab report with the following requirements:
    1) Create a variance report structure
    2) End user should select two periods to compare (i.e. 1Q08 vs 1q09),
    3) The report should reflect the variance of the most recent period (a) compared to the older period (b), if a is greater than b, then the variance (difference) should be a positive number (a minus b = var),
    4) A column should be created to reflect the dollar variance
    5) Another column for the percentage change (var divided by b) and show one decimal place on the percentage (i.e. 10.1%)
    6) There are two period prompts Billing Year Month using OR
    7) There is one Business Segment prompt In List
    The first 6 requirements can be met with 1 query and it returns the correct variance and percentage change.
    In order to add the 7th requirement, I added another query but the variance and percentage change are no longer correct.
    The queries come from the same universe and folders thereof.
    Can someone please correct this formula and explain what I am doing wrong?
    7 Requirements: INCORRECT
    >=[FABR BYM].[Cost of Service] Where ([FABR BYM].[Billing Year Month] = UserResponse("Enter Recent Billing Year Month:")) - [FABR BYM].[Cost of Service] Where ([FABR BYM].[Billing Year Month]=UserResponse("Enter Older Billing Year Month:"))
    6 Requirements: CORRECT
    >=[Cost of Service] Where ([Billing Year Month] = UserResponse("Enter Recent Billing Year Month:")) - [Cost of Service] Where ([Billing Year Month]=UserResponse("Enter Older Billing Year Month:"))

    Hi folks,
    I use BOXI r2 sp 4. I need to build a crosstab report with the following requirements:
    1) Create a variance report structure
    2) End user should select two periods to compare (i.e. 1Q08 vs 1q09),
    3) The report should reflect the variance of the most recent period (a) compared to the older period (b), if a is greater than b, then the variance (difference) should be a positive number (a minus b = var),
    4) A column should be created to reflect the dollar variance
    5) Another column for the percentage change (var divided by b) and show one decimal place on the percentage (i.e. 10.1%)
    6) There are two period prompts Billing Year Month using OR
    7) There is one Business Segment prompt In List
    The first 6 requirements can be met with 1 query and it returns the correct variance and percentage change.
    In order to add the 7th requirement, I added another query but the variance and percentage change are no longer correct.
    The queries come from the same universe and folders thereof.
    Can someone please correct this formula and explain what I am doing wrong?
    7 Requirements: INCORRECT
    >=[FABR BYM].[Cost of Service] Where ([FABR BYM].[Billing Year Month] = UserResponse("Enter Recent Billing Year Month:")) - [FABR BYM].[Cost of Service] Where ([FABR BYM].[Billing Year Month]=UserResponse("Enter Older Billing Year Month:"))
    6 Requirements: CORRECT
    >=[Cost of Service] Where ([Billing Year Month] = UserResponse("Enter Recent Billing Year Month:")) - [Cost of Service] Where ([Billing Year Month]=UserResponse("Enter Older Billing Year Month:"))

  • Budget to Actual Variance Formula in Scenario Dimension help

    I am trying to calculate the Budget to Actual variance by using a member formula in the Scenario dimension.
    The formula I'm using is: @VAR("Final"->"Actual" -> &CurrentYear,"Budget");
    This formula yields a value that equals the budgeted amount.
    The Variance % formula I'm using is: @VARPER("Final"->"Actual" -> &CurrentYear,"Budget")/100;
    This % formula equals 100% for most accounts, but is 200% or 300% for other accounts
    What am I missing? Many thanks in advance

    Jake,
    I'm a newbie, so I'm not sure what you mean by cross-dim. I didn't write the formula but it's up to me to figure this out. Yes, I do want to compare budget data to same year actual data.
    It is dynamic. A sample retrieve for -200% would be Total Operating Revenues:
    Actual = 2,404,789
    Budget = 2,117,250
    Variance $ = (2,117,250)
    Variance % = -200%
    A really crazy one is Benefits Rollup:
    Actual = 66,353
    Budget = 73,817
    Variance $ = 73,817
    Variance % = 500%
    I appreciate your help very much.
    Max

  • Date must be between year 1 and year 9999 - error message

    I am receiving the following error message "Dates must be between year 1 and year 9999".  The highest value in the next date value in the DB is 12/31/9999.  The parameters being entered are 01/1900 and 12/9999.  The following formula is the cause of the error:
    EvaluateAfter ({@Start Date});
    Global DateVar EndDate;
           Global StringVar  strEndMonth:=Mid({?End Month/Year} ,1, 2) ;
           Global StringVar  strEndYear:=Mid({?End Month/Year} ,4, 4) ;
           Global NumberVar  nNextMonth:=CDbl (strEndMonth) + 1 ;
           Global StringVar  strEndDay:=ToText(Day(DateSerial (CDbl (strEndYear) , nNextMonth, 1-1) ) , 0) ;
           Global StringVar  strEndDate:=Right ("00" + strEndMonth, 2 ) + "/"Right ("00"strEndDay,2) +"/"  +strEndYear ;
           Global DateVar EndDate:=CDate(strEndDate) ;
    The bolded section is the section of the formula highlighted in Crystal.  I've determined if the user enters 11/9999 as the end date instead of 12/9999 the report runs fine.  Is this a problem with the formula or a limitation in Crystal or little of both?  I don't understand what the formula is doing but at the end of the year it looks like it counts forward to January and then back to December and obviously 9999 is the highest year possible so the attempt to go a month ahead tanks.  Is there a change I can make in the formula to avoid this error?

    The error lies in the formula.
    Global NumberVar nNextMonth:=CDbl (strEndMonth) + 1 ;
    When you enter 12/9999 it adds 1 to the month of 12 giving it 13.
    Global StringVar strEndDay:=ToText(Day(DateSerial (CDbl (strEndYear) , nNextMonth, 1-1)) , 0) ;
    This calculates the last day of the month.  Since from above the variable nNextMonth is 13, it tries to calculate 9999, 13, 1-1 which is invalid since there is no 13th month in any year.
    Make this change and it should work fine.
    Global DateVar EndDate;
    Global StringVar strEndMonth:=Mid({?End Month/Year} ,1, 2) ;
    Global StringVar strEndYear:=Mid({?End Month/Year} ,4, 4) ;
    Global NumberVar nNextMonth:=if CDbl (strEndMonth) = 12 then CDbl (strEndMonth) else CDbl (strEndMonth)+ 1 ;
    Global StringVar strEndDay:=ToText(Day(DateSerial (CDbl (strEndYear) , nNextMonth,
    if CDbl (strEndMonth) = 12 then 31 else 1-1)) , 0) ;
    Global StringVar strEndDate:=Right ("00" + strEndMonth, 2 ) + "/"+Right ("00"+strEndDay,2) +"/" +strEndYear ;
    Global DateVar EndDate:=CDate(strEndDate) ;
    Edited by: Sanjay Kodidine on Apr 7, 2009 11:19 AM

  • Switch Service Between Bionic and Original Droid

    I am transitioning from my original Droid to a Bionic.  However, I would like to continue using my original Droid at work.  (I've killed the camera in the original for work, and would prefer not to do the same with the new Bionic).  I was expecting to be able use *228 to switch the service between the two phones, but I now understand that *228 does not work with the 4G Sim Card.  Is there still a way to switch my number back and forth between the two phones?

    Hi Fool68,
    I see the reason why you want to switch devices, since you have limitations on using the camera while at work. Thank you to the community for your responses. 
    With a 4G phone, once the line is switched to a 3G device, the SIM card does have to be replaced in many cases. Changing devices from 4G to 3G is different, as the community mentioned. Below is some additional information. 
    original 4G SIM can be re-used with the same phone number if the technology change back to 4G is processed prior to 12:00 a.m. ET of the day the 3G change was initially completed.
    After 12:00 a.m. ET, a new 4G SIM is required in order for the line to go back to 4G.  
    SIM cards can be obtained online, if needed. There is no charge for a SIM replacement. To order online, please make the change of the devices online and visit http://www.vzw.com  . Login to your online My Verizon Account (with the Account Holder Number). 
    If a replacement card is needed, you will receive this option in the screen when making the change in devices and there is no cost. 
    I hope this information is helpful. Have a good day!

  • Does Solaris publish a feature / function mapping of container services between Docker and Solaris ?

    Docker is getting huge attention but most consider it not ready for production.  Does Solaris publish a feature / function mapping of container services between Docker and Solaris ?
    Solaris containerization has been battle tested in production for many, many years.

    You need to understand how IPMP is used within Sun Cluster. Start reading at
    http://docs.sun.com/app/docs/doc/819-2968/6n57jmghj?a=view and
    http://docs.sun.com/app/docs/doc/819-2969/6n57kl141?a=view
    for a brief description. In a nutshell - the IPMP group is providing availability on the interface level for each node, so that a single NIC failure is not resulting into a service loss.
    The IP adresses you configure directly (ie. via /etc/hostname.* setup) are always considered local to a given node.
    In order to configure highly available IP adresses, which move between nodes and which should be used for the application you make highly available, you must use the SUNW.LocgicalHostaname or SUNW.SharedAdress resource types. Have a look at
    http://docs.sun.com/app/docs/doc/819-2974/6n57pdjtt?a=view on how to configure them.
    Greets
    Thorsten

  • I'm very curious about cost of service. How can VZW charge such high cost for their service and Walmart sponsered carriers charge $49.99 for unlimited talk,text, and data per month?

    We live in an area that does not have fiber optics for VIOS, or cable. Our service is received by either MIFI or Satellite service. I'm paying right now over $200 for my Jet Pack and Droid. I'm on a fixed income and I have End Stage COPD, so that means my quality of life has been lessened due to cost of service. Please explain to me the difference between the two services. Kevin. 

    demmo86rt wrote:
    Most of those Walmart plans are prepaid, usually don't have the same coverage as postpaid, even from the same carrier, and can come with hidden fees. Not to say they are always a bad deal, but I would make sure you know exactly what you are getting.
    Yep none of that will be 4G. Not on any phones that use Verizon's network. Only the Galaxy S 2 on Straight Talk will use "4G" on at&t's network and it's not even LTE is HSPA+. Also the fine print of the "unlimited" data says after 2 GB Straight Talk can throttle you down to 2G speeds and if you continue to use more than 2 GB a month they can cut off your service forever.

  • GL balances differences between Year end closing and opening balances

    Hi friends,
    One GL account balances showing differences between year end closing & year opening balances.
    Example: 2006 closing balance is  250000 $
                   2007 opening balance is 150000 $
    difference is 100000 $ . why should coming like this. already completed balances carryforward (F.16) in 2006 & 2007 year. 
    any programe for this solution ?
    One more point is  just 2 days back i posted 2 entries for 2006 year equal to 100000 $ . after this entries shall we need go for F.16 (carry forwarded balances).
    please do the needful. It is very urgant issue.
    Raj

    HI,
    There shouldn't be any more postings to a GL Account once Balance carry forward has been executed.
    If postings have been made then you should execute the Balance carry forward again, otherwise you will see difference in opening and closing GL balance (as mentioned by you).
    Regards

  • Cost Analysis: Planned Vs Actual Cost Variance for cost

    Hai
    Which is the standard cube for "Cost Analysis: Planned Vs Actual Cost Variance for cost"?
    Because i need these fields
    Cost Element
    Actual Cost
    Plan cost
    Debit Posting
    Credit Posting
    Controlling Area
    Cost Centre

    Hi nvr,
    Cost Element : Cost Element nothing but a which product your spending
    Actual Cost : How much amount your spend on particular product
    Plan cost : How much amount you need to spend on particular product
    Debit Posting : In Accounting they are doing one positng that is depend on Debit and Credit.
    Credit Posting:
    For Exp: your parchase one product RS.500/-
    In FI they are posted like this.
    Product Name DR.(Debit) 500
    to Cash                                      500 (Credit)
    here product name is debit posting
    cash is credit posting.
    Controlling Area : Which area your spending the money
    For Exp: You have Man.Company your doing some processes which process that cost is spend nothing but a Controlling Area.
    Cost Centre : cost Centre nothing but which process.
    Hope its' helps .
    Thanks and Regards,
    Venkat.

  • Enter validity area between years 1996 - 2010

    Dear Expert,
    We are trying to change factory calendar as 2012, earlier it is open from period 1996 to 2010.
    but the system is giving the error "Please enter validity area between years 1996 - 2010."
    pl. give us solution
    thanks
    Abhay.

    Hi,
    Please change the validity of the holiday calandar at SCAL Aand then try chage the factory calandar difinition.This will solve your problem,
    Regards,

  • How to do web services between applications

    I have tried to get a complete example about how to do a web service between two applications
    but I saw all the put examples that describe only how to do a web service and test it in the same application.
    Please, I want to see a whole example that shows a web service between two applications.

    Hello,
    Are you looking for any specific JHeadstart webservice functionality? If not, can you please ask this question at the JDeveloper forum of OTN?
    Thanks!
    Evert-Jan de Bruin
    JHeadstart Team

  • How to do web services between two applications

    I have tried to get a complete example about how to do a web service between two applications in ADF
    but I saw all the put examples that describe only how to do a web service and test it in the same application.
    Please, I want to see a whole example that shows a web service between two applications (in Oracle ADF).

    Hi Frank!
    thanks for your reply!!
    let me please tell you what I exactly did!!
    I built two applications in ADF let's say A and B, and I made a web service from the application A
    and I want the application B to use it .. the problem I encountered was that an error raised ..
    when I tested the web service in the same applicatin (A) everything was right ..
    so can I see a whole example that shows me the exact steps to do it ???
    thanks a lot !!

  • Allocation of cost from service cost center  to production cost center

    Dear sir ,
    Will I use to distribute the cost from service department to production department  and that cost centers also using for activity planing will get currect result in product costing ?

    Hello,
    Can you clarify what you want to do ?
    Allocation of cost from service cost centers to production cost centers can be done with the help of Assessment / Distribution cycles and you can do a activity planning using the same costs as well. The steps for activity planning would be as under:
    1. Create primary cost planning in the service and production cost centers (KP06)
    2. Create activity planning in the production cost centers (KP26) without any rate
    3. Run assessment / distribution cycles to transfer cost from the service cost centers to production cost centers (KSUB / KSVB), in case you are not transferring based on activity quantity then also do SKF planning in KP46
    4. Run plan cost splitting in case you have more then one activity type (do config for splitting structure beforehand) (KSS4)
    5.  Calculate Plan price for the production cost center activity types (KSPI)
    BR // SG

  • Cost Center Linkage between Functional Location and Equipment.

    Hi Gurus,
    We have found in our analysis that it is impossible to copy the cost center of a superior functonal location to a subordinate one when the cost center of subordinate functional location is changed manually.
    We intend to do a mass change for our cost centers of all our functional locations and equipments for all our plants. We need to know how do we achieve this change of cost centers.
    Thanks:
    Siddharth

    Thanks All for your information.
    Actually the Master data team has to do a mass update of cost centers for the Functional locations and Equipments.
    And what we have found is that when we change the cost center for an equipment individually it changes the cost center origin of the equipment to "D" which means independent of the changes in the cost center at FL level.
    Be it IBIP or any other way what we have found that the linkage(cost center origin) between the FL and the EQUIP changes to "D"  when ever we change the cost center for the equipment.
    We don't want to change this linkage as it may have other consequences that we can not foresee at this point.
    So, my question is :
    If the FL and EQUIP linkage (cost center origin field) is changed(from H to D or D to H), what could be the effect on the FL and EQUIP relation?
    Cost center origin :
    D       Independent of changes in cost center at FL level
    H       It is dependent on the FL cost center.
    Thanks:
    Siddharth

  • Can we enable costing to Service items?

    Hi!
    Can we enable costing to Service items? If so, if I entered a Service item into a Sales order line, will it also be included in the COGS Recognition?
    Thanks.

    press your home button for a few seconds until you hear the beep and ask siri to calla contact that is listed in your contact app.

Maybe you are looking for

  • Auto populate text fields with a trigger such as entering text into input fields in ADF

    Hello all, I am not able to auto populate text fields with a trigger such as entering text into input fields in ADF. I tried AdfFacesContext.getCurrentInstance().addPartialTarget(val); in the back end using setter method of input text field. its not

  • HOW DO YOU CHANGE THE WINDOW SIZE OF EBUSINESS SUITE ON STARTUP

    HOW DO YOU CHANGE THE WINDOW SIZE OF EBUSINESS SUITE ON STARTUP How do you change the window size for Ebusiness Suite after you log in. Currently it displays at 100% of the screen. I want to set it smaller, at some %

  • Message Icon Not Showing Up

    You knw the little dropbox on the Photos app that pops up when you tap the little arrow coming out of a box? You know how in iOS 6 how it shows different app icons, and how one of them is so you can iMessage that photo to someone? The iMessage icon i

  • How to prevent parser stripping newlines?

    Hi, I'm just starting to work on writing a program to input from an XML file, and then traverse through it, extracting information that I need. One of the attributes has a long string of text which includes newlines (carriage return and line feeds),

  • ITunes Conversion

    Hi. Does anyone have a script or know how to make one that does the following: I have 2 iTunes libraries, both exact duplicates, except one is in 128k for iPhone, and one is in 320k for listening to on computer. However, I plan on expanding my librar