Selection,Restricted KF,Filters

Hi Experts,
I am reading Help.sap.com to get clear understanding of various query components.I have some idea about them before but after I started working,I feel very confused about various components...
My doubts:
1.I saw lots of SELECTIONS,FILTERS in our Queries.So went in and read about them.It seems like filters,selections,restrictions are same.Is that true?
2.When I am reading about how to create a selection,it seems similar to Restricted Key Figure.are both of these same?whats the difference between two?
3.Sometimes when I am reading I came across term Restrictions.I think its nothing but another name for filters or selections.Am I right?
4.In which kind of situations/requirements,do we use Restricted Key Figures?
5.In which kind of situations/requirements, do we use Filters,Selections?
Thanks alot.
P Olin

Hi Olin,
1)Filters, Selections, Restrictions in simple terms are simply ways of restricting your dataset in the underlying Query
2)A Selection is a restriction either on a KF or a Characteristic - when you create a Selection in the Rows, you restrict a Characteristic by some value, when you create a Selection in the Columns, you restrict a KF by a Characteristic value.
3)Filters are generally Characteristic Restrictions that you create in the Filter section of the Query. These Filters work on the Query before execution to filter out the underlying data provider. Additional Restrictions / Conditions etc. work after these Filters have been applied.
4)Restricted KFs are used in scenarios when you would want the KF values to be determined based on some Characteristic values e.g. PO Value to be displayed for FY '09 & FY '10, here PO Value KF is being restricted on Fiscal Year Characteristic values 2009 & 2010.
5)Filters are used to filter the underlying data provider that the Query is bound to. They are normally Characteristic Restrictions.
Though these terms are interchangeably used, they pretty much serve the same purpose of filtering of data.
--Priya

