Fiscal Quarter

Hi,
I need to restrict a key figure based on version and on Fiscal quarter. Could anyone of you please tell me how to restrict the key figure for last year quarter?
For eg. if fiscal quarter = 12007(q1 2007) how to do for fiscal quarter of the last year, i.e. 12006(q1 2006).
If  I do Offset for the variable Fiscal Quarter as -1,  does it solve the problem?
Please help me.
Thanks,
Riya

Riya,
You can use offsets for this.....
As i said in other post you can restrict with fiscal quarter and version in one column and in another column do the same for last year. Use offsets on quarter to get last year quarter data. Hope this helps you......
Check for similar example in the below link:
Re: Aging Report

Similar Messages

  • How to get Current Quarter and Fiscal Quarter for a Date - Fiscal Year starts from 1st April

    Hi, 
    I need to calculate current quarter and fiscal quarter in my Sql query.
    I have a column for DateTime Datatype. 
    I need to find out Current Quarter Name like Q12012, Q22012, Q32012, Q42012 and Fiscal Quarter Name as well.
    Now Fiacal Year starts from 1st April, and Current Quarter starts from 1st Jan.
    For Current Quarter of 2012
    Jan-Mar = Q12012
    Apr-Jun = Q22012
    Jul-Sep = Q32012
    Oct-Dec = Q42012
    For Fiscal Quarter of 2012 ( starts from 1st Apr, 2011 )
    Apr2011-Jun2011 = Q12012
    Jul2011-Sep2011 = Q22012
    Oct2011-Dec2011 = Q32012
    Jan2011-Mar2012 = Q42012
    means if its 1st April, 2012,
    its a new Fiacal Year 2013 so Fiacal Quarter Name should be Q12013
    and its Current Quarter Name should be Q22012
    Can you help me to calculate this in a select query for given dates?
    Thanks in advance, 
    Nirav

    This should do it..
    Select
    FORMAT(datepart(quarter,getdate()),'Q#')+FORMAT(getdate(),'yyyy')

  • Using fiscal period and Fiscal quarter reporting seemlessly in a BI Query

    Hi,
    We have a very specific issue. Reporting the Fiscal Period( in our
    case we have 53 fiscal periods) and Fiscal Quarter( we have 4 quarters)
    in the same query seamlessly as we would have done using Calander Month
    and Calander quarter in other reports that uses SAP delivered standard
    time dimensions.
    However unlike the Calander time dimension (SAP provided all
    possible...0CALDAY, 0CALWEEK, 0CALMONTH, 0CALQUARTER, 0CALYEAR) where you have all of these inside your info provider, you can get
    aggregation on week, month, quarter etc in your query seamlessly, The Fiscal Year/Period offers a problem in doing report seamlessly.
    When we delve into Fiscal realm, SAP only provided with 0FISCVARNT,
    0FISCPER, 0FISCYEAR and a special period 0FISCPER3. It doesn't provide
    anything like 0FISCQUARTER etc and rightly so, because you can have
    only one 0FISCVARNT in the Time dimension and can have related periods
    (0FISCPER) only for a Row of data in your infocube. For example if you need to model as per the Fiscalweek, you can create a custom Fiscal year variant (Say z1) and can configure to have only 53 periods (Mapped to 0FISCPER) representing
    53 Fiscal WEEK. Similarly for mapping Fiscal Quarter you can create
    another fiscal year variant (Say Z2) and have only 4 periods (mapped to
    0FISCPER also in this case) to represent the 4 Fiscal Quarter. However
    the issue is that for one record you can only map either of those and
    not both since you can only have one Fiscal year variant in one row of
    data in the info provider.
    For example
    If I have two rows OF DATA coming from different sources (One FOR
    Fiscal Week and another for Fiscal Quarter) I can have the following in
    my info provider.
    1> Example data in Fiscal
    Char1 Char2 0CALDAY 0FISCVARNT 0FISCPER Quantity
    X  ......  y .....10/22/07 ....Z1 ....           43’2007 .......10
    X .......  Y .....10/22/07 ....Z2 ....          Q3’2007 .......20
    The issue is how do I report the Quantity in a query in Quarter Q3 as
    (10 + 20 = 30) since both the rows corresponds to FISCAL Q3’2007?
    (Please note that Fiscal week 43’2007(For VARIANT Z1 ) actually is
    Fiscal Quarter Q3’2007( For Fiscal Variant Z2) as per our
    configuration of Fiscal Year Variant configuration Z1 and Z2)
    The same is very simple when I have infoprovider with CALENDAR Time
    dimensions , for example if we don’t have any fiscal reporting
    requirement and just report on calendar time dimension the record in
    the info provider would look like the following ( example)
    2> Example Data in CALENDAR DIMENSION
    Char1 Char2 0CALDAY 0CALWEEK 0CALQUARTER Quantity
    X ........ y .......10/22/07 .......43’2007 .......Q3’2007 .......10
    X ........Y .......10/22/07 ....... 44’2007 .......Q3’2007 .......20
    Here we can use both 0CALQUARTER and get the data aggregated on the
    quarter level in addition to the 0CALWEEK.
    To solve this issue, One option that we are thinking of Using 0CALQUARTER to represent the
    Fiscal Quarter and use Update rule to populate this one. For example
    THE example 1 can be as follows.
    1A> Example of using 0CALQUARTER along with 0FISCVARNT and 0FISCPER
    Char1 Char2 0CALDAY 0FISCVARNT 0FISCPER 0CALQUARTERE Quantity
    X .......y .......10/22/07 ..............Z1 .......43’2007 .......Q3’2007 ..............10
    X .......Y .......10/22/07 ..............Z2 .......Q3’2007 .......Q3’2007 ..............20
    In this case we would populate the 0CALQUARTER by the actual Fiscal
    Quarter and then can use both as per example 2 above. But this is not a
    smooth option since we have various other info providers to join and
    report based on solely Fiscal Quarter etc…
    I am certain that this issue have already been solved by somebody as this bound to happen in any finance application.
    Would appreciate if we can get some light on this regarding the data modelling, reporting etc.
    Thanks
    Arun G.

    You have yourself suggested a solution, which is fine,
    Other option is to have a new characteristic Fiscal Qtr in all the infoproviders ans update the same using a routine in the updaterule depending on the fiscal year variant.
    for eg. for transaction with variant Z1 in one case you can say if fiscal week 01 between 01 to 13 the Fiscal Qtr should be update with1 and if it is between 14 to 26 then update fiscal qtr with 2 and so on.
    For other Variants Z2 you write a different login in the routine ans so on.
    so for all the data irrespective of the variant you will have the qtr as either 1 or 2 or 3 or 4 and you can report on this fiscal qtr.
    assign points if it helps.
    regards
    Venkata Devaraj

  • Date parameters for the previous fiscal quarter?

    Hello Folks,
    I have this requirement of selecting the dates for the previous fiscal quarter. usually a fiscal quarter is January 2011 - March 2011. But in my case the fiscal year should be December 2010 to February 2011 and if i check in june 2011 it should return Mar 2011 till May 2011 and so forth. So how can i acheive to be able to select these dates i.e 12/1/2010 till 02/28/2011 in the where clause for the current date?
    create table test_A (id int, col varchar(50),change_date date);
    insert into test_A values(1, 'A',to_date('20101201 000000', 'YYYYMMDD HH24MISS'));
    insert into test_A values(2, 'A1',to_date('20110122 000000', 'YYYYMMDD HH24MISS'));
    insert into test_A values(3, 'A1',to_date('20110202 000000', 'YYYYMMDD HH24MISS'));
    insert into test_A values(5, 'A1',to_date('20110306 000000', 'YYYYMMDD HH24MISS'));
    insert into test_A values(6, 'A1',to_date('20110305 000000', 'YYYYMMDD HH24MISS'));
    insert into test_A values(7, 'A1',to_date('20110307 000000', 'YYYYMMDD HH24MISS'));
    select * from test_A
    1     1     A     12/1/2010
    2     2     A1     1/22/2011
    3     3     A1     2/2/2011
    4     5     A1     3/6/2011
    5     6     A1     3/5/2011
    6     7     A1     3/7/2011
    I only want to see the following
    1     1     A     12/1/2010
    2     2     A1     1/22/2011
    3     3     A1     2/2/2011

    select  *
      from  test_A
      where change_date >= add_months(trunc(sysdate,'Q'),-1)
        and change_date <  add_months(trunc(sysdate,'Q'),2)
            ID COL                                                CHANGE_DATE
             1 A                                                  20101201 000000
             2 A1                                                 20110122 000000
             3 A1                                                 20110202 000000
    3 rows selected.
    SQL> SY.

  • How to write customer exit in my BI query to get (current fiscal quarter) and (current fiscal quarter - 1 ) without user input

    Hi all,
    I need your help how to write customer exit in my BI query to get (current fiscal quarter) and (current fiscal quarter - 1 ) without user input.
    in my query info object is 0CALQUARTER and variable is ZFIS_QTR.
    in 0CALQUARTER fiscal quarter stored in 201301,201302,201303,201304 and 201401 format, for current fiscal quarter 201401 and (current fiscal quarter - 1 ) would be 201304.
    please replay ASAP to deliver the report to client.
    thanks in advance.
    -- Rakesh Nagpure

    I am Getting the same error for both the codes that i have written...
    Do i Need to write sth else in the code...
    Code:
    WHEN 'ZVLIVELEASES'.
      IF I_STEP = 2.
            L_DATE = SY-DATUM.
            SELECT * FROM "DSO_ACTIVE_TABLE"
                INTO TABLE ITAB_LL where "EXPIRY_DATE" > L_DATE.
            LOOP AT ITAB_LL INTO WA_LL.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            l_s_range-low = WA_LL-"EXPIRY_DATE".
           APPEND L_S_RANGE TO E_T_RANGE.
            ENDLOOP.
       ENDIF.
    Error: Error for variable in customer enhancement ZLIVELEASES

  • Advanced Custom Field help. Need fiscal quarter/fiscal week.

    A coworker is setting up an MS Project...project, and she asked
    for some help adding a custom field that would convert the Start date field into our Fiscal Quarter Fiscal Week schema, to display as FQFW, e.g. Q1W1. I've written a formula that accomplishes this quite nicely in excel, but I've never even touched Project
    until this week. Apparently it doesn't take formulas quite the same way as Excel does. I tried using the ''Switch" function in Project, and it worked, but it only accepts 14 arguments(right?), and there are obviously 52 weeks we're dealing with. Does
    anyone have any suggestions? Would there be a way to do this using VBA? (I know next to nothing here as well.)
    Formula in excel where A1 is the Start Date:
    =IF(AND(A1>=DATE(2014,2,1),A1<=DATE(2014,5,2)),CONCATENATE("Q1","W",(INT((A1-DATE(2014,2,1))/7)+1)),IF(AND(A1>=DATE(2014,5,3),A1<=DATE(2014,8,1)),CONCATENATE("Q2","W",(INT((A1-DATE(2014,5,3))/7)+1)),IF(AND(A1>=DATE(2014,8,2),A1<=DATE(2014,10,31)),CONCATENATE("Q3","W",(INT((A1-DATE(2014,8,2))/7)+1)),IF(AND(A1>=DATE(2014,11,1),A1<=DATE(2015,1,30)),CONCATENATE("Q4","W",(INT((A1-DATE(2014,11,1))/7)+1)),FALSE))))
    Any and all suggestions welcome.
    Thanks.

    msinnen,
    You're correct, switch statements and if statements can only be nested to 15 levels. However, VBA can get you there. This macro should do what your coworker needs with the following assumptions - the fiscal year starts in January and quarters end on the
    last day of the month, not the last Friday. If either or both of those assumptions are incorrect, then this macro will need some tweaking. Note: the quarter and work week designator will be written into the Text1 field.
    Sub FQuartsandWeeks90()
    Dim t As Task
    Dim Mon As Integer
    Dim Qtr As String, Wk As String
    For Each t In ActiveProject.Tasks
        If Not t Is Nothing Then
            t.Text1 = ""
            Mon = Month(t.Start)
            Select Case Mon
                Case 1 To 3
                    Qtr = "Q1"
                    Wk = "W" & CStr(DatePart("ww", t.Start))
                Case 4 To 6
                    Qtr = "Q2"
                    Wk = "W" & CStr(DatePart("ww", t.Start) - 13)
                Case 7 To 9
                    Qtr = "Q3"
                    Wk = "W" & CStr(DatePart("ww", t.Start) - 26)
                Case Else
                    Qtr = "Q4"
                    Wk = "W" & CStr(DatePart("ww", t.Start) - 39)
            End Select
            t.Text1 = Qtr & Wk
        End If
    Next t
    End Sub
    John

  • Current calday or fiscal period to fiscal quarter

    Dear Experts,
    Is sy-datum calendar day date or fiscal day date?
    How to derive the fiscal period or quarter from sy-datum?
    Is there a function module to use to convert from current day (either fiscal day or calendar day) to derive the current Fiscal Quarter?
    I am not sure which function module can be used. Unable to find in the forum as well.
    Please could you provide me some clues?
    Thanks.
    Best regards
    Bass

    hi Steve,
    try function module 'UMC_FISCPER_TO_CALQUARTER'.
    following is sample code in transfer rules, in update rules use COMM_STRUCTURE for TRAN_STRUCTURE.
    hope this helps.
    data : l_fiscvar type PERIV,
    l_fiscper type UMC_Y_FISCPER,
    l_quarter like UMC_YS_DIMVALS.
    l_fiscvar = TRAN_STRUCTURE-fiscvarnt.
    (infoobject 0fiscvarnt)
    by default fiscal variant = K4 if not specified
    l_fiscper = TRAN_STRUCTURE-fiscper.
    call function 'UMC_FISCPER_TO_CALQUARTER'
    exporting
    I_PERIV = l_fiscvar
    I_FISCPER = l_fiscper
    importing
    ES_CALQUARTER = l_quarter.
    RESULT = l_quarter.
    ABAP Code Needed to convert Fiscal Period/Year to Quarter
    hope this helps.

  • Calculate the current  fiscal quarter based on zero based month index

    Hi All,
    I need your help to Calculate the current fiscal quarter by adding 1 to a 0 based month index, dividing by 3.0(float or double) and getting the ceiling integer then add one to that number to get the “fiscal” quarter, taking care to loop back to quarter one as necessary.
    please help me to get this.
    Thank you in Advance.
    Ram.

    Hi,
    933478 wrote:
    I need your help to Calculate the current fiscal quarter
    The Q datetime format doesn't match your need ?Scott@my11g SQL>select sysdate, to_char(sysdate,'Q') currentQuarter from dual;
    SYSDATE             CURRENTQUARTER
    10/05/2012 17:35:02 2If your input is the 0-based month, then you could just :Scott@my11g SQL>with monthes as (
      2  select level-1 mon0 from dual connect by level <=12
      3  )
      4  select mon0, to_char(to_date(mon0+1,'mm'),'Q') quarter from monthes;
          MON0 QUARTER
             0 1
             1 1
             2 1
             3 2
             4 2
             5 2
             6 3
             7 3
             8 3
             9 4
            10 4
            11 4

  • Fiscal quarter time characteristic

    Hi,
    Would you guys know if there is a way to create a new time characteristic "fiscal quarter" and add it to all BW reports automatically?
    I do not want to change the transfer rules or update rules because we have many.

    Thanks Adam,
    I was thinking if I add some ABAP code to the transfer routine at the infoobject level (before the transfer rules). This would apply the changes to all transfer rules. The code would calculate the fiscal quarter based on 0FISCPER3.  But I am having trouble accessing 0FISCPER3 characteristic in the new transfer routine I created for the new custom characteristic (in general tab of infoobject).
    Basically, the requirement is to add the characteristic 'fiscal quarter' to all reports without having to change each one individually...
    Is there any way to change the transfer rules globally?
    (PS: I am new to BW)...
    Thanks for your help,
    Paula

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

  • How to get the fiscal yr

    Hi Experts,
    My below query is getting the quarter start, end and previous quarter start and end dates according to the calendar yr..Now I've to get the values accordingly fiscal year..
    Thanks in advance for the support...
    SELECT   MIN (t)"CURNT_QTR_ST_DT", MAX (LAST_DAY (t))"CURNT_QTR_END_DT", ADD_MONTHS(MIN (t),-3)"PREV_QTR_ST_DT", ADD_MONTHS(MAX (LAST_DAY (t)),-3) "PREV_QTR_END_DT" INTO V_CURRQTD_STRT ,V_CURRQTD_END,V_PRVQTD_STRT, V_PRVQTD_END
    FROM (SELECT ADD_MONTHS (TRUNC(TO_DATE(TO_DATE(V_RPRT_DATE)), 'YYYY'), LEVEL - 1)  t,
          TO_CHAR (ADD_MONTHS (TRUNC(TO_DATE(TO_DATE(V_RPRT_DATE)), 'YYYY'), LEVEL - 1), 'Q')QTD
          FROM DUAL
           CONNECT BY LEVEL <= 12) A
           WHERE A.QTD  = V_QUARTER_NUMBER;

    Hi.
    977490 wrote:
    SELECT   MIN (t)"CURNT_QTR_ST_DT", MAX (LAST_DAY (t))"CURNT_QTR_END_DT", ADD_MONTHS(MIN (t),-3)
    FROM (SELECT ADD_MONTHS (TRUNC(TO_DATE(TO_DATE('20-jul-2012')), 'YYYY'), LEVEL - 1)  t,
    TO_CHAR (ADD_MONTHS (TRUNC(TO_DATE(TO_DATE('20-jul-2012')), 'YYYY'), LEVEL - 1), 'Q')QTD
    FROM DUAL
    CONNECT BY LEVEL <= 12) A
    WHERE A.QTD  = 3If I fire this query the output is below:
    CURNT_QTR_ST_DT CURNT_QTR_END_DT   PREV_QTR_ST_DT  PREV_QTR_END_DTE
    01-JUL-12               30-SEP-12                   01-APR-12              30-JUN-12But the values are coming as calendar year, instead of this i need the output like fiscal yr..
    1st qtr--01-apr-yyyy to 30-jun-yyyy
    2nd qtr---01-jul-yyyy to 30-sep-yyyy
    3rd qtr---01-oct-yyyy to 31-dec-yyyy
    4th qtr---01-jan-yyyy to 31-mar-yyyy
    Sorry, it's still unclear what you want. You still haven't posted any sample data (CREATE TABLE and INSERT statements). Seriously, see the forum FAQ {message:id=9360002}; it can help you a lot.
    Your quarters begin and end in exaclty the same places that the regular quarters do, so
    TRUNC (dt, 'Q')     is still the beginning of the quarter that contains DATE dt, and
    ADD_MONTHS (TRUNC (dt, 'Q'), 3)     is still the beginning of the next quarter.
    What you call the quarters is different, however. To get your fiscal quarter "number" (actually a string), you can use
    TO_CHAR ( ADD_MONTHS (dt, -3)
         , 'Q'
         )This will return '4' when TO_CHAR alone would return '1'.
    Furthermore the instead of getting the calender yr start date and end date from the below qry, i need fiscal yr start and end date: ie--01-apr-yyyy to 31-mar-yyyy
    SELECT TRUNC(TO_DATE(V_RPRT_DATE),'YEAR')INTO V_CURRYTD_STRT FROM DUAL;
    SELECT LAST_DAY (ADD_MONTHS (TO_DATE (V_CURRYTD_STRT), 11)) INTO V_CURRYTD_END FROM DUAL;
    output of the above qry
    01/01/2012
    12/31/2012
    Since your fiscal year begins 3 months after the calendar year, you can find the beginng of the fiscal year that includes dt like this
    v_currytd_strt := ADD_MONTHS ( TRUNC ( ADD_MONTHS (dt, -3)
                                            , 'YYYY'
                        , 3              
    v_currytd_end := ADD_MONTHS (v_currytd, strt, 12)
                - 1;where dt is any DATE. (You don't have to use the dual table much in PL/SQL.)

  • Quarter date...

    Hello
    I need to write a program to do the following:
    User enters calendar quarter range on variable screen
    if the "To" calquarter falls in the current quarter, data as of today-7days needs to be picked up
    The issue is, how do I determine which quarter today falls in.. because the fiscal quarter we use is not the same as the calendar quarter. If March is 1st quarter in the regular calendar, for us it is the second quarter. Is there a way for me to maintain the quarter start and end dates for the program to read?
    Thanks
    Kashka.

    SQL> with t as (
      2             select 'Q1 2007' d from dual union all
      3             select 'Q2 2007' d from dual union all
      4             select 'Q3 2007' d from dual union all
      5             select 'Q4 2007' d from dual union all
      6             select 'Q1 2008' d from dual union all
      7             select 'Q2 2008' d from dual union all
      8             select 'Q3 2008' d from dual union all
      9             select 'Q4 2008' d from dual
    10            )
    11  select  *
    12    from  t
    13    where to_date(d,'"Q"MM YYYY') > to_date('Q3 2007','"Q"MM YYYY')
    14  /
    D
    Q4 2007
    Q1 2008
    Q2 2008
    Q3 2008
    Q4 2008
    SQL> SY.

  • Reg:-Previous Year Quarter

    Hi All,
    I need to build a new report on Balance Sheet Quarterly in Financials. My reqiurement is..Show the Quarterly Balance sheet comparing Curent Quarter and Previous year Quarter
    i.e Current Qtr vs Previous Year Qtr.
    In the report levl , I have used Presentation variable for Current Quarter:-FILTER("Facts - GL Balance"."Balance Global1 Amount" USING (Time."Fiscal Quarter" ='@{var_qtr}{2011 Q 1}'))
    In the Dashboard, I used two filters Fiscal Year, Fiscal Quarter.. So if select Fiscal Quarter 2011 Q2 then the user should also be able to see 2010 Q2 data.
    May I know how to achieve this.
    Thanx in advance.

    Hi all,
    I have built a report on Balance Sheet using following columns:
    1) General Ledger Code
    2) Current Quarter
    3) Previous Quarter
    4) Global Amount
    Now I got a new requirement to add a column Variance to the layout which should be difference of (Current Quarter- Previous Quarter).
    For current Quarter, we have used this formula :FILTER("Facts - GL Balance"."Balance Global1 Amount" USING (Time."Fiscal Quarter" ='@{var_qtr}{2011 Q 1}'))
    For Previous Quarter , we have used this formula:-FILTER("Facts - GL Balance"."Balance Global1 Amount" USING (Time."Fiscal Quarter" = ( case when substring('@{var_qtr}{2011 Q 1}' from 6 for 8)='Q 1' then cast(cast(substring('@{var_qtr}{2011 Q 1}' from 1 for 4) as int)-1 as char(4))||' '||'Q 4' when substring('@{var_qtr}{2011 Q 1}' from 6 for 8)='Q 2' then substring('@{var_qtr}{2011 Q 1}' from 1 for 4)||' '||'Q 1' when substring('@{var_qtr}{2011 Q 1}' from 6 for 8)='Q 3' then substring('@{var_qtr}{2011 Q 1}' from 1 for 4)||' '||'Q 2' else substring('@{var_qtr}{2011 Q 1}' from 1 for 4)||' '||'Q 3' end)))
    I need help how to calculate variance..

  • Time conversion form calday to quarter.

    Hi,
    I have calday in ODS with format (MM/DD/YYYY). Now in Cube I want 0fical week and 0fiscal quarter.
    pls give me the logic. fiscal year starts from 1st-oct.
    Regards,
    Sai

    Hi,
    here there is no need of code, it is direct asignment ,
    add the  ficsal variant , fiscal year(0FISCYEAR) , fiscal quarter(0FISCQUAR) and 0calweek in cube level
    in transformations directly map theat 0calday to allthe above objects , fisc varient should be to fiscla varatnt
    and 0calday -
    to calweek, fiscyear and fisc quartere
    by default sysytm converts , you need not write any code for that.
    thansk & regarsd,
    sathish

  • Query - calculate quarter-to-date?

    Hello
    Trying to "do the math" - getting nowhere fast.
    <cfset FirstDayOfQuarter = ?>
    <cfset LastDayOfQuarter = #CreateODBCDate(Now())#>
    SELECT etc.
    WHERE ((order_create_date BETWEEN #CreateODBCDate(FirstDayOfQuarter)# AND #CreateODBCDate(LastDayOfQuarter)#))
    I'm sure there is more than one way to accomplish this, and CF has #Quarter(Now())# but that result just dispalys what quarter you happen to be in now.
    Any help would be appreciated.....
    Thanks- Norman

    We have a very useful table in our data warehouse called period.  The primary key is the date and other fields include fiscal year, fiscal quarter, fiscal period, holiday, and a few more.  You might want to consider something similar.

Maybe you are looking for

  • Bank statement balances is not clearde automatically through BDC.

    Dear Friends, We are using Manual BRS in our client. For this Our client has requested to update the statement automatically. For this we did a BDC progrm to update the statement. BDC program working fine. Because subledger account and main account g

  • OBIEE 11.1.1.6 problems with weblogic user

    Hi, I have set my Active Directory provider access in OBIEE 11.1.1.6, it's working fine for all my users in my active directory, but I can't open my repository online or access answers with weblogic user. My control flag is optional btw. Anybody know

  • Keeps asking for Photo paper

    I have tried everything to fix this problem but to no avail.I am using a Mac,Ipad and an android phone. Cant print with any of them. I tried setting the paper size using the mac but no good. I set the paper size to 81/2 x 11[no change] set to shrink

  • Computer can't detect iphone 4, only detected as camera

    My friend lent me his iphone 4 until i can change my phone, so i went home and connected it to my computer but it only detected it as a still camera. I tried reinstalling itunes and all other advice suggested by people but it still can't be detected.

  • Where can I find my old purchased music that disappeared?

    When trying to upload music from my flashdrive from an old computer to my new computer, i followed the steps online to upload music from the external drive. I had purchased music on my new computer from iTunes, and its gone now. What can I do to get