Filter based on two dimensions

Dear friends,
Need your help on below query -
Dimension #1:
A1
A2
A3
B1
B2
Dimension #2:
C1
C2
D1
D2
Apart from this I have the 'Time' dimension.
Now I need to build report with -
Row axis:  Dimension # 1 & #2
Column axis: Time
However, my requirement is -
If my Dimension#1 starts with A*, then applicable Dimension#2 are C1 & C2
If my Dimension#1 starts with B*, then applicable Dimension#2 are D1 & D2
I have 20K rows in Dimension#1 and it is really not possible for me to do Keep & exclude manually.
Also, I tried VBA code to delete rows.  This is very time consuming.
Is there any way to handle this scenario within epm add in?
Pl. help.
Thanks.
Regards,
Sri

Hi Sri,
Kindly explain the requirement with the help of desired screen shot.
Shrikant

Similar Messages

  • How to filter based on two keywords (using And)?

    Something that seems so simple but I just can't figure it out.
    I've added keywords to a lot of my photos. Now I want to find all the keywords that match multiple pictures -- like with Snow AND Tree.
    When I select multiple keywords using shift, it builds a filter Snow OR Tree instead of what I want, Snow AND Tree.
    How do I build up a filter based on multiple keywords with AND logic?
    And along the same train of thought, I imagine someday I might want to even build on this and say Nature is synonymous with Tree or Lake... and then build a filter based on Nature AND Snow. Is this possible?
    Sorry for such an obvious question and thanks in advance.
    Love Lightroom so far, in the 2 days I've played with it and see it as finally being a way to quickly and easily organize and manage my photos.
    Ron

    For NOT it works if you do the following:
    1. Select keyword (e.g foo) to find photos with just that keyword
    2. Ctrl + A to select all
    3. Go to All Photogrpahs in the Library (selection will be maintained)
    4. Go to Edit -> Invert Selection
    This should leave you with all photos without 'foo'.
    Works for me (Windows XP).
    Andy.

  • PerformancePoint - 2010 Scorecard filter based on two data sources (Actual - OLAP/Target - Sharepoint List)

    Hi
    I have KPI's for tasks performed by specific groups within our organization, the actuals are determined by an MDX tuple formula against an AS OLAP data source:
    ([Change Task Assignment Group].[Group Subtype].&[GDC PM], [Measures].[Average task duration - m]) /1440
    The Task Name is provided by a filter, also looking at the AS OLAP data source.
    This woks well and allows us to have a single scorecard for the team, providing actuals depending on the task selected from the filter.  The problem comes in setting targets for the KPI's!  I can only set one target for each KPI and this is
    the same for which ever task is selected via the filter.  The target is stored in a SharePoint list.
    Is it possible to have targets for the different tasks driven by the same filter?  Can a single filter be configured to return values from two data sources to both the Actual KPI value and the Target value?
    Thanks

    A good solution. Liked it very much. Can you please make it a technet blog for others.
    [email protected]

  • Top n  filter in universe based on two measures(MDX expression)

    Hi,
        I have to do filter at universe level based on two measures. for example, i have
    BusAr       year       value
    ddddfd        1997      435433.
    I can able to do filter using mdx expression for busniess area wise top 10 values in universe. using the following syntax
    <FILTER EXPRESSION="Rank([0BUS_AREA].CurrentMember, Order([0BUS_AREA].CurrentMember.Level.Members, [Measures].[D7G51I90GYJ8POGFSYVFPX24F], BDESC))">
    now i want to filter using year wise and business area wise top 10 filter  in universe.   where to add the second member yearwise in Rank () function.
    how to achieve this.
    Regards,
    Shanthakumar.

    Hi,
    I am not sure you want to make a Top n filter on 2 different measures.
    But if you want to make a Top n filter on 2 ore more different dimensions, here is the code.
    IIf(IsEmpty([Measures].[Sales Amount]),null,
      Rank(   StrToTuple( "(" + Generate(Head(Axis(1),Axis(1).Item(0).Count) AS RN,
      "Axis(1).Item(0).Item(" +
      CStr(RN.CurrentOrdinal - 1) +
      ").Hierarchy.CurrentMember",
      ",") + ")" ),
      Axis(1),   [Measures].[Sales Amount]  )    )
    Please note that the code is taking into account all dimensions involved in the rows axis, so the more dimensions yu add in the query the top n will increase the number of values.
    I have successfully tested it on MSAS but it seems that on SAP the "+" character is not allowed...
    Maybe there are some SAP notes to add.
    Didier

  • Sorting dimension member based on two properties

    Hello,
    I am using SP BPC NW 10.0 SP04 (801).
    I have a query regarding sorting dimension member based on two properties. In Report Editor under Sorting and Grouping tab there is option for grouping based on single propery only.
    I have taken Profitcenter in Row axis. There are two properties TYPE and SEGMENT I have taken along with it as local member. A SEGMENT can have multiple TYPE(defined in TYPE property). I have sorted SEGMENT using Report Editor Sorting and Grouping. Now I want to sort TYPE of a segment also.
    Same thing is possible in MS version with SortCol1, SortCol2 etc.. How this can be possible in NW version. Can anyone help in this.
    Thanks & Regards,
    Deepak Palsaniya

    Hi Raju,
    Thanks for reply.
    I am using EPM add-in SP-18 Patch01, Although this is not possible in this patch also.
    Any help in this?
    Best Regards,
    Deepak

  • Unable to filter a formula field based on two conditions

    hi,
    I have a report with 3 subreports in it. When i drill down onto first subreport i am getting correct records in details based on selection criteria but when i am unable to populate the same record count in summary.
    For example
    On summary i see : 60 when i drill down i see 20 records which is correct but not reflecting onto summary report
    the details selection criteria is based on two  fields where field1>=1 and field2= "Text"It is coming out good (20 records) but in summary i am unable to populate this based on same selection criteria
    The main issue i am facing was if i apply a filter on summary selection criteria all the subreport counts are getting affected. Is there a way i can apply filters only one one field
    Please suggest
    Thanks!
    Lucky

    Thanks! for the prompt response Abhilash
    I got part of what you told me. Yes i am calculating the counts in the summary report.
    Basically here is the selection criteria: i need to filter the records based on two conditions. One is x.field1= "Admin" and x.field2=act_pct>=1
    For example:
    Admin Returns         50  but when i dig into details it showing as 20 records ( based on selection criteira above)
    when coming back to summary . 50 what ever is returing here is based on a formula ( if x.field1="admin" then 1 else 0) ..in addition to this i need to filter that by x.field2>=1 which is not taking it     
    Is there any syntax to do this
    If i apply a filter on this particular 50 record its bee applying for whole summary report ...
    And from what you said :
    Why don't you create the summary in the Subreport and maybe use shared variables to bring it back to the Main Report?
    i did not get this
    Please suggest
    Lucky

  • How to suppress the report based on outer dimension in nested report

    Hi Experts,
    We have a report with nesting of two dimensions in rows. They are Program dimension and Account Dimension.
    We need to supress the report based on the program dimension members. i.e whenever there are no values against all the accounts for a particular program that particular program should get supressed.
    In the screenshot attached I am looking to supress the rows 37,38 and 39 as the data against this program is empty.
    However I dont want to supress the rows 31 and 33 as there is a capital data against this program in row number 32. So we have to supress the rows based on absence of data at program level.
    We are using SP14 on BPC 10.
    I remember that such functionality could be acheived in BPC 7.5 by flagging the required dimension to have suppress in Expansion Range. So I guess, similar functionality would be there in BPC 10 as well.
    I have evaluated the option of VBA macro to hide the required rows, but was wondering if we can achieve the same using EPM functionality as we used to do in BPC7.5.
    Thanks in advance for your suggestions!!
    Regards,
    Shiva

    Hi Shiva,
    First you have to check the option Keep Blocks:
    This option will show the whole block even if only one line contain some not zero/empty cells in the row.
    Second, when you select option Filter on All Columns/Rows you have to select OR as operator between columns:
    In this case the test for >0 (or for <0) will be applied to each column and the result will be OR'ed with other columns. True will be even if one column contains not zero and not empty cell.
    You logic to check individual column require to hardcode the members - not good!
    Vadim
    P.S. If you select AND for Filter on All Columns/Rows - then only lines with all cells with non zero / non empty will be shown as in your example!

  • How to combine two dimension in dashboard??

    Dear experts,
    I have a requirement that i need two combine two dimension in dashboard.
    Ex:-
    -  I have two different providers (Query1 and Query2) and both is having common dimension called Plant.
    - The plant from both query is having different values (for example, Query1 Plant = A,B,C and Query2 Plant = D,E,F,G)
    - Now I want the total list of plants from both query and list of plants will be used as filter on combo box in dashboard.
    Note: List of values for Plant (dimension) may increase or decrease from both query.
    Thanks and regards
    Vijay Muniraj

    Hi Vijay,
    How can you combine the 2 queries as a single query in dashboard?If i understood the query,use a Multiprovider for your requirement and get the combined results in single query and use Plant as single prompt in the dashboard(If you are getting data from BI).You cannot merge this behaviour in the dashboard.(In Web Intelligence you can merge it based on common dimension values only).
    Regards,
    Venkat

  • Two dimension in JTable and date.

    Hi,
    Can anyone show me or teach me how to create two dimension in JTable.
    The column is time ie 12pm-1pm, 1pm-2pm.......3am-4am, and the row is monday, tuesday .....sunday.And row should consists of day and date ie monday 1/4,tuesday 2/4.....sunday 8/4.
    Thanks for any help.

    Hi,
    You cannot automatically filter members using a mapping based on the smart list. To do that work, i recommend using an UDA (User Defined Attribute) or create an attribute dimension associated to your employee dimension.
    Regards,
    David Mendele
    BI / EPM Project manager at Business & Decision
    Lima, Peru

  • Web Server Filter Based SSO to Non-SAP Apps

    Hi,
    I am following SAP Note 442401 for configuring the Non-SAP App for Web Server Filter based SSO using SAP Logon Ticket. Also, I have downloaded the 5_0_2_8.zip file.
    The Readme doc of this zip file says:
    "<b>Changes in Web server filter plugins
    The Web server filter plug ins and the Ticket Toolkit now were separated.
    See subdirectories for further information:
    "C"          the Ticket Toolkit
    "filter"     the Web server filter plug ins
    This is the last released version (5.0.2.8) on SAPSERV.
    Pleaser refer for newer versions to SAP Service Marketplace (http://service.sap.com/patches)
    Technology Components-> SAP SSOEXT -> SAP SSOEXT</b>"
    Zip file has two folders named "C" and "filter".
    "C" folder has cpp code to varify the ticket.
    "Filter" folder has DLLs for the different web servers.
    So far so good . Now, what I want to know is that is placing the  DLL from the Filter folder onto the respective web server and doing some configs, as per the PDF provided with ZIP file, enough?
    Or do I need to do anything else, like writing any class to read and validate the Ticket?
    Thanks,
    Vivek

    See Web Server Filter Based SSO to Non-SAP Apps

  • How to get Distinct Count of Products across two dimensions

    Hi,
    I have two dimensions, Item and Presentations. I need to get distinct count of products for IMD_Id + Merc_Pres_Id. IMD_Id is the lowest member in Item and Merc_Pres_Id is lowest in Presentation. My MDX query is given below but when I apply filters to
    slice it, it does not work and does not give right count. It always gives the count for all.
    /* Last Year Demand - Demand for 12 months back of selected months */
    With
    Member [Measures].[LYDemand]
    as
    Sum(
    Generate(
    EXISTING[All Date].[Fiscal Month Name].[Fiscal Month Name].Members,
    {parallelperiod([All Date].[Fiscal Month Name].[Fiscal Month Name], 12
    ,[All Date].[Fiscal Month Name].CurrentMember)}
    ,[Measures].[Proj Demand]
    /* Last to last Year Demand - Demand for 24 back of selected months */
    Member [Measures].[LLYDemand]
    as
    Sum(
    Generate(
    EXISTING[All Date].[Fiscal Month Name].[Fiscal Month Name].Members,
    {parallelperiod([All Date].[Fiscal Month Name].[Fiscal Month Name], 24
    ,[All Date].[Fiscal Month Name].CurrentMember)}
    ,[Measures].[Proj Demand]
    /* Current Year Active Products */
    Member [Measures].[CYCount]
    as
    CASE
    WHEN
    [Measures].[Proj Demand] > 0
    THEN
    DistinctCount(Existing(([All Items].[IMD Id].[IMD Id],[All Merchandise Presentations].[Merch
    Pres Key].[Merch Pres Key])))
    ELSE
    NULL
    END
    /* Last year Active Products */
    Member [Measures].[LYCount]
    as
    CASE
    WHEN
    [Measures].[LYDemand] > 0
    THEN
    DistinctCount(([All Items].[IMD Id].[IMD Id],[All Merchandise Presentations].[Merch Pres Key].[Merch Pres
    Key], [All Items].[Style Name].CurrentMember, (StrToMember('[All Date].[Fiscal Month Name].&[201401]',CONSTRAINED).Lag(12)
    : StrToMember('[All Date].[Fiscal Month Name].&[201411]',CONSTRAINED).Lag(12))))
    ELSE
    NULL
    END
    /* Last to last Year Active Products */
    Member [Measures].[LLYCount]
    as
    CASE
    WHEN
    [Measures].[LLYDemand] > 0
    THEN
    DistinctCount(([All Items].[IMD Id].[IMD Id],[All Merchandise Presentations].[Merch Pres Key].[Merch Pres
    Key], [All Items].[Style Name].CurrentMember, (StrToMember('[All Date].[Fiscal Month Name].&[201401]',CONSTRAINED).Lag(24)
    : StrToMember('[All Date].[Fiscal Month Name].&[201411]',CONSTRAINED).Lag(24))))
    ELSE NULL END
    SELECT
    [Measures].[CYCount], [Measures].[LYCount], [Measures].[LLYCount],
    [Measures].[Proj Demand],[Measures].[LYDemand],[Measures].[LLYDemand]
    ON
    COLUMNS,
    Non
    Empty([All Items].[Demand Center Name].[Demand Center Name], [All Items].[Style Name].[Style Name])
    ON ROWS
    FROM
    (SELECT (StrToSet('[All Items].[Style].[ALL]'))
    ON COLUMNS
    FROM
    (SELECT (StrToSet('[All Items].[Demand Center].[ALL]'))
    ON COLUMNS
    FROM
    (select (STRTOSET('[All Items].[Merch Group].&[MG-110]'))
    on Columns
    FROM
    (SELECT (StrToSet('[All Merchandise Presentations].[Merch Pres Chnl Dkey].&[MPC-1]'))
    ON COLUMNS
    From
    [FMI Forecasting]
    WHERE {strToMember('[All Date].[Fiscal Month
    Name].&[201401]',CONSTRAINED) :
    StrToMember('[All Date].[Fiscal Month Name].&[201411]',CONSTRAINED)}
    Requirements are as follows:
    1. Distinct Count should not include products where Proj Demand is 0, when I am using Filter function to remove products with 0 demand, query is really slow and execution time goes up from 35- 40 secs to 8-9 Minutes.
    2. When we apply filter (parameters) Distinct Count should be in the context of filters( which are mentioned in the select statement like Style, Demand Center and Merch Group). Currently after applying filters count does not change.
    Thanks for help.

    Hi Skd78,
    Thank you for your question. 
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated. 
    Thank you for your understanding and support.
    Regards,
    Charlie Liao
    TechNet Community Support

  • How to create LDAP filter-based rule to check Group membership in OAM

    Hi folks,
    I'm having hard time creating an authorization rule to verify ldap group membership. I've followed "Configure User Authorization" article from Oracle website (http://download.oracle.com/docs/cd/E10761_01/doc/oam.1014/b32420/v2authz.htm#BABHBFEJI) and created an Authorization scheme w ldap_attribute_name as User Parameter and ruleExpression as Required Parameter. Then, inside my policy I created an Authorization Rule based on my Authz scheme w Allow Access attrib filter-based Rule which looks like this:
    ldap://ldap_server:port/ou=People,o=Company,c=US??sub?(ldap_attribute_name=ldap_attribute_value)
    This works fine.
    Now, I've added another filter-based rule under the same Authz Rule/Allow Access:
    ldap://ldap_server:port/ou=Groups,o=Company,c=US?uniqueMember?sub?(&(objectClass=groupOfUniqueNames)(cn=ldap_group_name))
    While query looks somewhat correct and works as a command-line argument (slightly modified format), it does not work in OAM (meaning people w out req-d group membership can still login).
    Can someone steer me to the right direction as to what do I need to do:
    1. Change/fix the ldap query
    2. Create new Authz scheme with uniqueMember userParameter; create new Authz rule based on new authz scheme; create new Allow Access filter rule with the ldap query I have
    3. Do smth else
    Any help is greatly appreciated.
    Thank you, Roman

    You can create two authorization rules
    First for user with attribute
    and second for group
    and then in authorization expression you can have AND of these two.
    Regarding your query...
    First ... If your requirement is to give access to all the members of a particular group then you don't require any ldap filters
    All you have to do is in the authorization rule -> Allow access -> Select People (here you have to select group so click on the group tab, its little hard to see but its there in light blue color on dark blue tab) -> select the group you want to give access
    Second.. If your requirement is such that you want to give access to a member of a group which has certain attribute lets say group with status active ( In this case you are not aware of the name of the group because user can be a member of any group but you want to give access only to the group with specific attribute.) then you have to write custom authorization plugin.
    If the option is second let me know i can give you a solution which will work for a single domain without any effort of developing a major plugin.
    Hope this helps,
    Sagar

  • Drill down in report based on two queries

    Hi,
    I have a problem with drilling down in report which is based on two queries.
    Queries are based on different universes.
    Both queries contains almost the same dimensions but different measures.
    In my report is a calculated measure based on measures from both queries.
    In both universes are the same hierachies.
    When I drill down in report for the first time I have to chose hierarchy  but then data are filtered to the choosen  value only from one query , data from second query are not filtered and the values of calculated measure are incorrect
    How can I solve this issue without adding dimensions belonging to the hierarchies to queries.
    Please help.
    Regards.
    MG

    Hi MG,
    First of all, what do you mean by "Both queries contains almost the same dimensions but different measures"
    "Almost" is not a good word in the IT world, especially when trying to merge/join tables. You need to be exact.
    That sounds like a possible reason for the problem.
    I am also not sure about your question:
    "How can I solve this issue without adding dimensions belonging to the hierarchies to queries."
    You may have to add those dimensions to the queries. Why would you not want to?
    Thanks

  • Two dimensions, one fact

    Hello guys,
    The last few hours I've been trying to solve the following issue:
    I've got a small dataset which contains three different tables, two dimension tables and one fact table. The first dimension table is a calendar table (for now I will call this table D1), the second dimension table holds locations (named: D2) and the third (fact) table (named: F1) holds invoice data. What I would do normally is build the following model:
    D1 -< F1 >- D2
    This works fine as long as I only want to know the locations where there is invoice data, so far nothing goes wrong.
    But when I want to know for each year (data coming from D1) which locations there were (coming from D2) I only get back results when there is invoice data in F1 (Off course there is a relation between D1 and D2, the column Year).
    I tried to solve this by doing the following things:
    - Use an alias table (of D1) joined to D2
    - Use different join types - this works for the connection between F1 and D2 as long as D1 is not added to the table source
    - Use different datasources in the Business Layer
    - Join D1 to D2 and F1 in the Physical Layer
    But so far I'm stuck with the same problem: I want to query two dimension tables without a fact table removing results when the fact table doesn't contain any data from one of the dimension tables.
    Is there something I'm overlooking or am I asking something that is just not possible?
    Thanks in advanced,
    Dennis

    Hi Dennis,
    so your D2 location dimension also contains a column "Year"? Isn't this a bit strange?
    Anyway.. if this is the case, then you could see table D2 as a logical fact table, with two logical dimensions: D1 and D2.
    Then you can create a measure based on this new logical fact table and use it as an implicit fact in your subject area. By doing this, the BI Server will use table D2 to join D1 and D2 instead of the invoice fact table.
    Regards,
    Stijn

  • Hierarchy based on one dimension.

    Hi,
    How to create a hierarchy based on one dimension. For example: we have table:
    Category
    Category_ID
    Parent_Category_ID
    I want to create hierarchy, which like as:
    Category_Level_1
    Category_Level_2
    Is it possible without create new alias of table for each level?
    Thanks

    Which version of BO are you using?
    Assuming that you are using BO XI R2 or above version.
    And Is your question - how to create custom hierarchies in Universe Designer..... for two different fields (columns) taken from a single database table?
    If so, yes you can create custom hierachy for above scenario. In Custom Hierarcies option: Add the Parent_Category_ID first and  below that add Category_ID.
    If you want to rename your hierarchy levels as Category_Level_1 & Category_Level_2, then rename their corresponding objects names in Clasess & Objects pane.
    - Anil

Maybe you are looking for