Similar Messages

  • Overly restrictive Web filtering

    During the day, I'm connected to the Internet behind a very restrictive content filtering appliance. I'd like the ability to simply check my .Mac email and my GMail accounts during lunch, but those sites are blocked.
    What I'm envisioning is using a Web browser at my office (MSIE or Firefox) to connect to a server at my home on port 80 or 443. (Obviously, I'd like my home server to require some kind of authentication to prevent abuse, etc.) My home server would fetch content on my behalf from these other services on whatever ports are necessary (probably 80, 443, etc.) and funnel them back to me.
    I think the answer to my question lies in running my own proxy server at home, but I'm not sure of what my options are. Has anybody out there done something similar to his? I'm hoping for some starting points at the very least.... Thanks!

    Can you get away with whitelisting just the IP addresses and/or websites that your users need to visit? If so, you can probably use just your ASA. Otherwise you're going to want a good web filtering/proxy solution. Check out IronPort, Webwasher, Blue Coat, SurfControl, or even Squid (open source.)
    You can also tie the ASA directly into a filtering product like WebSense, check out the ASA documentation.
    When deploying a web filtering product you can either go "inline" or transparent by using WCCP redirection, but I'd suggest against it, since it breaks normal web browser behavior. Better option is to use WPAD (web proxy auto-detect) and have your browsers point-to and/or be explicitly configured to use the proxy.

  • To change Default Setting of Selection Screen while Filtering on infoobject

    Dear Guru's,
    I just want to know where can I change the Deafult Setting from 100 to 500 which we get in the Selection Screen when we want to Filter on Info-Object level in the Workbook.
    Hope this will clear the question , incase any further information required please let me know.
    Many thanks.

    Hi Kasi,
    Please do not post the same question twice. You can see my reply at:
    Re: To change Default Setting of Selection Screen while Filtering on infoobject

  • How to restrict the filters' interaction between two (or more) dashboard pages?

    Hello,
    I work in OBIEE 10.1.3. and I don't have a lot of experiense with this product.
    I have a problem with report filters’ interaction between dashboard pages. I have created two pages in one dashboard and I navigate from page 1 to page 2. Reports from page 2 have more restrictive data filters (for example, Fiscal Month = Current Month & Fiscal Year = Current Year) than reports from page 1 (Fiscal Month <= Current Month & Fiscal Year = Current Year). If I start from the page 1 and then navigate to the page 2 by clicking on the column that is used for navigation all reports on both pages work fine. However, when I return to page 1 (by clicking on the page name) the data in the reports there is skewed, displaying only the data for Fiscal Month = Current Month. I checked the reports filters and they all get reset from (Fiscal Month <= Current Month) to (Fiscal Month = Current Month). I tried to resolve this by canging filters back to what they were, saving the report, and starting over, but it does not help.
    If anyone knows the solution for my problem, please respond to my post.
    Thank you,

    You can use this workaround:
    Page1: Fiscal Month : CASE WHEN 1=1 THEN 'Fiscal Month' END
    Make this field as 'is prompted' for all the reports in page1.
    For Page2:
    Fiscal Month : CASE WHEN 2=2 THEN 'Fiscal Month' END
    Make this field as 'is prompted' for all the reports in page2.
    This way OBIEE will treat them as two separate fields and the filters will not be messed up.

  • "new selection", restricted key figure and basic key figure

    Hi,
    I have a test report and i have a basic keyfigure "ZRevenue" and "restricted key figure"(its defined over "ZRevenue") and
    a "new selection"(its defined over "ZRevenue").
    Now that i have "material number" and "material color" and "request id" in the rows. ("Material color" is a navigational attribute of material number).
    In the column level i have a basic key figure  "ZRevenue" and "restricted key figure"(its defined over "ZRevenue")  and
    a "new selection"(its defined over "ZRevenue") .
    In a "restricted key figure" or "new selection", we can include a basic key figure or new formula or calculated key figure or an already restricted key figure into it, then we restrict it, with one or more characteristic values. In the report output we get KF values only for those characteristic values, with which it has been restricted. Please correct me if my understanding is wrong.
    Initially i restricted the "new selection" (with material number 1 to 3) and "restricted key figure" (with material number 1 to 4).
    In the cube i have material numbers 1 to 11. Now all the values were displayed from 1 to 11, but for the
    "new selection" (with material number 1 to 3) and "restricted key figure" (with material number 1 to 4) i got values only for 1 to 3 and values for 1 to 4 respectively. This is as expected and is working fine.
    Now i tried to restrict the basic keyfigure  "ZRevenue" with material number 1, the output was only until the material number 4 (this is the greatest value of the material number defined over the "restricted key figure").
    Then i tried to restrict the "new selection" (with material number 1 to 9) , then the output was from 1 to 9 material numbers.
    If i remove the restriction over the basic keyfigure  "ZRevenue" , then i get all the material numbers from 1 to 11, for "new selection" i get values for the material number 1 to 9 and for "restricted key figure" i get values for the material numbers 1 to 4.
    Can some one explain me why this behavior?
    Edited by: sapbi enthusiastic on Jan 31, 2012 11:48 AM

    Hi,
    This is where set theory comes in handy
    So what you have is a basic KF (BKF), a selection (SEL), and an RKF.
    When producing an output, BEx seems to be looking for the union of all the restrictions you place on these. So when your BKF is not restricted, the union comes out to everything in the underlying DSO. When you restrict the BKF for material number 1, this is how the restrictions might have been processed internally
    BKF: Restriction on material 1
    RKF: Restriction on material 1-4
    SEL: Restriction on 1-3
    Union of these three: 1-4
    When you remove the BKF restriction and make SEL restricted to 9, this is how it plays out
    BKF: NO Restriction on material
    SEL: Restriction on material 1-9
    RKF: Restriction on 1-4
    Union of these three: everything.
    As the union ends up giving you everything, you get 11 records. However, as SEL is restricted for 1-9, the SEL will have values for the materials 1-9. Likewise for RKF, you'll get values only for materials 1-4. Hope this clears things up!
    Regards,
    Suhas

  • Problems with PreparedStatement when select restrict are byte params

    Hi,
    i have a problem trying to select information when the "select" has a byte restrict.
    The table in database is:
    CREATE TABLE `positions` (
    `PKID` int(10) unsigned NOT NULL auto_increment,
    `POSCODE` varbinary(30) NOT NULL,
    `ISWTURN` binary(1) NOT NULL,
    `QTT_GAMES` int(10) unsigned NOT NULL default '1',
    PRIMARY KEY (`PKID`),
    UNIQUE KEY `UNIQ_POS` (`POSCODE`,`ISWTURN`)
    ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
    And the test code to get the qtt_games is :
    conn = DriverManager.getConnection (url,user,pwd);
    byte bcode[] = poscode.getByteArrayCode();
    // bcode is inserted ok in another preparedstatement...
    String query = "SELECT qtt_games FROM positions "+
    "WHERE poscode=? and iswturn=?";
    PreparedStatement pstmt = conn.prepareStatement(query);
    pstmt.setBytes (1,bcode);
    pstmt.setByte (2,poscode.getIsWhiteTurn()); //it returns a byte
    ResultSet rs = pstmt.executeQuery (query);
    When pstmt.executeQuery is reached, it's thrown the exception:
    com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '=? and iswturn=?' at line 1
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870)
    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)
    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)
    at com.mysql.jdbc.Connection.execSQL(Connection.java:3170)
    at com.mysql.jdbc.Connection.execSQL(Connection.java:3099)
    at com.mysql.jdbc.Statement.execute(Statement.java:695)
    at app.server.bbdd.MYSQLBDManager.getGamesBasicInfo(MYSQLBDManager.java:942)
    at app.server.bbdd.MYSQLBDManager.main(MYSQLBDManager.java:1068)
    Can anybody tell me what's wrong?? I think the query is ok, but don't know what's happening with this...
    Lots of thanks.

    Hi,
    sorry, i know i've post this same message by error in "new to java" thread.... (i'm new in the forum... can i delete the wrong comment??)
    The SQLState is 42000 (syntax error), but it doesn't give me much information because i had already searched in google why can be the cause of it, but there are only a few comments about problems like this, without a solution...
    The column poscode in the table positions contains an array of bytes that codify a position in a chess board. I've to use this in the WHERE clause because i'm developing a chess game consulting project where there are millions of different positions and i've to get the games that have the same position in it's position history.
    The code to insert the positions is:
    query = "INSERT INTO positions VALUES "+
         "(null,?,?,default) "+
         "ON DUPLICATE KEY UPDATE qtt_games=qtt_games+1";
    pstmt = conn.prepareStatement(query,Statement.RETURN_GENERATED_KEYS);
    pstmt.setBytes(1,bcode);
    pstmt.setByte(2,poscode.getIsWhiteTurn());
    pstmt.executeUpdate();
    which works ok and positions can be seen from mysql browser, but i can't select them using the PreparedStatement..
    I have been searching a lot of information about this problem with no results... this is the why i posted this...
    Any help will be useful, thanks.

  • Is it possible to automatically select all a filters parameters to publish?

    Many filters have numerous parameters and selecting them all manually  is very time consuming and I find that some can be overlooked accidentally.
    So is there any way to simply select everything to publish?

    No. Publishing a parameter has to be absolutely deliberate. Also, there are parameters that cannot be published (e.g., Shape Control Points). Selecting all would generally fail since almost everything has at least one paramter that cannot be published.
    You can, however, add multiple parameters at once to a Rig widget by shift or command clicking (only in single panes at a time - like all of Fill or all of Outline, etc.) and dragging the selection onto the widget in the layers palette.
    Besides: Apple "frowns upon" using too many parameters for FCPX effects (look who's talking!) It's in the documentation -- something about "best practices" -- hahahaha.) I think they want you to think about everything you do add.

  • User selection to return filtered record set

    Hi,
    I want to create a JSP which allows a user to enter search criteria for several columns of a table. I will use the entered values to set the sql where clause and produce the filtered record set. (eg the user enters a particular customer code and status code in order to see a list of orders placed by that customer which have the selected status code.)
    The problem I have is this: I want the input fields for the selection criteria to be combo boxes populated with values from the database.
    What is the best way to do this?

    Hi,
    I want to create a JSP which allows a user to enter search criteria for several columns of a table. I will use the entered values to set the sql where clause and produce the filtered record set. (eg the user enters a particular customer code and status code in order to see a list of orders placed by that customer which have the selected status code.)
    The problem I have is this: I want the input fields for the selection criteria to be combo boxes populated with values from the database.
    What is the best way to do this?

  • Multiple value selection lists - Problem filtering

    I'm builing a news application with publisher, and one of the fields is a multiple value selection list. We're filtering news stories to different pages based on the values. Problem is, I can't get the right content items to display. I did it no problem with a single selection box. The code I'm using is:
    <pcs:foreach expr="folderByPath(folder, '../../Articles')" var="articles">
         <pcs:foreach expr="articles" var="art">
              <pcs:if expr="art.testkeyword == 'choice2'">
                   </pcs:value>"><pcs:value expr="art.headline"></pcs:value></a><br />
              </pcs:if>
         </pcs:foreach>
    </pcs:foreach>
    So if 'choice2' is in a single select list, no problem. If it's part of a multiple select, I get nothing. I'm thinking I'm missing something really easy, like logic operators. But I couldn't find anything of help in the documentation

    Hi,
    Make use of contains function.
    Syntax : contains(string1,string2) this returns true if string 1 has string 2
    Usage
    <pcs:if expr="contains(test,'A')">
    </pcs:if>
    ** 'test' is the name of the multi select box
    Edited by bharatkarthik at 06/22/2007 4:10 PM

  • Reports - Variable Selection, Restriction Issue

    Hi Experts,
    I have an object (Region) in the variable selection screen, which is displaying South, East, North, West and some more junk value.
    I want to have only South, East, North and West on the Variable screen of the Analyzer.
    I have right clicked the Region Char. Variable on the Filter Section and have selected only South, East, North, West.
    But when I try to select the region on the Analyzer. I'm getting all the values including the junk values.
    Can anyone tell me how do I have only these 4 regions nothing apart from that.
    Thanks

    Hi All,
    The data I'm getting is from the Data Provider.
    But I want to restrict only 2 Zones like South and North in the Variable Selection Screen.
    When I try to restrict it at Filter Pane ->select infoobject ->selection variable->right click it restrict.
    Both the Zones are correctly being set on the restriction but when I try to execute it in Analyzer its not displaying me only those zone but all the values.
    Hope its clear. Please reply.
    Thanks

  • Selection/Restriction at F4-help

    Hello Experts,
    I had created an F4 help for the screen field 'Agency_id' , when i click on F4 slection iam able to view all my check table entries with the given cloumns 'Agency_id' , 'Agency_Name' & 'Country_group'.
    'Agency_id'        'Agency_Name'               'Country_group'
    111                                  AAAAA                            05       
    222                                  BBBBB                            05
    333                                  CCCCC                            08
    444                                  DDDDD                            08
    .......etc
    at restriction condition iam able to filter as per 'Agency_id'  & 'Agency_Name' , but when i give 'Country_group' iam getting popup 'No entries found'.
    Please suggest !
    Regards,
    Scogni.

    Hi Chinmay,
    1.
    PARAMETERS: country(20) default 'Germany'.
    2.
    Here explanation is with screen shots.
    http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_elementary.htm
    Also these links can help you.
    F4 help on Selection-Screen
    F4 Help on selection screen
    F4 Help at selection screen
    Re: F4 HELP IN SELECTION SCREEN
    Hope this helps,
    + An
    Edited by: An. on May 13, 2008 1:06 PM
    Please close the question of solved

  • Dynamically select drill toolbar filters

    Hi,
    Is it possible to use drillfilters() as dynamic variable objects to use as filter menus in the drill toolbar during "Drill mode"?
    As an example, I have State and City as two objects. By default if each of these objects are used as drillable dropdown filter objects in drill mode, you see all states and all cities in the data cube by default. My requirement is to first select the State. Secondly, the logic of City dropdown should look at what was selected for State (via drillfilters()?). Based on which state I select, the list of cities would update.
    Is this possible in WEBI XIR2? I have seen the cascading prompt pre-query execution but this is different. This is post-query execution.
    Thanks in advance!
    -Phil

    Hi,
    I guess this is possible.
    Create a custom hierarchy in the universe for the objects state, city ...more if required and export it 
    you will get the option to create a hierachy as: Tools->Hierarchies->custom hierarchies->New
    Now, it will give you the restricted set of cities for the selected state.
    Regards,
    Rohit

  • Shuttle Arrows - Selection Restriction

    Hello,
    Is there a way to remove 'Move All' arrow button in shuttle? I looked at the view source, but could not find any name or ID for the images tags for 'move all' to hide or remove. I want to restrict the user to add maximum of 10 fields to right select box in shuttle. Is there a easy way to do that?
    Sowji.

    Becky,
    I implemented that javascript today. Here is the code. On submit call javascript,
    function setValue() {
    var count = $v('P12_SHUTTLE').split(':');
    if(count.length > 8){
    alert('Please select less that 8 values in shuttle');
    ... instead of alert you can have your own alert message on screen like $x_Show('P12_COUNT_ERROR');
    ...where P12_COUNT_ERROR is a display only Page Item with color red font.
    } else {
    .. your logic on submit
    make sure you hide $x_Hide('P12_COUNT_ERROR'); on load of page.
    Sowji.

  • Multiple Selection Restricted to 5000 : How to increase it ?

    Dear experts ,
    When i make a multiple selection for list inputs , the system restrics the input to 5000. How can i increase the no. of hits ?
    Pls help ....
    Regards

    from OSS note 421576:
    Database selections can only process a limited number of input variables which is dependent on the database. The number of values which can be processed at a maximum differs according to database. For a MS-SQL server, this number is approx. 1000.
    Solution
    Limit the number of selection values correspondingly.

  • Multiple selection in table filters 12c

    Hi all,
    I would like to filter a table using  multiple values in the same filter. According to the normal behavior you can use VALUE1 OR VALUE2 OR VALUE3... in the table filter and it works but I have a new requirement where the "OR" cojuntion must be a ",".
    So the question is:
    How to use  "," as conjuntion instead of  "OR"?
    Jhon
    jdev 12c

    Jhon, there is no such function (never has been). You are trying to create an  IN clause.
    What you can do it adopt the technique I outlined in my blog  JDeveloper 11.1.1.6.0: Escape QBE Operators in Filterable Tables | JDev &amp;amp; ADF Goodies
    Here I use a special syntax in the filter field to modify the query. I'm looking for '_and_' in the field to then search for the word 'and' in the column. However, you can modify the sample, use your own syntax and return an IN clause.
    Timo

Maybe you are looking for