Translating at Prior Year and Plan Rates

I have a rule with a few accounts that are populated by values out of the P&L rollup. Here is an example: in my Calculate Sub, I have:
If pov_TransCur = False then          
HS.Exp "A#NetSales_PYRates=A#NetSales.I#[ICP Top]"
End If
Where pov_TransCur = HS.Value.IsTransCur
And in my Sub Translate, I have:
PY_Avg_Rate = HS.GetRate("A#AverageRate.Y#Prior")
HS.Clear"A#NetSales_PYRates"
HS.TransPeriodic "A#NetSales_PYRates","",PY_Avg_Rate,""
The Results in my Child Entity are:
Entity Currency USD
Net Sales 7.194 Mill. 7.203 Mill
NetSales_PYRates 7.194 Mill. 6.144 Mill.
Which is Great, that is what I want.
However at the Parent Level I get:
Entity Currency USD
Net Sales 7.203 Mill. 7.203 Mill
NetSales_PYRates 7.203 Mill. 7.203 Mill.
I need to see the 6.144 Million in USD in the NetSales_PYRates accounts , the other child entities don't have any data.
Any ideas in how to correct this issue?
Thanks in advance

Wow, it took me a while to set this reply, I was stuck on Rich Text format, and I did not have a box for the body of the message. Anyway, thanks; however, I keep getting the same results. My rules are quite simple, in the calculate sub routine I only have the population of Beginning Balances for Rollforward accounts, plus these Prior Year and Plan Rate accounts. While there is more than just the net sales account, there is nothing else in it. Here is What I have
If HS.Entity.IsBase("", "") = True And HS.Value.Member() = "<Entity Currency>" Then
          HS.Exp "A#NetSales_PYRates=A#NetSales.I#[ICP Top]"
          HS.Exp "A#Material_PYRates=A#CosMat+A#DirMatVar"
          HS.Exp "A#DirLabor_PYRates=A#CosLabor+A#DirLaborVar"
          HS.Exp "A#FactoryOH_PYRates=A#CosOH+A#Manufacturing"
          HS.Exp "A#OthCostOps_PYRates=A#OtherCostOfOps"
          HS.Exp "A#InvProv_PYRates=A#ShrinkProv+A#ObsolProv+A#LIFOFIFOProv"
          HS.Exp "A#ShipHand_PYRates=A#ShipHand"
          HS.Exp "A#Engin_PYRates=A#Engineering"
          HS.Exp "A#Sell_PYRates=A#Selling"
          HS.Exp "A#Admin_PYRates=A#Admin"
          HS.Exp "A#GLSPPE_PYRates=A#GainLossSalePPE"
          HS.Exp "A#MiscIncExp_PYRates=A#MiscIncExp"
          HS.Exp "A#ONon_PYRates=A#NonOpIncExp-A#GainLossSalePPE-A#MiscIncExp"
          HS.Exp "A#NetSales_PLRates=A#NetSales.I#[ICP Top]"
          HS.Exp "A#Material_PLRates=A#CosMat+A#DirMatVar"
          HS.Exp "A#DirLabor_PLRates=A#CosLabor+A#DirLaborVar"
          HS.Exp "A#FactoryOH_PLRates=A#CosOH+A#Manufacturing"
          HS.Exp "A#OthCostOps_PLRates=A#OtherCostOfOps"
          HS.Exp "A#InvProv_PLRates=A#ShrinkProv+A#ObsolProv+A#LIFOFIFOProv"
          HS.Exp "A#ShipHand_PLRates=A#ShipHand"
          HS.Exp "A#Engin_PLRates=A#Engineering"
          HS.Exp "A#Sell_PLRates=A#Selling"
          HS.Exp "A#Admin_PLRates=A#Admin"
          HS.Exp "A#GLSPPE_PLRates=A#GainLossSalePPE"
          HS.Exp "A#MiscIncExp_PLRates=A#MiscIncExp"
          HS.Exp "A#ONon_PLRates=A#NonOpIncExp-A#GainLossSalePPE-A#MiscIncExp"
