Help on currentyear filter in bw universe

hi experts,
i am using sap bw and created a universe on it.i want to create webi report on that universe such that it should fetch the current year data.but the thing is,i dont want to use prompt so i want to create a present year filter in the universe itself in order to use in webi.so any one could help me regarding this.
i want the syntax of the mdx that must be used in the creation of that filter ?
i am using bo xi 3.1
thanks in advance,
ravi.
Edited by: yrkravi on Dec 23, 2011 1:24 PM

Hi,
Better to apply filter in BW query for to fetch current year data only.After that update the universe and see webi report doesn't ask for any prompt value and every time report fetech current year data.
Thanks,
Amit

Similar Messages

  • How To Capture The Inputs given for a Filter Defined at Universe Level

    Hi ,
    I have a conditional filter defined at Universe level
    Wen this is used for Running Query using web Intelligence, It is asking for a prompt. That is cool and fine
    Now my Question is that , I was unable to capture the prompt value being passed while running the Query .
    For this object I am passing the values at universe Designer(3.1 SP5)
    I would like to capture those prompts, I am not getting the same when I use UserResponse Function
    Please Help me on this
    Thanks in Advance

    Hi
    To capture the prompts values entered at query run time.
    =UserResponse( "Prompt Text") Like ("Enter Values for Sales ID")
    Will give the prompt entered value.
    =PromptSummary()
    Will give the list of prompts entered at Query run time.
    Pleaas find the below link.
    http://bobjblog.wordpress.com/tag/userresponse/
    http://help.sap.com/businessobject/product_guides/boexir4/en/xi4sp5_ffc_en.pdf

  • Need help for publishing web intelligence document (universe) into InfoView

    Post Author: mirage
    CA Forum: Publishing
    Hello all,
    I need help for publishing web intelligence document (universe) into InfoView.
    can't find this information in Business Objects Designer's Guide and in Business Objects Administrator Guide.
    Can somebody give short instructions how can I do it?
    Regards, Slava

    If the change between the 2 types of data has to happen dynamically during run time them
    1. Use 2 dataproviders
         a. Current
         b. Historic
    2. Merge the 2 dimensions
    3. Use Webi variable to switch between the measure of the current and historic universe
    Ex  if [year] < 2010 then historic.[expense] else current.[expense]
    Hope this helps,
    Divya

  • I need app to help me to filter & hide columns in excel sheet?

    Is there any app helps me to filter &amp; hide excel sheet ?

    There are a number of apps that are compatible with Office documents. Apple makes iOS versions of their own iWork apps (Numbers is the spreadsheet) that can be purchased separately. There are also 3rd party combined suites that cost less than the separate Apple apps. Ones often recommended include Documents 2 Go,  Quickoffice and Office2 HD. You'll need to consult the documentation for each app to see if it will have the specific features you need.
    If you want access to the actual Microsoft Excep application and can accept needing a network connection whenever you want to use the application, a server-based solution such as CloudOn might be an option for you.
    Regards.

  • Need help to apply filter in my query

    Hi,
    I have records of incidence in my table. These incidences have two types, one is normal incidence where I have incidence flag N and other is altered incidence where I have incidence flag Y. These incidences can have multiple status like 1. Cancelled 2. Closed 3. Open etc.
    A single incidence can have multiple plan to complete this and further this plan contains multiple activities.
    Now I have to apply a filter for my report, based on below conditions.
    I want to show all the records of incidences for normal incidence.
    exclude records for altered incidence where incidence status = Cancelled
    exclude records for altered incidence where status is closed and plan completion date is null
    exclude records for altered incidence where activity status = Cancelled
    Your help will be greatly appreciated.
    Thanks,
    Shantanu

    Hi, Shantanu,
    This does what you requested:
    SELECT    *
    FROM       table_x
    WHERE       incidence     = 'N'
    OR       (    status               != 1     -- Cancelled
           AND  (   status           != 2     -- Closed
                OR  completion_date     IS NOT NULL
           AND  activity_status          != 'Cancelled'
    ;Among other things, this assumes that status and activity_status are never NULL. If they can be NULL, the solution is a little messier, but only a little: instead of things like
    status   != 1you have to say
    NVL (status, 0)   != 1 
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ {message:id=9360002}

  • Need help with a filter to use in Photoshop CS5

    I am a novice so please be  patient.  Over the past 15 years or so I have been using a simple filter  that I created in Filter Factory to do some analysis on aerial  photographs.  I am way behind on updates (currently using Photoshop CS  (version 8)).  I want to upgrade and am using a trial of CS5.  After  talking with customer support I've found there is no way to use this  filter in CS5 and Filter Factory is no longer supported in the Photoshop  suite.  Can someone help me to create the same filter in Pixel Bender  to use in Photoshop CS5?  I will share the details of the filter if  someone responds.
    Thanks!

    Is the result a one channel image? The Pixel Bender language currently supports one and two channel images, in addition to three and four channel images, but unfortunately the tools do not. You should be able to fake the one channel output by marking only a single channel of a three or four channel image. In any case, give the filter, below, a try. It may not do exactly what you want but it should get you most of the way there. You'll want to duplicate it and modify the arithmetic to satisfy the second filter algorithm once you've got the filter tuned to fit your needs.
    <languageVersion: 1.0;>
    kernel RPlusGDivRMinusG
    <
        namespace: "pixelbender::forum::support";
           vendor: "aif";
          version: 1;
    >
        input  image4 src;
        output pixel4 dst;
        void
        evaluatePixel()
            float4 pointsample = sampleNearest(src, outCoord());
            float  graychannel = (pointsample.r + pointsample.g) /
                                 (pointsample.r - pointsample.g);
            dst = float4(graychannel, 0, 0, pointsample.a);

  • Help with vocal filter

    I just got an interesting project where I'm asked to filter noise and raise the level of a voice recording that was probably done by an answering machine, hand recorder or other such low-fi device. You can barely hear the female voice above the room noise and audio hiss. Similar to a lecture hall with air conditioning motors or electrical buzzing near the recorder and the source voice perhaps 30 feet away, with no microphone. The noise is more consistant than the speaker.
    Can anyone recommend a filter or group of filters within Logic to start with?

    I'm not hopeful for using anything within Logic - the voice seems too close to the surrounding noise, so a gate won't help much. The hiss is fairly easy, but the electrical noises and motor sounds might be too mixed in with the voice to allow much filtering without destroying the vocal itself.
    If this is important to you, you might try SoundSoap. It has tools that might help, as it can sample the noise and apply a filter to reduce it, as long as you have a section that has no voice which you can sample.
    http://www.bias-inc.com/products/soundsoappro/
    It's not cheap, though.
    You could try using a combination of Logic's Expander and Match EQ and experiment, but you describe a situation that's going to be really tough.
    Good luck!

  • How to create a optional filter condition in Universe

    Dear All
    I am using BI 4.1 ( .Unv ) , we need to add a optional condition in Universe. I tried different ways to do it, but unable to do it correctly.
    In one of my approach, I created a report and put a optional prompt there then edited the SQL and copied that prompt condition and pasted that into a Universe condition. Then I used this filter into a report when i ran the report without selecting any value into the prompt it was throwing an error.
    Please suggest if there is any way by which we can do this.
    BO should have this functionality for better end user experience.
    Thanks,
    Mayur

    Hi Bill,
    Yes we are still using .unv as the universe we have is created in 2008 and since then we been migrating this through different versions.
    What I meant is a Filter which is created in the Universe and which has ability to act like a report level optional filter ..means if you select any value then it will fetch data for that selection else it will give data for all LOVs
    Yes BO has optional prompt functionality only for report level filter .. I mean when you pull a dimension into filter panel and select its value equal to prompt and in prompt properties you check mark the Optional Prompt option.
    The requirement is to create a Universe level filter which when used into a report then it should should have this optional prompt functionality. either users can run report with setting some value or without selecting anything.
    Thanks

  • How create filter in olap universe with MDX LIKE Function

    Hi all
    I need to create a filter in a olap universe with the LIKE MDX function.
    Problem:
    There is a dimension with account numbers whit 10 digits like this: 5683492703 and i need to create a filter whit all account numbers whit the number 7 in the sixth position in a olap universe.
    How to do this?
    Thanks all

    Try like this :
    <FILTER KEY="[Level Object Definition]">
         <CONDITION OPERATORCONDITION="Like">
              <CONSTANT CAPTION="_____7*"/>
         </CONDITION>
    </FILTER>
    Not sure if it is _ or ? to represent a single character. Try ? in place of _ if the above code doesn't work.
    Regards

  • Can't install office university 2010 on macbook pro please help me, can't install office university 2010 on macbook pro please help me

    cant install microsoft office university 2010 on macbook pro have been verififed but as i insert disk nothing happens try to manually run the disk and error comes up that it cannot run on operating system have i been sold wrong software or am i missing something? please help me

    if you've got office for windows, then it won't run...
    you need office for MAC...
    if that's what you're talking about wrong operating system...

  • Need Help to provide Filter and Total Provisions for Table Control

    Hi ,
    I need to provide 'Set Filter' and 'Total(Summation)'  Buttons functionality in my application which is having a Table Control. I know these functionality provision with ALV Grid but not with Table control and would appreciate if any body can help me.
    Regards,
    Srinivas

    hi SRINI VASA
    can you provide me with the answer you found to your question, I'm having a spec with the similar requirement.
    Thanks

  • Need help with shuttle filter

    Hi,
    I need to incorporate the filter into my shuttle bean leading list. The way I did it is this.
    in Process Request I put out a button which when clicked will execute the filter function:
    OADefaultShuttleBean shuttle = (OADefaultShuttleBean) webBean.findIndexedChildRecursive("GLRespShuttleRN");
    if (shuttle == null)
    MessageToken[] tokens = { new MessageToken("OBJECT_NAME", "GLRespShuttleRN")};
    throw new OAException("ICX", "FWK_TBX_OBJECT_NOT_FOUND", tokens);
    OAFlowLayoutBean filterChild = (OAFlowLayoutBean)createWebBean(pageContext,FLOW_LAYOUT_BEAN);
    pageContext.putJavaScriptFunction("doFilterSwitch", "function doFilterSwitch(){submitForm('DefaultFormName',0,{FilterSwitch:'Y'}); return true; }");
    OAMessageTextInputBean filter = (OAMessageTextInputBean)createWebBean(pageContext,MESSAGE_TEXT_INPUT_BEAN);
    OAButtonBean filterButton = (OAButtonBean)createWebBean(pageContext,BUTTON_BEAN);
    String findButton = "Find";
    String filterName = "Filter";
    filter.setUINodeName("myfilter");
    filter.setPrompt(filterName);
    filterButton.setText(findButton);
    filterButton.setOnClick("doFilterSwitch()");
    filterChild.addIndexedChild(filter);
    filterChild.addIndexedChild(filterButton);
    shuttle.setFilter(filterChild);
    In Process Form Request:
    if ("Y".equals(pageContext.getRenderingContext().getServletRequest().getParameter("FilterSwitch")))
    String filterItem = pageContext.getParameter("myfilter");
    Serializable[] param = {filterItem};
    am.invokeMethod("filterGLVO",param);
    In AM:
    public void filterGLVO(String filterString)
    GLResponsibilitiesVOImpl glvo = getGLResponsibilitiesVO1();
    glvo.filterQuery(filterString);
    int count = glvo.getRowCount();
    System.out.println("***** count=" + count + "*****");
    glvo.executeQuery();
    In VO:
    public void filterQuery(String filterString)
    setWhereClause("RESPONSIBILITY_ID = :1");
    setWhereClauseParams(null);
    setWhereClauseParam(0, filterString);
    executeQuery();
    When I click the button I see in the log query executing
    Tst Value = 20434
    *** AM Method Called ***
    *** calling glvo method, string:20434***
    ***** count=1*****
    but the leading shuttle list still displays all records not filtered.
    What should I do?
    Thank you
    Anatoliy

    Gyan,
    Thank you much for the clarification on this.
    Yes, I see your point. But let me ask you please - in the context of my problem (leading list in the shuttle not being refreshed) - how does using the view instance instead of view definition helps to refresh the leading list? Because in the code (if you look above in my AM) I still (when using view definition) do execute the VO?
    Would you say that with using the view definition the OAF wouldn't refresh the VO even if you execute query on that VO?
    Thank you
    Anatoliy

  • Help on to Filter records from internal table

    Hi,
    Here is my Internal table and need to filter the records based on some condition.
              OBJID |  ENDDA | MC_SHORT   | MC_STEXT
        1   20000027|20061231|20000027    |WIT-SP
        2   20000027|99991230|20000027    |WIT-SP
        3   20000027|20051131|20000027    |WIT-SP                              
        4   20000033|20070131|20000033    |WIT-SP-BC                                 
        5   20000033|99990931|20000027    |WIT-SP
        6   20000034|20061231|20000034    |WIT-SP-SA                                 
        7   20000035|20061231|20000035    |WIT-SP-Q                                  
        8   20000036|20070131|20000036    |WIT-SP-E       
        9   20000036|99991231|20000027    |WIT-SP
    This is my internal table data. Now i need to delete the records for each OBJID where ENDDA(Date field) is not eaual to the year 9999. And also if there is no OBJID with year as 9999 then need to keep the reocrd for further processing.Here in this case i should not delete that record.
    Please help me out in writing the logic for the same.
    Regards
    Ramesh

    hi Ram
    its very simple please check this code
    DATA : BEGIN OF itab OCCURS 0,
              objid TYPE i,
              endda TYPE d,
           END OF itab.
    itab-objid = 1.itab-endda = sy-datum.
    APPEND itab.
    itab-objid = 2.itab-endda = sy-datum.
    APPEND itab.
    itab-objid = 3.itab-endda = sy-datum.
    APPEND itab.
    itab-objid = 0.itab-endda = sy-datum.
    APPEND itab.
    itab-objid = 4.itab-endda = '20041212'.
    APPEND itab.
    itab-objid = 5.itab-endda = '99991212'.
    APPEND itab.
    itab-objid = 0.itab-endda = '99991212'.
    APPEND itab.
    CLEAR itab.
    LOOP AT itab.
      WRITE : / itab-objid , itab-endda.
    ENDLOOP.
    WRITE :/.
    DELETE itab WHERE endda+0(4) NE '9999' AND objid IS INITIAL.
    LOOP AT itab.
      WRITE : / itab-objid , itab-endda.
    ENDLOOP.
    regards
    navin k

  • Help - How To Filter Out Completed Tasks from Remember

    I am a new user to Blackberry Classic OS 10.3.2. When I view tasks in the Remember app I would like to filter out or hide the tasks that are completed. The completed tasks currently still appear in the list and are crossed out but are cluttering up my list. Note that my tasks are synched to Outlook 2010. I have a long list of tasks and unless I can hide the completed tasks, the Remember app is not feasible. The sorting does not help as there is no way to sort all the incomplete to the top of the list. Thanks - hopefully someone knows a way around this!

    Hi Manuel,
    You should enclose the part you don't want to be checked...
    eg.
    REPORT zreport.
    SET EXTENDED CHECK OFF.  "To deactivate extended checks
    INCLUDE (standard include 1).
    INCLUDE (standard include 2).
    SET EXTENDED CHECK ON.  "To reactivate extended checks
    START-OF-SELECTION.
    Kr,
    Manu.

  • Help with a filter

    Hi everyone,
    I have a simple class that contains a collection of Attribute objects. I'd
    like to write a query that searches for objects that have multiple
    attributes. I've written the following filter, but it doesn't seem to work.
    Any ideas ?
    filter: _attributes.contains ( attr0 ) && ( attr0.name=="Color" ) && (
    attr0.value=="blue" ) &&
    _attributes.contains ( attr1 ) && ( attr1.name=="Height" ) && (
    attr1.value=="tall" )
    In the query, I set the variables like this:
    query.declareVariables ( "Attribute attr0;Attribute attr1;" );
    The result is a Collection with no elements, even though I am sure there is
    in fact an object with these attributes in the database. I'm getting an
    extent of objects of type TestObject.class, and creating the Query with this
    same class. _attributes is a Collection in TestObject, declared in JDO
    metadata as you would expect.
    Thanks in advance for any thoughts.
    -Eric

    Eric,
    The filter looks good. Dumb question: You're not running into case
    sensitivities are you?
    David
    Eric Lindauer wrote:
    >
    Hi everyone,
    I have a simple class that contains a collection of Attribute objects. I'd
    like to write a query that searches for objects that have multiple
    attributes. I've written the following filter, but it doesn't seem to work.
    Any ideas ?
    filter: _attributes.contains ( attr0 ) && ( attr0.name=="Color" ) && (
    attr0.value=="blue" ) &&
    _attributes.contains ( attr1 ) && ( attr1.name=="Height" ) && (
    attr1.value=="tall" )
    In the query, I set the variables like this:
    query.declareVariables ( "Attribute attr0;Attribute attr1;" );
    The result is a Collection with no elements, even though I am sure there is
    in fact an object with these attributes in the database. I'm getting an
    extent of objects of type TestObject.class, and creating the Query with this
    same class. _attributes is a Collection in TestObject, declared in JDO
    metadata as you would expect.
    Thanks in advance for any thoughts.
    -Eric

Maybe you are looking for

  • Error while trying to install SAP 8.8 Pl 10 Server on Windows 7

    Hellow All,                    I am facing the problem while trying to instal the Server and Server Tool os SAP 8.8 Patch Level 10 on the windows server.It is displaying the error failed to installed:1628 error evertime I try to run the Server Instal

  • Does the Finder support reading and burning blu-ray discs?

    Assuming I have an external firewire blu-ray burner (recommendations for this also welcome - which make/model is good, and can I buy an internal model and fit it to a regular DVD external case?) I'd like to keep a few backup discs of my 1TB ReadyNAS

  • Trouble playing.m4v movie on G5

    I have a powerPC G5 1.6 GHz running OS 10.4.11 and have been sent a .m4v format movie which I have tried to play on both Quicktime and iTunes and in both cases the sound plays ok but the picture is just green. What can I d o about this? Thanks

  • Itunes 9.2 ATV no long streaming

    Upgraded to 9.2 because I have IPhone 4.0. Streaming has stopped on all of my ATV. Apple needs to send a fix out ASAP. I am trying to install older version of Itunes if it will let me..

  • My Airport keeps scanning on my mac

    How to Connect Internet to my Dish Receive using an Airport Express?