Filter the attribute members based on th fact data

Hi,
Thanks for reading the post, i have a Q which is related to dimension attributes with MDX only.
I have a dimension which is a role playing of date, i want to limit the members of the attribute when i pulled it to the filter section, for now it shows me everything that are in the underlying table which it is suppose to, but i have 2 keys out of 100
that have corresponding data in fact table. when i slice it with that attribute it filters out the rest but i want to get that in the attribute when it is pulled into filter section.
Is there a way to handle it through MDX, i want to limit the values of a attribute members based on the data in fact table.
Is their a approach to create a attribute to a existing dimension on the fly using MDX????
This is what we can do but cannot:
I can do it by limiting in table in DSV, but as it is a role playing of date there wont be dedicated table for it, and i can't limit in regular date dimension which is out of scope.
I cannot create security role where this role playing dimension doesn't show up there in the list of dimensions so not working that way.
Ideas and solutions are much appreciated..
Guru

Hi,
please find the attachment below and all i am looking for is the members in the attribute should be filtered when i pull that attribute as a filter.
for example:
if i pull the attribute to the filter section it will show something like this:
Dimension   Attribute   operator  Filter Expression
Date           Date          Equal        when i expand  1/1/1900  (no corresponding data in fact)
 1/1/2005 (no corresponding data in fact)
  1/2/2005 (no corresponding data in fact)
  1/3/2005 (no corresponding data in fact)
 12/31/2013 (Has corresponding data in fact)
  1/1/2014 (Has corresponding data in fact)
Now, my filter should show only 12/31/2013 and 1/1/2014 in the member list when i pull that as above.
Thanks Much,
--Guru