End If
End Sub
and for the Translate Sub I have:
Sub Translate ()
Plan_Avg_Rate = HS.GetRate("A#AverageRate.S#Plan")
PY_Avg_Rate = HS.GetRate("A#AverageRate.Y#Prior")
'HS.Clear"A#NetSales_PYRates"
HS.TransPeriodic "A#NetSales_PYRates","",PY_Avg_Rate,""
'HS.Clear"A#Material_PYRates"
HS.TransPeriodic"A#Material_PYRates","",PY_Avg_Rate,""
'HS.Clear"A#DirLabor_PYRates"
HS.TransPeriodic"A#DirLabor_PYRates","",PY_Avg_Rate,""
'HS.Clear"A#FactoryOH_PYRates"
HS.TransPeriodic"A#FactoryOH_PYRates","",PY_Avg_Rate,""
'HS.Clear"A#OthCostOps_PYRates"
HS.TransPeriodic"A#OthCostOps_PYRates","",PY_Avg_Rate,""
'HS.Clear"A#InvProv_PYRates"
HS.TransPeriodic"A#InvProv_PYRates","",PY_Avg_Rate,""
'HS.Clear"A#ShipHand_PYRates"
HS.TransPeriodic"A#ShipHand_PYRates","",PY_Avg_Rate,""
'HS.Clear"A#Engin_PYRates"
HS.TransPeriodic"A#Engin_PYRates","",PY_Avg_Rate,""
'HS.Clear"A#Sell_PYRates"
HS.TransPeriodic"A#Sell_PYRates","",PY_Avg_Rate,""
'HS.Clear"A#Admin_PYRates"
HS.TransPeriodic"A#Admin_PYRates","",PY_Avg_Rate,""
'HS.Clear"A#GLSPPE_PYRates"
HS.TransPeriodic"A#GLSPPE_PYRates","",PY_Avg_Rate,""
'HS.Clear"A#MiscIncExp_PYRates"
HS.TransPeriodic"A#MiscIncExp_PYRates","",PY_Avg_Rate,""
'HS.Clear"A#ONon_PYRates"
HS.TransPeriodic"A#ONon_PYRates","",PY_Avg_Rate,""
'HS.Clear"A#NetSales_PLRates"
HS.TransPeriodic"A#NetSales_PLRates","",Plan_Avg_Rate,""
'HS.Clear"A#Material_PLRates"
HS.TransPeriodic"A#Material_PLRates","",Plan_Avg_Rate,""
'HS.Clear"A#DirLabor_PLRates"
HS.TransPeriodic"A#DirLabor_PLRates","",Plan_Avg_Rate,""
'HS.Clear"A#FactoryOH_PLRates"
HS.TransPeriodic"A#FactoryOH_PLRates","",Plan_Avg_Rate,""
'HS.Clear"A#OthCostOps_PLRates"
HS.TransPeriodic"A#OthCostOps_PLRates","",Plan_Avg_Rate,""
'HS.Clear"A#InvProv_PLRates"
HS.TransPeriodic"A#InvProv_PLRates","",Plan_Avg_Rate,""
'HS.Clear"A#ShipHand_PLRates"
HS.TransPeriodic"A#ShipHand_PLRates","",Plan_Avg_Rate,""
'HS.Clear"A#Engin_PLRates"
HS.TransPeriodic"A#Engin_PLRates","",Plan_Avg_Rate,""
'HS.Clear"A#Sell_PLRates"
HS.TransPeriodic"A#Sell_PLRates","",Plan_Avg_Rate,""
'HS.Clear"A#Admin_PLRates"
HS.TransPeriodic"A#Admin_PLRates","",Plan_Avg_Rate,""
'HS.Clear"A#GLSPPE_PLRates"
HS.TransPeriodic"A#GLSPPE_PLRates","",Plan_Avg_Rate,""
'HS.Clear"A#MiscIncExp_PLRates"
HS.TransPeriodic"A#MiscIncExp_PLRates","",Plan_Avg_Rate,""
'HS.Clear"A#ONon_PLRates"
HS.TransPeriodic"A#ONon_PLRates","",Plan_Avg_Rate,""
End Sub
There is nothing in here that can cause the results I have. I don't understand why yours will work and my won't, but I will keep looking for a solution.

