To expand the filter functions in essbase

Hi All,
Please help me to expand the filter functions in essbase like @LIST, @ IDESCENDENTS, @DESCENDENTS , @REMOVE. My expected resulted is the member names in the outline that is indicated by the filter.
This is to get the member names to which a filter definition represents.
For example
If A has three children A1, A2 and A3 and i have a function @IDESCENDENTS(A), then i need a result as A1, A2 and A3.
This is just an example, I am trying for complex one.

Go through
http://docs.oracle.com/cd/E12032_01/doc/epm.921/html_techref/funcs/funclist.htm
There are many commands to select members in a dimension. You can select particular generation using @genmbs anr level members using @levmbre or you can use @relative. You can tag uda if you want to select members randomly.
Technical reference is the best place to start about calculation commands.

Similar Messages

  • About the filter function in OBIEE 11g

    Hi, all.
    when i use the filter function in OBIEE 11g, it turn out a wrong result.
    The operation steps and detail are described as follow:
    1. In the Column Formula pane, I typed the Formula of the column 'count of customer' as:
    FILTER(count(distinct("customer info dimesion"."customerID")) USING ("TradeType Dimesion"."TradeType" = '001'))
    2. But the phisical SQL about this column in the NQquery file is that: "count(distinct(T11520.CUSTOMERID)) as c5, "
    which means that, the filter wasn't applied, right?
    If so, what shall I do in this situation, in other words , how can i make a Condition COUNT?
    Any Suggestion is appreciated!
    Thank you in advance~~O(∩_∩)O~

    Hi katherine,
    FILTER(count(distinct("customer info dimesion"."customerID")) USING ("TradeType Dimesion"."TradeType" = '001'))I think your formula there is mistake like many braces...instead type this in your f(x)
    =>Filter(count(distinct customer_id) USING trade type='001')
    This filter function is same like a case statement,if you filter still gives error write a case statement
    CASE WHEN TradeType Dimesion.TradeType='001' THEN count(distinct customer info dimesion.customerID) ELSE 0 END
    Will it be helpful?,follow this etiquette http://forums.oracle.com/forums/ann.jspa?annID=939
    By,
    KK

  • Missing the filter function in the new version of Spotify? Come over here.

    Hi folks,
    Many of you have requested we re-add an option to filter from artist, album and playlist pages in Spotify. We're considering this feature for newer versions of the application but we're investigating the best solution. Therefore, we have a question which will help us make this feature even better than before:
    What did you mainly use the filter function in Spotify for? 
    Please reply to this thread with your answer.

    @Spotify What sort of kind of question is this? Are you implying that no one at Spotify has a basic understanding of usability? It sure seems like it. First, I have to ask why would Spotify ever remove a feature that is in active use? Second, why do the product managers/developers at Spotify not understand the existing use of "find" or "filter"? The reason this feature was put into the product is the reason it should stay in the product. This sort of functionality has existed in computer interfaces for decades. Visual search (i.e. having a human being visually scan every item manually) is very slow and prone to error. When there is more than a little information on the screen, having the computer search for the human is much more efficient and less prone to error. I would suggest everyone at Spotify get as much remedial education as possible in usability. Here's a place to start: What — Definition of UsabilityUsability is a quality attribute that assesses how easy user interfaces are to use. The word "usability" also refers to methods for improving ease-of-use during the design process.Usability is defined by 5 quality components:Learnability: How easy is it for users to accomplish basic tasks the first time they encounter the design?Efficiency: Once users have learned the design, how quickly can they perform tasks?Memorability: When users return to the design after a period of not using it, how easily can they reestablish proficiency?Errors: How many errors do users make, how severe are these errors, and how easily can they recover from the errors?Satisfaction: How pleasant is it to use the design?There are many other important quality attributes. A key one is utility, which refers to the design's functionality: Does it do what users need?Usability and utility are equally important and together determine whether something is useful: It matters little that something is easy if it's not what you want. It's also no good if the system can hypothetically do what you want, but you can't make it happen because the user interface is too difficult. To study a design's utility, you can use the same user research methods that improve usability.Definition: Utility = whether it provides the features you need.Definition: Usability = how easy & pleasant these features are to use.Definition: Useful = usability + utility.Even using these basic principles, it is easy to see the reasons that Ctrl/Cmd-F should be put back into the product. Measure how long it takes users to find music on a long playlist or long search results page without Ctrl/Cmd-F. And then measure with it. The only failures with the original design of find/filter were (a) that it was less discoverable than it should be in the GUI, i.e. no GUI icon cue and (b) it didn't filter/find using substrings very well or at all. It pains me be a customer of a company where the original wisdom of the people who built the UI of the v0.8.5 client (and previous versions) has apparently been flushed down the drain.  

  • Renaming the filter functionality to search

    Hi,
    Can we rename the filter functionality of ALV  to 'Search'.
    if possible how to do that?
    Regards,
    Lakshmi.

    Hi,
    I think there is no method to change the text for that filter.
    You need to check for any enhancement for this.
    Regards,
    Lekha.

  • How can i extend the filter function to also include an option to select which column to filter on?

    Hi.
    I have built an spry test-page (testing it on my localhost  so i cannot give you direct access to it) here i have an XML file that i show in an dynamic/ repeat table with 5 columns.
    I hvae included an spry filter function to easy filter out records, but the code only allows me to filter on one of the columns.
    I would like to add an extra "select-menu" to define which column the filter should be active for, how can i do that
    Here is the filter code and also the html code for the select-menu and the box to type in what to filter.
    The bold parts is the important parts, i would like the options values from the select menu to be inserted in the filterData function to be able to define which column to do the filtering on.
    var ds1 = new Spry.Data.XMLDataSet("report3.xml", "orders/order", {sortOnLoad: "@id", sortOrderOnLoad: "descending"});
    ds1.setColumnType("date", "date");
    ds1.setColumnType("BUTIKNR", "number");
    ds1.setColumnType("EXTRAFRAKT", "number");
    ds1.setColumnType("job/@idx", "number");
    var jobs = new Spry.Data.NestedXMLDataSet(ds1, "job");
    function FilterData()
        var tf = document.getElementById("filterTF");
        var menu = document.getElementById("searchIdent");
        if (!tf.value)
            // If the text field is empty, remove any filter
            // that is set on the data set.
            ds1.filter(null);
            return;
        // Set a filter on the data set that matches any row
        // that begins with the string in the text field.
        var regExpStr = tf.value;
        if (!document.getElementById("containsCB").checked)
            regExpStr = "^" + regExpStr;
        var regExp = new RegExp(regExpStr, "i");
        var filterFunc = function(ds, row, rowNumber)
            var str = row["@id"];
            if (str && str.search(regExp) != -1)
                return row;
            return null;
        ds1.filter(filterFunc);
    function StartFilterTimer()
        if (StartFilterTimer.timerID)
            clearTimeout(StartFilterTimer.timerID);
        StartFilterTimer.timerID = setTimeout(function() { StartFilterTimer.timerID = null; FilterData(); }, 100);
    html:
                <select name="searchIdent" size="1" id="searchIdent">
                    <option value="@id" selected="selected">ID</option>
                    <option value="date">DATUM</option>
                    <option value="time">TID</option>
                    <option value="BUTIKNR">BUTIK</option>
                    <option value="REF">REFERENS</option>
                  </select>
              <input type="text" id="filterTF" onkeyup="StartFilterTimer();" />
    Contains:
      <input type="checkbox" id="containsCB" /></td>
    Thanks in advance.
    //Rickard H

    Now it works, i had to do it like this:
        var filterFunc = function(ds, row, rowNumber)
            var str = row["@id"];
            if (str && str.search(regExp) != -1)
                return row;
            var str1 = row["date"];
            if (str1 && str1.search(regExp) != -1)
                return row;
            var str2 = row["time"];
            if (str2 && str2.search(regExp) != -1)
                return row;
            var str3 = row["BUTIKNR"];
            if (str3 && str3.search(regExp) != -1)
                return row;
            var str4 = row["REF"];
            if (str4 && str4.search(regExp) != -1)
                return row;
            return null;
    I also had to remove the line "ds1.setColumnType("BUTIKNR", "number");" from the code, otherwise it would not search at all (only searches string types?).

  • How to use the xref function in essbase

    please give some examples

    You have to go through DBAG for more info on @XREF
    here is example of script we use
    SET UPDATECALC OFF;
    FIX(members in employee, members in entity)
    SET CREATENONMISSINGBLK ON;
    "Account_1" = @XREF(_Location alias, "PRODUCT");
    ENDFIX
    what we do is pull data from account_1 of databse 2 to database 1.
    you should specify location alias in database before executing this script.
    good luck.

  • Filter Function in Column Formula is not working properly

    Hi,
    I am using Filter Function in Column formula tab in Answers to calculate the Total sum from the start of the Fiscal month to the Month selected from the Prompt.
    My requirement is I have total sales column. Now I need to calculate TYYTD kind of thing for which I cant use the Time sereis due to my report constraint.
    Instead of that I am using this Filter function on TYYTD column where i am giving the filter as start of the Fiscal month to the month selected from the Prompt.
    For example if I select May month from the Prompt then this TYYTD column should give me SUM(Total Sales) between Feb and May for which I am using the Filter Function. But it giving me only May sales whcih is same as Total Sales column.
    Can anyone throw some light on this as this is very important for us or any alternate solution other than Time sereis measures.
    Did anyone got this kind of issue with Filter Function?
    Regards,
    Azad

    Ok...here's the steps to fix this as efficiently as possible.  I have a whole bunch of mailboxes under "On My Mac" and they have a bunch of mailboxes nested in them.  I get my messages into Apple Mail via IMAP.  (I don't know if this matters.)  The steps below assume you have a similar setup.
    1.  Hold the Option key down and click the dropdown arrow next to each mailbox that has one.  This will cause all nested mailboxes below it to appear.
    2.  Go to the top of the list of mailboxes under "On My Mac" and highlight the first mailbox.  Then hold the Shift key down and highlight the last mailbox in the list.  This will cause all of the mailboxes and nested mailboxes to be highlighted.
    3.  From the menu, select "Mailbox --> Rebuild" and the rebuild process will start.
    4.  Watch the top of the mail screen to see the message count change as the mailboxes are being rebuilt.  Wait until the activity stops before doing the next step.
    5.  As the mailboxes were rebuilt, many messages were reset as "Unread" even though every message was previously "Read."  Make sure the mailboxes you want to affect are still highlighted.  Right-click and select "Mark All Messages Read."
    That fixed the problem for me.

  • Filter Function problems on ALV report. [Resolved]

    Hi,
    I developed an ALV report by using function as below:
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
             EXPORTING
                  I_CALLBACK_PROGRAM = G_REPID
    *            I_CALLBACK_PF_STATUS_SET = status_set
    *            I_CALLBACK_USER_COMMAND  = USER_COMMAND
                  I_STRUCTURE_NAME = 'T_BSIK'
                  IS_LAYOUT        = GS_LAYOUT
                  IT_FIELDCAT      = GT_FIELDCAT[]
             TABLES
                  T_OUTTAB    = TAB_BSIK.
    And this ALV custom report is referenced from standard function FBL5N.
    After i completed this report, i made an comparision of FBL5N and my custom report.
    When I apply the filter function, for example, on the document type, I cannot input 2 characters in the document type field under the filter function. The field length is only 1 character. Similar case results on the field document date.
    While the standard function FBL5N works very nice.
    What should i do to make the filter function of my own ALV report as the same as the standard function FBL5N do?
    Thanks in advance.
    Lala
    Message was edited by:
            Hoo lala

    Oh, i found where the problem is...
    add below 2 statements, then the question is resolved.
      LS_FIELDCAT-ref_fieldname = ****
      LS_FIELDCAT-ref_tabname = ***
    FORM FIELDCAT_INIT tables RT_FIELDCAT.
    CLEAR LS_FIELDCAT.
      LS_FIELDCAT-COL_POS   =  3.
      LS_FIELDCAT-FIELDNAME = 'BLART'.
      LS_FIELDCAT-TABNAME   = 'TAB_BSIK'.
      LS_FIELDCAT-SELTEXT_L = 'Document Type'.
      LS_FIELDCAT-ref_fieldname = 'BLART'.
      LS_FIELDCAT-ref_tabname = 'BSIK'.
      APPEND LS_FIELDCAT TO  RT_FIELDCAT.
    endform.
    Fine now.
    Lala

  • Filter function causing 0 items in combo box

    HI there, I have combobox with the dataProvider set up like below
        <mx:ComboBox rowCount="10" id="selectUser" 
                        dataProvider="{VO.getInstance().clientsResultForAddTrade}" width="258"
                        x="28" y="10" >        
                    </mx:ComboBox>
    in the VO class I have some code that calls the filter function (when clientsResultForAddTrade is refreshed in the clientsDataChangeHandler) when the clientsResultForAddTrade data changes.
          private function clientsDataChangeHandler( event:PropertyChangeEvent ):void{
               clientsResultForAddTrade.refresh();
            public function VO(caller:Function=null)
                if (caller != VO.getInstance)
                    throw new Error("Singleton is a singleton class, use getInstance() instead");
                if (VO.instance != null)
                    throw new Error("Only one Singleton instance should be instantiated");
                //put instantiation code here
                clientsResultForAddTrade.filterFunction = clientAuthorisedFilterFunction;
                 activityWatcher = ChangeWatcher.watch( this, "clientsResultForAddTrade", clientsDataChangeHandler);
                private function clientAuthorisedFilterFunction(item:Object):Boolean
                    var b:Boolean =  item.status == 'Authorised';
                    return item.status == 'Authorised';
    However there are 0 items in the selectUser combobox after the filter function is called, I have checked that it returns true when item.status == 'Authorised'
    Please advise, 10 points available

    Could it be a problem with the way I assign the data in the first place?
    private function handleGetClients(event:ResultEvent):void
                    VO.getInstance().clientsResult=event.result as ArrayCollection;
                    //the following has a filter function in the model that automaticly refreshes
                    VO.getInstance().clientsResultForAddTrade.source = (event.result as ArrayCollection).source;

  • Filter Function Not Working Properly on iOS App

    Spotify Community, The latest version of the desktop app features a filter (Crtl + f) function that allows a user to filter certain tracks from the playlist and "bring them to the forefront."  For example, if I filter my largest playlist (which is 3,000+ songs) for "Nirvana," Spotify presents the 68 Nirvana tracks I have in the playlist.  If I play this playlist while it is featured, it will only play the 68 Nirvana tracks that I have filterd; regardless of being on shuffle or not, the playlist will not play any songs that are not based on the filter criteria. I believe the functionality that I just described above is excellent and how the software is intended on working.  However, in the Spotify mobile app for iOS, the filter functionality does not work like this.  Using the filter function in a playlist will filter the presented songs based on the user's inputed criteria/query, however, the playlist that is being filtered will not restrict it's playback to the criteria that the user has inputted.  For example, if I searched "Nirvana" on the same playlist above on my iPhone, the same 68 Nirvana songs that I have on that playlist would be presented to me.  However, if I selected "Love Buzz" (one of the tracks), then placed the playlist on shuffle, then skipped to the next track, the playlist would then play one of the other 3,000+ tracks from the playlist; it would not restrict playback based on my inputted criteria/querry.   In summary, the filter function on the mobile app does not work propely in accordance to the way it works on the desktop app.  I think most users who have large libraries would like the filter app to work similar to the way I described above. What can we do to get the correct filter functionality implemented on the iOS app? 

    Not sure if this is the way to update my question however I have found an app - "I clear my clipboard" that has cleared the entry so I can copy and paste properly again.

  • DAX query to calculate distinct count respect to a column after a Filter function - SSAS 2012 Tabular

    Hi,
    I'm trying to build the dax query to determine the distinct count for a column returned by the application of a Filter function.
    evaluate(
    row("counter",
    countrows(
    filter(order_summary,
    year(order_summary[change_date]) = 2013) )
    I need to count the distinct values for an id returned by the Filter function.
    Any helps, please? Thanks

    Hi pscorca,
    According to your description, you want to calculate the distinct values for records where change_date is 2013. Right?
    In this scenario, we can use the DISTINCT() function within COUNTROWS(). Please try the expression below:
    =calculate(
    countrows(distinct(order_summary[column])),
    Filter('order_summary', year(order_summary[change_date])=2013)
    Reference:
    Distinct Count Measure in PowerPivot using DAX
    Related Distinct Count
    Best Regards,
    Simon Hou
    TechNet Community Support

  • Dynamic filter function

    I would like to be able to pass a dynamic item.property to the filter function.
    Hardcoding it like this works
    private function filterthis(item:Object):Boolean {
    if(item.companyname == _sortvalue)    // I don't want to hardcode the property of item
         return true;    
         } else {
         return false;
    ----- but this is what I need ------
    private function filterthis(item:Object):Boolean {
    if(item._sortfield == _sortvalue)      // I tried passing in a string but it doesn't work
         return true;    
         } else {
         return false;
    What is the proper way to pass the item.property of my array collection,
    Thanks

    Never mind got it ... item[_sortfield]
    knew it was something simple ... sorry wear too many hats.

  • Filter Function

    Hi
    I am trying to use the filter function in my Report Filters.
    Below is my SQL statement in the report filter but it throws an error that Filter needs an aggregate measure in the first expression.
    Finance.Date = FILTER(Max(Finance.date) USING ABC."Report Period" = 'Daily" AND DEF."Region"="NA")
    Is there something that I am missing here.
    The requirement is to match the date with the max date using the conditions mentioned above in the filter function.
    Any help will be greatly appreciated.
    Exact Error: State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 22038] Function FILTER requires at least one measure attribute in its first argument. (HY000)
    Edited by: vjbez1 on Nov 14, 2012 6:34 AM

    Hi,
    Could you please help me with how I can use the conditions on (MAX(Finance.date)) in the filter by converting to SQL.
    what I mean is, Max(Finance.date) where xxx=yyy and eee=uuu How to write this condition?

  • Question about the Filter type for the trace provide "Microsoft-Windows-Kernel-File"

    Hello all,
    I have moved this question from the Windows
    Server General Forum accorfing to the suggestion from Mr. Justin Gu 
    I have a question about the Filter function for the trace provider "Microsoft-Windows-Kernel-File".
    I can find the Filter function with the following operation.
    Mr. Justin Gu wrote:
    > You create a Data Collector Set for the trace provider "Microsoft-Windows-Kernel-File" and finish completely, then you > can right click it and select Properties.
    In the Properties dialog box, click Filter and
    then select ‘Edit…’. You will be> able
    to see the Filter type and Filter data in the Filter dialog box.
    What
    Kind of Filter can
    I use in this Filter dialog box?
    And, how can I set to exclude the some kind of datas?
    Could you give me your suggestion?
    Thank you.

    What
    Kind of Filter can
    I use in this Filter dialog box?
    And, how can I set to exclude the some kind of datas?
    Could you give me your suggestion?
    Thank you.
    I'm looking for the same information.

  • The find function (Ctl+F) , doesn't not expanding the xml file , to search for given search. If the the xml file is expanded , then find function finds the tag and data. How to fix this.

    The find function doesn't expanding the xml nodes to search. If the xml is expanded , then find function highlights both matching tag and data. how to fix this.
    == This happened ==
    Every time Firefox opened

    <xsl:value-of select="x"/> produces a string that consists of all text nodes in x.
    <xsl:copy-of select="x"/> produces an exact copy of x.
    Go to http://www.zvon.org/ for more information like this.

Maybe you are looking for

  • Airport Extreme, Time Capsule and N and G

    Hi, A quick background. I can't have wires, other than from my iMac to my Airport. So I use wireless. I like the N speed from my mac to my fileserver and even though it is slow compared to ethernet a chronosync job is just fine over night. The proble

  • Cost of sales derivation

    I have a requirement to determine cost of sales derivation. My question is that what are the SAP fields used in determine it . Or is there a field which itself says the cost of sales derivation? Thanks..

  • Hooking up a Dell Lap Top to wireless router

    I purchased a rebuild Dell Lap top for my home office.  We currently have a desk top and two newer wireless computers wired to the internet with a LINKSYS Range Plus Wireless Router.  I don't know how to hook up my computer to go on line, can someone

  • How can I make a query by date with several TDMS files?

    Hi, I have a project that can write and read TDMS files everyday (a file for each day with date and time). There, I can import those files to excel (I choose a file and load it). But, I have a question: How can I make a query by date with those TDMS

  • How to get the tag name of HTMLDocument?

    I am now using JEditorPane to display and edit a html file. My code is like this: kit = new HTMLEditorKit(); doc = (HTMLDocument) (kit.createDefaultDocument()); editor.setEditorKit(kit); editor.setDocument(doc); editor.setContentType("text/html; char