Similar Messages

  • In BI how to filter the selection options based on inputs on top field

    Hi Friends,
    In BI, How to filter the selection options based on inputs on top field.
    The system should automatically filter the lower level drop downs based on the selection of a higher level.
    For e.g. :
    If a user selects a Country then the States drop down should only display the State's belongs to the Country. Similarly when a State is selected, the District drop down should display only those District's belongs to the State.
    Thanks in Advance.
    Regards
    Jayaram M

    Hi Anil,
    Thanks for reply but I couldn't use Compounding Characteristic here. Need some other solution.
    Regards
    Jayaram M

  • Filter the secondary datasource based on lookup column

    Hello All,
    I am customizing a List form. I have a secondary data connection which is
    a datasource for my drop down list. I have to filter the datasource based on Lookup column value.
    I know how to filter on the datasource by going to entries and filtering but it does not work with Lookup column.
    Can anyone let me know step by step procedure.
    Regards,
    smith
    smith

    Hi,
    According to your post, my understanding is that you wanted to filter the secondary datasource based on lookup column.
    I recommend to create a cascading drop-down list box in InfoPath.
    You can follow the steps in the article to achieve what you want:
    Create Cascading Dropdown in Browser enabled InfoPath form using InfoPath 2010
    More information:
    Cascading Drop Down List In SharePoint 2010
    Cascading Drop-Down List in SharePoint 2010 using InfoPath 2010
    Dan's SharePoint Blog: InfoPath Tutorial Cascading Dropdown (Does not have the 20 item limit)
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to use SQL import to set the attribute value based on another?

    Hello all,
    I want to set an attribute of a dimension based on another attribute (if matches). Let's say I have a dimension PRODUCT. And I have defined two user defined attributes MANAGER and ISVISIBLE.
    Now within a PERMIT_READ program I want to set the ISIVISIBLE to true where the MANAGER Value is selected from a table.
    Something like
    <define a cursor c1 to select all the Manager values>
    sql import c1 into -
    :MATCHSKIPERR PRODUCT_MANAGER then <PRODUCT_ISVISIBLE (PRODUCT MANAGER) = true>
    <etc>
    Obviously the above is not correct. But I am stuck as to how this can be done? Can some one on this forum please help me with correct syntax/ approach please?
    Thanks a lot.
    Pxsheth
    This statement assigns true to the isvisible attribute for every gc_dim_bu dimension (selected as part of cursor c1).
    SO FAR SO GOOD.. NOW -
    If I want to change the above so that the attribute value gets assigned based on another attribute for the dimension (say a flag). i.e.
    Set the isvisible to true where attribute flag has a certain value. How do I code this in OLAP DML?

    There are a number of ways to do this. If you want to use an attribute that has been defined within AWM as an attribute of Product then simply using the mapping tool to populate the attribute as part of the normal dimension load procedure.
    Alternatively you could create an attribute at the DML level, and assuming you are not using surrogate keys, you can then define a cursor to read the relational table to populate your attribute. Something like this:
    sql declare MKT_BASKET cursor for -
    select PRODUCT_ID, PROD_MGR , PROD_VISIBLE -
    from PRODUCT_DIM
    if SQLCODE ne 0
    then goto ERROR
    sql open MY_CURSOR
    sql fetch MY-CURSOR loop into :append PRODUCT, :PRODUCT_MANAGER, :PRODUCT_ISVISIBLE
    sql close MY_CURSOR
    sql cleanup
    update
    commit
    If you want to create a complex PERMIT function using OLAP DML then personally I would create a formula and assign a program of type BOOLEAN and have the program return a YES or NO depending on the outcome of your test. Then your PERMIT_READ still references a dimension object. For example:
    DEFINE PROD.ISVISIBLE BOOLEAN FORMULA <PRODUCT>
    EQ PRG.ISVISIBLE(PRODUCT)
    DEFINE PRG.ISVISBLE PROGRAM BOOLEAN
    The program will then return Yes or No depending on the processing you need to do.
    Hope this helps
    Keith Laker
    Data Warehouse Solution Architect
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/

  • How to filter the attributes of my features in feature build node?

    Hi,
    I'm working on a text clustering project. After building the text nested attributes (through Build Text node) I used the Feature Build node to create a reduced set of text features. In Oracle Data Mining Concept 11g Release 2 document, page 20-7, it clearly shows that I can choose each feature and filter any term I want or filter them by their coefficient to that feature. Though I can't find that Feature Filter button anywhere on my SQL Developer version 3.2.09. Any help is highly appreciated.
    Thanks,
    Mehrdad

    Hi Mehrdad,
    Right click the Feature Build node and select the View Models menu item and the model you wish to view.
    This will provide a viewer that will show you the generated features.
    There is a combo box that shows the feature id and the grid below displays the details for that feature.
    If you want to then score data, then you would use the Apply node.
    If you are new to Data Miner I think you will benefit by reviewing the OBE courses available off of the Oracle Data Miner page on otn.
    Thanks, Mark

  • How to cusotmize the attribute of being mandatory for master data and order

    Hi,everyone
    how to make the  un-mandatory field on the verdor master data mandatory?
    Also, How  to set to define my own mandatory fields on  purchase order?   I also need to remove the mandatory setting which is pre-set by the system on many docutments&master data.
    How to fullfil them.
    thank very much

    hi
    for vendor master
    spro>Logistics - General>Business Partner>Vendor>Control>Define Account Groups and Field Selection (Vendor)
    or code  OMSG
    material master 
    OMSR
    Purchase Order
    Go to SPRO > MM > Purchasing > Purchase Order > Define Document Types > here get the Field selection key for the PO Doc type
    Now go to SPRO > MM > Purchasing > Purchase Order > Define Screen Layout at Document Level > Here the field selection key, under selection group "GR/IR control", mark "GR-based invoice verification" field as mandatory
    hope it help
    try asking the questions one by one
    regards
    kunal

  • Report script with attribute members

    <BR>In a report script, is there a way to output the attribute members associated with a base mbr. For example, the base member I'm interested in is item codes which is in a sparse dimension with 500k members. Each code has been tagged with 5 attribute members of buyer, warehouse, vendor, product line, and date of last receipt. Desired output is:<BR><BR>Item Code, Buyer, warehouse, vendor, product, and date of last receipt. <BR><BR>Right now I don't care about data at any intersections, rather I just want to output the various attributes associated with each item code. I tried doing dimbottom on items, buyers, warehouse, vendor, etc, but as expected the report would not run. <BR><BR>Thanks in advance for any suggestions.

    <p>Maybe you can use the Outline Extractor, you can download itsomewhere on this website...</p>

  • Filter the unique records

    Hi ,
    for writting a code for "filter the unquie records based on EXNUM AND EXYEAR"
    I HAVE WRITTEN
    "delete the adjacent duplicate from y_v_delivery(defined)
       comparing EXNUM EXYEAR"
    IS IT CORRECT OR NOT

    Hi Bijender,
    First Use SORT for the same.
    SORT y_v_delivery BY EXNUM EXYEAR.
    And then use DELETE..which is correct.
    Reward points if useful.
    Regards,
    Atish

  • Interest calculation based on Net Due Date

    Hi guys: I want the interest calculation based on net due date and not document date or posting date.
    I tried to check the box "ALWAYS CALCULATE INT FROM NET DUE DATE in prepare item interest calculation step, but system gives me message
    "Do not select "Calc.intrst from net due date" for this int.calc.type
    Message no. F7128"
    Here are my questions:
    1- how can i make the system to calculate interest only after the item is due for payment - right now its calculating anyday after the document date
    2- Is this the correct place in configuration to do this?  (ALWAYS CALCULATE INT FROM NET DUE DATE )
    3- Also in T code FINT, how can i run interest posting for only one item rather than all that show up in test run? I tried selecting/highlighting only one but it posts all.
    thanks much
    brian

    HI,
    The system always calculates the interest from the document date of the invoice,
    as of my knowledge there is no setting for the interest calculation from the net due date, so
    what u need to do is when u are running the open item interest run u specify the period of only the date
    from the net due date to required date as of u.
    if u  want to calculate the interest to paticular invoice and  having two invoices
    then u can run  as per the document date and other thing is u can block the invoice for dunnig.
    Regards,
    Padma

  • Get the master table value based on multiple fact tables

    I have an master table which has to filter data based on multiple fact tables
    In the below sample, i need to get the list of MasterTable SId in an single query for fetching data from all the fact tables with an criteria.
    Can u let me know the single query to handle the below situation
    Select count(1) from dbo.DimMaster where sid in
    (Select Master_sid from dbo.factsales where SalesDate < '20141231')
    Select count(1) from dbo.DimMaster where sid in
    (Select Master_sid from dbo.factPurchase where PurchaseDate < '20141231')
    Select count(1) from dbo.DimMaster where sid in
    (Select Master_sid from dbo.factSalary where SalaryDate < '20141231')
    Select count(1) from dbo.DimMaster where sid in
    (Select Master_sid from dbo.factMarket where MarketDate < '20141231')
    ShanmugaRaj

    Please try below:
    SELECT
    (SELECT count(1)
    FROM dbo.DimMaster
    WHERE sid IN (
    SELECT Master_sid
    FROM dbo.factsales
    WHERE SalesDate < '20141231'
    )) as C1,
    (SELECT count(1)
    FROM dbo.DimMaster
    WHERE sid IN (
    SELECT Master_sid
    FROM dbo.factPurchase
    WHERE PurchaseDate < '20141231'
    )) as C2,
    (SELECT count(1)
    FROM dbo.DimMaster
    WHERE sid IN (
    SELECT Master_sid
    FROM dbo.factSalary
    WHERE SalaryDate < '20141231'
    )) as C3 ,
    (SELECT count(1)
    FROM dbo.DimMaster
    WHERE sid IN (
    SELECT Master_sid
    FROM dbo.factMarket
    WHERE MarketDate < '20141231'
    )) as C4
    -Vaibhav Chaudhari

  • Filter Attribute set based on country.

    Hi All,
    In BP(Account to be specific)  Marketing attributes, currently all the attributes of all countries are displayed. The requirement is to display only country specific attributes.Here i  need to maintain the Marketing Attribute Set  for an Account based on the Country of the account.I have done some analysis where in i could find the Event handler " BLUEBOX1ControlEvent" of tile "marketinptree1" which needs to filter the country specific attribute.Can anyone help me in writing the code to achieve this functionality?
    Points will be awarded.
    Regards,
    Shwetha.

    Hi,
    I think it would be better to put the filter already in the MW...
    In the standard version the marketing attribute customizing is distributed bulk (publication <Classification>, replication objects <ATTRIBUTE> and <CLASS>).
    What you would need to do is to delete the publication and both replication objects, create both replication objects again, but with type "intelligent" and define appropiate replication criteria ("ATNAM", ...).
    Finally create appropriate publication/s and subscribe them again.
    Regards,
    Wolfhard

  • How to Select Members Based on Attributes using Excel VBA

    Hi there,Does anyone know how to select members based on attributes using Excel VBA?I don't seem to be able to find macros or functions to do that.Panda

    you can use the Range or the Cells objects to get a reference to your range values
    in this sample the data is on A1 to B5
    Dim lineList(4)
    lineList(0) = Array(Cells(1, 1).Value, Cells(1, 2).Value)
    lineList(1) = Array(Cells(2, 1).Value, Cells(2, 2).Value)
    lineList(2) = Array(Cells(3, 1).Value, Cells(3, 2).Value)
    lineList(3) = Array(Cells(4, 1).Value, Cells(4, 2).Value)
    lineList(4) = Array(Cells(5, 1).Value, Cells(5, 2).Value)

  • How to filter the Rest Api data based on Taxanomy columns

    Hi Everyone,
    We are using SharePoint2010 Standard Edition.
    I wanted get the library details through REST Api. I am using as below:
    https://SiteUrl/_vti_bin/listdata.svc/Documents?$filter=Title eq 'SharePointDoc'
    Here I am able to get the info regarding "SharePointDoc". But when I am trying to get the details from Taxonomy filter, it didn't.
    Can anyone please tell me how can we filter based on Taxanomy fields.
    Thanks in Advance
    Krishnasandeep

    Hi,
    I understand that you wanted to filter the Rest Api data based on Taxanomy columns.
    Per my knowledge, in SharePoint 2010 , not all types of column are available via REST, most annoyingly managed metadata columns are amongst this group of unsupported column types.
    However, in SharePoint 2013, we can filter list items based on taxonomy (managed metadata) columns.
    Taxonomy fields can be now called via REST API using CAML query in REST calls.
    Here is a great blog for your reference:
    http://www.cleverworkarounds.com/2013/09/23/how-to-filter-on-a-managed-metadata-column-via-rest-in-sharepoint-2013/comment-page-1/
    You’d better to change the REST calls and the CAML query to check whether it works in SharePoint 2010.
    More information:
    http://platinumdogs.me/2013/03/14/sharepoint-adventures-with-the-rest-api-part-1/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Restricting the Prompt Values based on Fact table data

    Hi,
    We need dashboard prompts in OBIEE reports that will fetch data from dimension tables. Our all dimensions are conformed dimension having joined with multiple fact tables.
    Because prompts are showing data from dimension table, it is showing all dimension data and few data might not present in the particular fact table that we have used in the report.
    For Example:
    We have one Calendar dimension table that has 20 years data that means all dates. Now we have two fact tables Fact1 and Fact2.
    In Fact1 we have records related to only 2007 Years data. And In Fact2 We have 2008 years data.
    Now We are creating two separate reports in two separate page in one dashboard where the prompt is same. That is Calendar date prompt.
    So In report1, The prompt will be Calendare and Result will be from Fact1. But as the calendar prompt from Calendar dimension, it showing all 20 years data though only 2007 years data is valie.
    Similarly for Report2, It is showing all calendar dates in the prompt where Fact2 is having 2008 year data.
    I want to show only 2007 years dates in the prompt for Report1 and 2008 years dates for Report2. That means I want to restrict prompt values based on the fact.
    It will be great if someone can suggest on this.
    Regards,
    SS

    Hi, I have a similar problem.
    I have two dimensions: time and customer.
    The two dimensions are joined into two Fact Table (Order, Forecast).
    I created a dashboard prompt with two selections: the first is the Year (time dimension) and the second is the Region (customer dimension) with the option "cosntraint."
    When I select a Year, not all Regions are shown, but only those that are present in one of two fact table for the year chosen. Which fact table?
    What criteria will limit the values of the Region?
    Thanks

  • "Filter the LOV based on the selected conditions" RADIO BUTTON doesn' work

    Hi All, I'm trying to create a cascading parameters mechanism, but I found certain difficulties.
    I need to have 2 LOV connect: the master LOV retrieve a list of User's groups, and the detail LOV has to retrieve only the customer's categories that come from the user's groups selected.
    So, in order to retrieve the values I defined on the Administrator:
    1) one custom folder for the master LOV (list of the User's groups) and another custom folder for the details LOV (list of the customer's categories).
    2) The 2 LOV as item classes
    On Discoverer Plus, following the manual ("About filtering lists of parameter values based on selected conditions ("cascading parameters"), I tried to create thw first parameter based on the master LOV, but I DON'T have the radio button "Filter the list of values based on the selected conditions" enabled !!!...I CAN'T USE IT !
    If this radio button is not enabled, I can't link the master parameter with the detail parameter.....
    Anybody can help to discoverer what I missed during the creation of cascading parameters ?
    Thanks in advance for your help
    Alex

    Hi Manav, thanks for your reply !
    I resolved the problem, linked the two custom folders with a join !
    The radio button didn't work just only the parameter where condition has to be deselected and then re-selected !!
    Alex

Maybe you are looking for

  • HP Printing problem

    I know about the loss of some function for my HP C6180 printer. (Can't print from the photo tray) But I have another problem that maybe someone can help with. I can print to a networked HP 4650 using the drivers in Leopard, but every time I print, I

  • Change Max no. of hits in search help

    Dear all, I want to change the max no hits to more then 1000 . please help to resolve this problem. Regards, Chintan

  • GPS! SOMEONE realize this is an issue!!

    So Iphones so called GPS has issues. I understand that its using a mixture of cell towers and other various tools to triangulate a location BUT! IT DOESNT WORK. I have contacted Apple support on several occasions but ironically, they dont even acknol

  • Former PC User Switching To MacBook Pro... Some Questions

    Hey all. Sorry for the newbie question, but I could use some advice. I am a long-time PC user and have finally decided to switch to a MacBook Pro. I am scheduled for a tutorial/purchasing session at the Apple Store on Sunday. Here are my main questio

  • Func variable

    Anyone nows what the Func variable does ? Thanks in advance