Similar Messages

  • 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'.

  • How to calcualate prior year

    Hi All,
    If I select current year in a column promt, then I want to calculate prior year.
    For eg. I have List Box promt based on year column with values 2012, 2011, 2010, 2009, 2008 etc..
    If I select any one year, lets say 2011, then I should automatically calculate prior year which is 2010 so as to pull data in analysis for 2011 as well as 2010.
    How to achieve this.?
    Thanks in Advance
    Warm Regards
    Santosh

    Thanks Deva and Satya for your inputs..
    Now please look at the following situation ..
    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 net revenue, % revenue, gross profit, cost of sales, operating expenses etc. (I am using 107 from oracle downloads) for obiee 11.5
    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 my approch mentioned below;
    Appraoch 1
    - Created two analysis reports with all the above columns.
    - specified filter for year column equal to 'current year' for first report
    - specified filter for year column equal to 'prior year' for second report
    - created a dashboard with a promt (radio button) based on column scenario with all values (Actual, plan, Forecast, Wht -if)
    - created two sections placed side by side below the prompt and placed thoese reports in those two sections so that they appear side by side.
    The promt is placed above those two sections.
    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 information for current and prior year PnL 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 values ('current year' , 'F08', and 'Prior Year') and hence I cant use it.
    I would like to know how to build such a report using any other approach (using variables or function or any rpd level modifitions).
    Is there any trik which I can do at report level , (duplicatiing columns or any other thing ) I can do this?
    Please help me to build logic either at analysis level or at repository level
    Thanks and Regards
    Santosh

  • SSRS Matrix report. Variance expression by Month. Need to compare month from prior year to current month of current year VS2010

    Please help.  I have a matrix report.  In the report I have row group  PO Type.  One the Column groups I have a parent group by Fiscal Year, and then a child group by Month.  When I run the report, I get two years of data back broken
    out by month.  Please see below.
    Now here is where I am getting stuck.  I need to take the variance between the current month of the current year, from the same month of the prior year.  So I need to show the difference between Oct , 2014 from Oct, 2013. November, 2014 from November
    2013... etc. etc.
    In the example below, how do I create a column or row showing the variance for Contracts for October 2014.  I need to take the contracts for October 2014 which is 3 and subtract that from October 2013 which is 8.  Any suggestions? How do I do that
    for each month?  Then I need to do it for the quarter... then the year?  But I'll be happy if I can just get the month working first.
    Any help will be appreciated. 
    here is what my rdl file looks like.
    Here is what my report looks like when I render it.

    Hi Adrian_s2012,
    According to your description, you want to compare values for the month of current year with the month of prior year and get the variance. Right?
    In Reporting Services, we don't have any function to get this "Year to Year" Growth. In this scenario, if you data source is a cube, we suggest you use Analysis Services to achieve your requirement. If this data source is just from database, it will be hardly
    to calculate the variance because we need to compare the values within every two different column group and matrix generate adjacent columns one by one. Even we make it by using custom, every time executing the long code when generating result
    in a cell will reduce a lot of performance, we really don't suggest to do that in SSRS. Here is a thread with much easier requirement, please take a reference of that:
    http://social.msdn.microsoft.com/Forums/office/en-US/842e2dcb-d949-4297-9d91-eac989692cb5/difference-between-the-grouped-column?forum=sqlreportingservices
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Internal Order Settlement Reversal Prior Year KO88

    Hi,
    I am on ECC 6.   We have been asked if it is possible to reverse prior year settlements for internal orders in the current year and period.                                                                The current year  reversals are not the issue. These orders settlements in need of revision were made in the prior year and the periods are all closed and not to be opened as the financials are complete for that year.
    Presently, there are two steps :  1) Reverse the current year periods and resettle using revised settlement rules.in the current year open period.                                                                                2) Prior year corrections made through a manual journal entry also posted in the current period. 
    Goal is to eliminate the manaul entry for prior year correction due to revised order settlement rules  
    Any thoughts on this issue would be appreciated.

    The only reason to resettle the orders is that the "settlement rules" were revised in the current fiscal year .  In the current fiscal year , the settlements for each settled period (closed period) are reversed and then resettled in the current  open period using the revised settlement rules. However, the issue involves these same orders had costs in the previous fiscal year and were settled originally in that previous fiscal year with the old settlement rules. This is a closed fiscal year and all periods are closed.  
    Any thoughts on a system approach to effect the settlement rule change crossing two fiscal years rather than manual entries for prior fiscal year settlement rule impact as a  two step process the first step being the current fiscal year resettlements and the second step the manual entry for previous year impact ?

  • Scope statement for Change From Prior Year

    Hello All,
    I have to create Current Year, Prior year  and change from Prior year for all the measures. I was able to creat current Year and Prior Year calcuation with scope statemnet. But I could not do the same for Change from Prior year.  I am getting 0 for
    all the months.
    Here is what i have:
    SCOPE([LABEL].[LABEL].&[ChangeFromPY])
    THIS=
    AGGREGATE(
    [DATE DT].[Date_Hierarchy].CURRENTMEMBER,
    [LABEL].[LABEL].&[Current Year]
    AGGREGATE(
    PARALLELPERIOD
    [DATE DT].[Date_Hierarchy].[Year], 1, [DATE DT].[Date_Hierarchy].CURRENTMEMBER),
    [LABEL].[LABEL].&[Prior Year]

    Hi Om25,
    According to your description, the Prior year calculation works on Excel, however, it not works when creating dashborad in performance Point, right? In this case, you can create separate measures for Prior Year in Cube, and use it in performance Point directly.
    Here is a link that might helpful for you, please see:
    http://www.bidn.com/blogs/cprice1979/ssas/2473/fun-with-mdx-ndash-part-3-ytd-and-prior-ytd-calculations
    Regards,
    Charlie Liao
    TechNet Community Support

  • How you will see reports last year and till date reports and compare?

    How you will see reports last year and till date reports and how you will compare?
    sridhar

    Hi.
        This you can achieve at query level.
    I have few question.. First let me know how many KFs you have in the query and based on what characteristic you want to compare the KFs.
    Let me assume that you want to compare "SALES" KF for the last and current year.
    1) Add the "SALES" KF to the Query.
    2) Rename it as "SALES - Prior Year"
    3) Copy the above KF and rename the new KF as "SALES - Current Year"
    4) In the "SALES - Prior Year", add the date (say, Calendar Date, Fiscal Period, etc.) as per yr requirement. Keep offset as "-1"
    5) Do the same for "SALES - Current Year" . No offset.
    6) Now create a new formula to find the difference between "SALES - Prior Year"  and "SALES - Current Year" .
    Hope you got some idea!!
    Let me know if anything more is required.
    Regards,
    Balaji V

  • HR:Performance Appraisal:Can we Hide Prior Year Plans

    Is it possible to hide prior year performance appraisal plans from the Self service Talent Management Task List through personalization.
    If so How to accomplish ?.
    Regards,

    Q.1 If an appraisal form has been started for an employee and employee leaves the company, what should be done with the form as a best business practice? How is it best achieved?
    <i>A: There is no recommended procedure on how performance appraisals of terminated employees can be handled.  Users can continue to leave the appraisal form in the current state. 
    Alternatively, they could also "force change" the status to completed for terminated employees after a period of time.  This will terminate any active workflows last triggered upon between the ex-employee and the manager</i>
    Q.2 If an employee changes managers during the year all managers must be included in the appraisal process. Can this be done automatically? If so, should they be part appraisers?
    <i>A. Standard SAP seems not to cater for automated manager / appraiser change in the header when the employee switches manager. 
    One possible best practice you may want to consider is to activate the "change header" functionality for the appraisee to change the name of the manager themselves.  Alternative, the task can be assigned to the appraisals administrator.</i>

  • I have paid for Creative Cloud - illustrator CC 1 year monthly plan, but it still show "Trial Expired". I have tried to sign in and sign out creative cloud many times, but still can't work. Please help!

    I have paid for Creative Cloud - illustrator CC 1 year monthly plan, but it still show "Trial Expired". I have tried to sign in and sign out creative cloud many times, but still can't work. Please help!

    Does your Cloud subscription show on your account page?
    https://www.adobe.com/account.html for subscriptions on your Adobe page
    Also,
    This is an open forum, not Adobe support... you need Adobe support to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • 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.

  • After 1 year earned leave should generate and pro-rata quota should generate next year on jan 1st.

    Hi Experts,
    Here is the client requirement and please let me know how to solve this.
    Earned Leave: after 1 year earned leave should generate and pro-rata quota should generate next year on jan 1st.
    Example: if employee joins on 01/07/2012 after 1 year i.e 01/07/2013 quota should generate 22 days next year on 01/01/2014 pro-rata quota i.e 01/07/2013, 11 days pro-rata quota should generate. Total 22+11 =33 have to generate on 01/01/2014. and next year 01/01/2015 (22+11+22)=55.
    Note: on 1/7/2013 = 22 days
    on 1/1/2014 = 11 days +22 days; total=33
    on 1/1/2015 = 33 days +22 days; total=55
    Conditions: if employee joins before 15th date of current month include the current month, if employee joins after 15th date exclude the current month.

    You will need 2-3 PCRs to address this.
    In one PCR you need to query the Date of Hire (from IT0041 - I guess you are maintaining this) using HRS=YDAYxx - where xx is the date type. You can then check it it is the first year anniversary or not by using HRS?01. If the condition satisfies populate a custom time type with 22 days.
    In another PCR, you need to check for 01 Jan by using HRS=BCURMO and HRS=BCURDY. In this PCR check again the length of service (see above). If it is more than 1, then proceed to give the pro-rata amount.
    If the pro-rata formula is simple you can use the second PCR or you would need a 3rd PCR to get the pro rata amount. Using HRS=Y**** operator you can query many date differences which will help.
    Regards
    Pramod

  • 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
    ...

  • 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.

  • Fiscal QTD and Fiscal QTD - Same Quarter, Prior Year

    Hello,
    I am having some issues creating the DAX formulas in my Tabular model for Fiscal QTD.  Our fiscal period ends on Feb 28th (or 29th).  I managed to get the Fiscal QTD working by using the following formula:
    Transaction $ Fiscal QTD:=CALCULATE (
        [Transaction $ Current Day],
        FILTER (
            ALL ( 'Dates' ),
            'Dates'[Fiscal Year] = VALUES(Dates[Fiscal Year])
                && 'Dates'[Fiscal Quarter] = VALUES ( 'Dates'[Fiscal Quarter] )
                && 'Dates'[Calendar Date] <= MAX ( 'Dates'[Calendar Date] )
    However when I try to use this formula for Fiscal QTD, Same Quarter-Prior Year, I get an incorrect total:
    Transaction $ Fiscal QTD Prior Year:=CALCULATE (
        [Transaction $ Current Day],
       FILTER (
            ALL ( 'Dates' ),
            'Dates'[Fiscal Year] = VALUES(Dates[Fiscal Year]) - 1
                && 'Dates'[Fiscal Quarter] = VALUES ( 'Dates'[Fiscal Quarter] )
                && 'Dates'[Calendar Date] <= MAX ( 'Dates'[Calendar Date])
    Values in the Fiscal Quarter and Fiscal Year columns of the date dimension are integers.
    Does anyone have any insight into Fiscal QTD DAX formulas?
    Cheers,
    Stan

    Does anyone have a suggestion for Stan?
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

Maybe you are looking for

  • AP Payment Reprot

    Dear All, i need to include the check printing report at payment time, when user click the option print now this report will be printed , how to connect this report to this option in R12. Thanks

  • Display of standard deviation in graphs

    Hello, I am trying desperately to find out how to present standard deviation within adobe illustrator generated graphs. Can anyone please help me with this problem? p.s I am using adobe-illustrator CS2 and winXP tnx

  • Is my 23,000 song library slowing down my computer?

    Hi guys, I have 23,000 songs on an external hard drive, and I wondered if iTunes writing the library file every once in a while, or any other cause, could be considerably slowing down my computer, why, and what I can do about it. Thanks! Alec

  • Lightroom 4 rc3 unable to install

    Have downloaded and extracted lightroom 4 rc3 but it will not run any of the installers.

  • Inapp purchase denied

    When i want to buy and inapp purchase it keeps saying contact support But normal purchase in appstore works fine