Filter measure column for current year

Hi,
I'm stuck up with issue, we have a report from three tables D1, D2 and F1. In which D1 is time dimension. Now we have report from D2 and F1 with measures, and the report is placed in Dashboard which is having year prompt.
F1 is joined with D2 and D1 Time dimension as well, the requirement is in the report one of the measure column say X should always show the values for current year, while others will show according to prompt values.. In short I want to display one of the measure column for current year, even though the user selects the prompt value for year earlier to it the values should not change.
Please let me know, how to achieve this.
Thanks in advance

I think you can still solve this.
Whatever Srini said keep it.
Now for the date prompt create a presentation variable.
pass this presentation variable in the expression for measure which you don't want the current year.
case d1.year=@{presentationvarialbe} then sum(f1.x) else 0 end
you can also use the filter expression too.
remove year prompt filter from the report. and then add a new filter for the measure as<>0.

Similar Messages

  • Use FI Posting date as a filter value, can I get YTD for current year?

    Dear Expert,
    I work on a BI report which calculate the YTD key figure (restricted by 0CYEAR and =< 0CMONTH).
    One of the requirement for the report is to allow user to enter a value for a date using FI Posting date (although this is optional).
    Without entering the value for FI Posting date, my report works fine.
    But once FI Posting date is entered, no data found.
    I expect that when the value for the FI Posting date is entered, the YTD value will be calcuated starting from the Jan 1 of that FI Posting year to the FI Posting date entered.
    But this seems not happen.
    Could you help me to resolve this problem?
    If there is a better solution, please let me know.
    Very appreciated.
    Arthur

    Hi Dipika,
    Thanks for your reply.
    In my report, FI Posting date is a free characteristic, which user can optionally select it and fiter it for a specific FI Posting Date. Do you consider it as a global filter?
    my query structure is as below:
    rows: profit center, department, manager
    columns: YTD for current year, YTD for Previous year, the difference betwwen the two
    The requirement is when user enter a FI Posting date, use it  to restrict the KF shown above.
    For example, if the FI posting date is March 15, 2008, then YTD for current year should be restricted by the period between Jan 1, 2008 and March 15, 2008 and YTD for previous year should be restricted by Jan 1, 2007 and March 15, 2007.
    Do you have any idea how to implement this requirement in term of FI Posting date?
    Thanks and appreciated.
    Arthur

  • Parameter for current year and previous year

    Hi all,
    I currently have 2 reports where the query is the same except in the where clause I have it filtered to current year and previous year based on the List_Date. I would like to make this one report with a parameter of Current or Previous year.
    Would I create 2 more datasets one for current and another for previous? I would think there is a easier way. Any help or direction would be great.  

    If you define a parameter in SSRS, you can use it's value in your query. Just make sure the parameter name, and CASE (SSRS is case sensitive when it comes to parameters) are the same in SSRS and your query. There's a parameter tab on the dataset properties.
    It SHOULD auto fill, but it never hurts to check, just in case.
    Don't forget to mark helpful posts, and answers. It helps others to find relevant posts to the same question.
    Yes it did auto fill the parameter tab in the dataset and I get a parameter to enter the year when I preview the report. Still a little confused on how I do current or previous year. Are the next steps what I need to do?
    @yearParam parameter:
    1) Create  Available or Default values 
    2) Current and Previous year as label
    3) For Value do I need to use a expression for current year =Year(now()) and previous Year?
    4) Add a filter on the tablix for list_date?

  • MDX syntax for current year in a Pre-defined condition

    Hi,
    I'm looking for assistance in building a Pre-defined condition in a universe based on an MSAS 2005 OLAP cube, that only returns the current year.
    My year is defined as [Time Accounting].[Accounting].[Accounting Year]
    I can create a Pre-defined filter that accepts a constant value as follows:
    <FILTER KEY="[Time Accounting].[Accounting].[Accounting Year]">
         <CONDITION OPERATORCONDITION="Equal">
              <CONSTANT CAPTION="2008"/>
         </CONDITION>
    </FILTER>
    and it works fine, however, I would like to make it dynamic.
    There is an attribute called current year that is defined as [Time Accounting].[Accounting Year].[Accounting Year].[Current Year].[Value] but when I try and put this into my pre-defined filter nothing is returned:
    <FILTER KEY="[Time Accounting].[Accounting].[Accounting Year]">
         <CONDITION OPERATORCONDITION="Equal">
              <CONSTANT CAPTION="[Time Accounting].[Accounting Year].[Accounting Year].[Current Year].[Value]"/>
         </CONDITION>
    </FILTER>
    Is this possible? What am I doing wrong?
    What I'm ultimately aiming for is a rolling 12 month condition.
    Thanks,
    Colin

    Hi,
    In OLAP universe, you cannot define a filter with CAPTION = another universe object.
    What you can do is CAPTION = String or CAPTION = @Prompt.
    By the way, if you want to achieve what you are requiring, I suggest you create a calculate expression such as:
    <EXPRESSION>
    IIF([Time Accounting].[Accounting Year.].CurrentMember.Properties("Name") = [Time Accounting].[Accounting Year.].CurrentMember.Properties("Current Year"), 1, 0)
    </EXPRESSION>
    Then you can define your filter on your new calculated expression and the operator to Equal and CAPTION = 1
    Didier

  • Budget effected for current year for changing a PO of last year

    Dear Controlling firends,
    I am a MM guy and facing the titled difficulty. The problem is ,suppose a Po had been created in last fiscal year and at that time budget for last year has been consumed as committed. But now when I am changing that particular PO ,even trying to reduce the PO Value than the original one ,it is observed that the revised value is being again showing as committed from this year, current budget. That means the system is treating this change in amount as a new PO of the current year. My FICO collegue is not able to figure out what is the wrong in such behaviour .
    Will some one look into it aand find the solution as it is badly required to be solved without which everything is being messed up.
    Anticipating immediate response from expert CO SDNers.
    Dhruba

    Are you on 11.1.1.x or 11.1.2.x?
    If in 11.1.1.x then you can add asymmetric columns,
    if you are on 11.1.2.x version then you can "add column" with specific members from dimensions, here is little more info:
    Setting Row and Column Layout
    Cheers..!!!
    Rahul S.

  • Write up for current year acquisition

    Dear Friends,
    I have acquired asset worth 10000 in current fiscal year (date 01.09.2008)  and also calculated depreciation for 7 months ie upto 31.03.2009. We have posted depreciation through tcode AFAB.
    Now we want to writeup some amount to this asset. Write up transaction is not allowing write up for this asset since it is current year acquisition. How should i write up now? Your guidance will be very helpful.
    Regards

    Hi,
    as Paul stated already write-up is basically adjustment of PRIOR year depreciation. If you need to adjust current year information, you can either adjust the depreciation key, use a manual depreciation functionality, or for instance post positive (credit) unplanned depreciation. You have several possibilities to realize your requirement.
    Regards,
    Markus

  • General ledger does not match profit and loss for current year

    Closed 2008 and it created some unexpected journal entries. These JEs show up as beginning balances in the 2009 GL. Also net income does not match profit for current period on balance sheet. Tried reversing the unexpected journal entries and this caused the 2009 retained earnings to be more out of balance. How do I fix this?

    As far i understand you have done Balance Carry Forward by FAGLGVTR.
    and your opening balance in next year is not correct as desire in Retain earning account.
    If the case so then kindly check that you have transfer amount from retain earning account to and reserve account in previous year.
    Regards
    Shayam

  • MI31, Include Previous Inventoried batches Flag, WHY only for current year

    Hello All,
    We are using MI31 to generate Physical Inventory documents and our need is to always generate PI for batches having Stock but Not to Generate PI for Batches which have Stock 0 and are already counted(posted) atleast Once.
    Means if a batch has 0 stock today, we did an inventory count now and post successfully, Now for future we DON'T WANT TO COUNT THIS BATCH ANYMORE.
    We though of achieving this by running MI31 two times, once for batches with non-zero stock and second time for batches with zero stock.
    So, first time, with Flags "Only Mat without zero stock" and "Incl Batches subj to PhyInv", so that everytime PI is created.
    Second time, with Flag "Only Mat with zero stock" and WITHOUT marking flag "Incl Batches subj to PhyInv", so that a new PI doc is created only if there is no doc created earlier for this batch. This is working well but only wrt to CURRENT YEAR. If there is a PI doc for this batch which is processed last year, then again a new doc is created if I run this year which is NOT NEEDED.
    Is there any other customisation/setting/way to avoid these extra documents ?? We don't want to print PI this year for batches with zero stock which are already processed in 2010 (or earlier) and want to ignore them permanently.
    I hope I am clear in my query.
    Regards,
    Diwakar

    Thanks for the reply Jurgen.
    Yes, Archiving is one option but not sure would be agreed, I will discuss the pros n cons for it.
    if you dont want to count zero stock batches, then click the button "Acc.to Stock " in the middle of the selection screen and activate the box for only material without zero stock
    This will NOT ensure that 0 stock batches are counted at least ONCE which is the requirement. Therefore I am thinking for running them separately.
    Anyhow, it means there is NO solution to IGNORE 0 qty batches which are already counted atleast Once (in previous years)  :(
    Can you think of any other workaround to achieve the same (other than archiving) ?
    I guess we can mark them deleted and then play with the deletion flag indicator in this program.

  • Script to update a field for current year

    Is it possible to have a field update to finish the current year? Example 20-- (the dashes to change to whatever year it is). I'm thinking that it's not possible but if someone knows how it can be done I would really appreciate help. Thanks 
    Sorry, I guess I need it to change the entire year, not just the ending.  THanks
    I've tried a few scripts that I found here, such as; year(dateAdd('yyyy', 1, now())) with no luck. I admit I have no knowledge of scripts and may be doing something wrong. Does the script go under the Action tab as a javascript or somewhere else (validation??) Any advice or help would be appreciated. I am using Acrobt Pro version 9.

    You can not just cut and paste scripts since one needs to be aware of the object, the object's properties, and the object's methods that may need to be changed. Form your example it looks like you are trying to use a user defined function call and without the JavaScript for the function the code you posted will not work.
    You will need to use the JavaScript Date object to obtain the current date. You can then use either the 'getFullYear()' or 'getYear()' method to the get the 4 digit year or the 2 digit year and mellenium inicator. From these numbers you can extract the 2 digit year by converting the numbers to strings and then extracting a sub string from the character string.
    The following scripts are custom calculation scripts/
    // using the getFullYear() method:
    event.value = String(new Date().getFullYear()).substr(2,4);
    // using the getYearmillenniumindicator() method:
    event.value = String(new Date().getYear()).substr(2,4);
    If you want the full year:
    // using the getFullYear() method:
    event.value = new Date().getFullYear();

  • Function  module for current year

    Hi ,
    Is there any function module which will give current year only ??
    Regards
    rahul

    data : a(20).
    <b>CALL FUNCTION 'GM_GET_FISCAL_YEAR'</b>
    EXPORTING
    I_DATE = SY-DATUM
    i_fyv = 'V3'
    IMPORTING
    E_FY = a.
    EXCEPTIONS
    FISCAL_YEAR_DOES_NOT_EXIST = 1
    NOT_DEFINED_FOR_DATE = 2
    OTHERS = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    write : a.

  • BC tag for current year?

    Does BC have a tag (ie {tag_year} ) that inserts the current year that can be used in a copyright footer added to pages via a content holder? I've searched through the tag reference docs and cannot find anything.  Thanks!

    Use JS. "var year = new Date().getFullYear()" will return a current year 2013

  • Switch abap to bi and scope  for current year

    Hi Gurus,
    i have 1+ year exp in abap in reputed company. I want to switch carrier in ABAP to BI. I have gone thro. all related foram..just i want to knw as current date scope of BI. If i have exp. of abap. Certification is required is yes then should i get job immediately or within 2-4 months. or can i go to any other module(less coding but more functioning).
    Regards,
    Amol
    Use spell-check to correct your spellings and gramatical mistakes before posting. A good question always invites good answers
    Edited by: kishan P on Jan 23, 2012 11:04 AM

    The scope for BI or any job depends on you. If you can excel in BI, then no one can deny you a job.
    pk

  • Lead time values are not appearing in the report for current year.

    Hi friends,
    Iam checking a report in production.  where lead time values are displayed as 0 for 1 key figure lead time3 (w/0 dim) . i found there is a formula for this it shows like NODIM ( 'Lead Time 3' ).and there is a value for cal.lead time
    how can i get values in the report.
    Thanks ,
    VRV.

    Hi,
    Although your question is not clear, I understood that the formula built on that KF is NODIM. Basically it means, units of measurement is not considered when calculating.
    Eg: 5 Minutes + 5 Kilograms = 10
    You please try to analyze your KF by the above logic. Then you would be able to figure out why the data is not appearing in the report..
    Assign if helps...
    Regards,
    Suman

  • How to create logical columns for current period and prior period

    Hello all.
    Is there any way in obiee to create a new logica column in BMM layer that says "CURRENT PERIOD" AND "PRIOR PERIOD" OR ONE SINGLE COLUMN THAT SAYS "PERIOD".
    In those columns what I need is if it a current period column it shoould have 03/01/2012-03/31/2012 (this month date range)
    and in prior period column I shouldhave 02/01/2012 -02/29/2012(which is previous month date range).These columns I will be using in my reports.
    Please help me if we can create any such columns with these conditions/requirements

    Hi,I have already created he dynamic variables.But I am not getting how to use those variables and create the new logical columns in bmm layer.
    this is what I am trying
    case when VALUEOF("Current Month begin date"."Current Month begin date") ='..' and VALUEOF("Current Month end date"."Current Month end date")
    ='..' then 'current period' end
    I don't really understand what I should write case when VALUEOF("Current Month begin date"."Current Month begin date") ='..'??

  • Current Year Filter

    Hi Gurus,
    I have one simple report. I have to filter that report for current year.
    Then I created filter as Year(ClosedDate) = YEAR(CURRENT_DATE).
    But it is not working my Question is how can I apply current year filter to report?
    Would be appreciated for your help

    Hi every one thanks for your response.
    In database i have "closed Date" column. in my report i am using YEAR(Closed Date) and i am applying filter to this column as YEAR(CURRENT_DATE). i want display all current year columns only.( Report is working fine if i hardcode like YEAR(Closed Date) = 2010.)
    when ever i apply YEAR(Closed Date)=YEAR(CURRENT_DATE) then i am not getting any values becasue in SQL ( i saw in log file) it is not passing value of 2010 it is passing YEAR(CURRENT_DATE) with in single quote. like YEAR(Closed Date)= 'YEAR(CURRENT_DATE)' .
    i did try with CAST function it did not work how can i pass the current year value in to the filter.
    how can i solve this issue please help me.

Maybe you are looking for

  • Wierd dvi port?

    i just bought an Apple Power Macintosh G4 400 (AGP) model number M7824LL/A with an ATY,Rage128Pro graphics card. the dvi port on the back of the card seems to be a wierd shape and my dvi to s-video adapter will not physically connect to it. does anyo

  • Problem with displaying warning message in exit EXIT_SAPMM06E_012

    Hi, I need in EXIT_SAPMM06E_012 exit display warning message. I've created klass Y0108MM_Z1 and message 000 in it. When i display as error message -> message e000(Y0108MM_Z1). everything is fine. but when use message w000(Y0108MM_Z1) it doesn't apear

  • Super?

    Im working on a project and im trying to use inheritance. I have some examples in front of me, and they say that for the constructor i have to have "super" in fron of the ones that im inheriting from the superclass. It keeps telling me that "the call

  • Which has better sound - DVD or highest setting Quicktime?

    Hi (I hope this question did not go through twice) -- I will be engaging in performances where I'll be streaming video and sound from my laptop... my quesiton is - which is better DVD or highest quality Quicktime? - for sound and vid... and by what d

  • Is there a keyboard shortcut for cycling/toggling between layers in Illustrator CC?

    I'm trying to improve my workflow by finding/customizing a key command to cycle through my layers panel without clicking in Illustrator CC. In Photoshop, this command is super easy: opt + [ or ], while moving a layer above the selected one is command