SSAS 2012 Hierarchy with date dependent relationships

Hello,
I have a hierachy defined as the following:
1. Business Line
     1. Fleet
         a Car
A car can change to a different fleet, and we maintain this history with effective start and end dates.
In the DSV, the Fact table joins to the Dimension with the correct car id - dependent on which car record (start and end date wise) the fact should join to.
However, when the cube is processed, any Fact which includes a car which should rollup to a 'new' Fleet, still shows in the 'old/original' Fleet.
The hierarchy does not include any information about the effective dates for the Car. Should it? Or since the Fact joins to the correct Dimension car record, this should not be an issue?
I am new to SSAS and could not find relevant information in the forum or documentation (nor exactly sure how to phrase my issue).
Any suggestions would be greatly appreciated.
Jim

Hi ,
  Could you please post your dimension model diagram? With your explanation it is very difficult to ascertain the cause of the issue. 
Best Regards Sorna

Similar Messages

  • Many-to-many relationship with date dependency

    Hi.
    We have an application which manages membership of users in groups.
    It is typical many-to-many relationship (table users and groups and
    relational table usersgroups). So far so good.
    But we would like to introduce another condition into this relationship
    - date validity.
    For example - person should belong to group only from date1 to date2.
    I think that relational table should contain not only a couple of id's but also
    a two dates (from-to) and all those four together should form primary key.
    Then we should need a condition (where) for such relationsphip.
    But toplink many-to-many mapping doesn't have any features for this.
    Have you any idea how to implement our requirement in another way?
    Thanks.

    Hello,
    I am not sure how you plan on setting those dates for each object in the ManyToMany collection.
    The only way I can think of is to treat the usergroup table as its own entity, as a wrapper over groups (or users) in the many to many collection, allowing the application to set the date values directly. This usergroup entity would have a 1:1 to both user and group, while user and/or group would have 1:M to usergroup.
    Best Regards,
    Chris

  • Hierarchy with time-dependent structure

    Hello, collegues,
    Im attempting to build a report on payrolll data using DS 0HR_PY_1_CE.
    There is a time-dependent structure hierarchy which changes very often (new departments are created\dispatched) on 0ORGUNIT.
    The data granularity in infoprovider is Calmonth.
    To build a report we need to use a derivation either for the beginning or for the end of month.
    In case of a new department creation with derivation set for the last day of month  - new department will show up in the report asigned to the right place on organizational strucure tree.
    If a department being disbanded during the month (since the derivation is set for the end) - the amount will go into not assigned hiearachy nodes which is unaccetable for the business.
    The same thing happens vice versa.
    Any ideas will be highly appreciated.

    hi,
    we have faced the same problem with closed-org units some orgunits get closed over a period of time and they will be in the un assigned nodes in bw.
    its the structure thats maintained in the source and we only get them from the source as it is and we are only loading to bi based on the standrad extractor and its does not pick closed org units.
    my idea would be we need to build a custom extractor based function module which would read the hirarchies based on version and and based on time and keep them in the relevant nodes according to the bussineeds and we can load it to org unit and build hirearchy node variables on them in the report.
    hope this helps.
    Thanks
    krishna.y

  • Problem with drill down on hierarchy with data on diffrent levels

    Hello,
    Im working on a project using oracle bi 10.1.3.4.1, and im kinda stuck with some problems.
    I have a transaction table in which i have data about products, something like :
    prod_id
    amount1
    amount2
    and a product hierarchy which is something like:
    prod_id
    prod_name
    parent_id
    since bi doesnt support hierarchies, i had to faltten the hier table to somehing like this:
    prod_id
    lvl1_prod_id
    lvl2_prod_id
    lvl3_prod_id
    lvl4_prod_id
    and use this as my hierarchy in oracle bi. thus when i drill to lvl3, it will find all the products which are decendents of lvl3 value and group them.
    the problem is, that the hier tree is not even, one product data (in transaction table) can be for lvl4 and another for lvl2. so for a lvl2 product id's in level 3 and 4 will be null.
    when i try to drill to lvl 4, it takes all the rows which have the selected value in column lvl4 and group them, and if lvl 4 is null, it would sum up all the rows that have no parent at lvl4...
    i hope you understand... cause it is a bit complicated..
    anyway i would eventually like to add a filter of != null to the column being drilled down.
    but how do i know which column is it?
    i cant add a != null filter to all the columns since most if not all of them will have null in some lvl (lvl 10 or so).
    one suggested solution was to make a report for each lvl with the !=null filter on the report lvl, and use navigate instead of drilldown... but that would mean i have to make 10 reports for each "real" report... a big problem to maintain.
    hope i was clear enough, any suggestions?
    thanks a lot!

    Hi Ingo,
    Thanks for your reply. If I combine two objects in one objects then I cannot use that object for drill down in my report.
    I want to drill down for both Key and Text.

  • BUFTYPECONV vs Data Dependent Routing

    Hello everyone,
    when using BUFTYPECONV for a service in conjunction with data dependent routing, which buffer type is used for the DDR? The original buffertype or the converted?
    If I re-phrase the question: Which operation is performed first - buffer conversion or data dependent routing?
    Any input on this welcome,
    /Per
    Per Lindstrom R2Meton AB, SWEDEN

    Per,
    The datatype conversion occurs after routing in the server that has been
    chosen to process the service.
    When the server receives the message and sees that it has receved an XML
    buffer for a service with BUFTYPECONV specified, the postrecv function for
    the XML buffer type converts the buffer to FML or FML32. When the service
    calls tpreturn(), if the buffer passed to tpreturn() is an FML or FML32
    buffer, it is converted back to XML before the reply message is sent back to
    the caller.
    <plindstrom> wrote in message news:[email protected]..
    Hello everyone,
    when using BUFTYPECONV for a service in conjunction with data dependentrouting, which buffer type is used for the DDR? The original buffertype or
    the converted?
    >
    If I re-phrase the question: Which operation is performed first - bufferconversion or data dependent routing?
    >
    Any input on this welcome,
    /Per
    Per Lindstrom R2Meton AB, SWEDEN

  • Table with DropDownBox with data from child node

    Hi,
    I have following context:
    Node Parent (0..n)
    -- Node Child (0..n)
    Child Attribute 1
    Child Attribute 2
    -- Parent Attribute 1
    -- Parent Attribute 2
    The parent node has a child node with cardinality 0..n. Now I created a table from the Parent node with several columns. In one column is a
    DropDownBox that should display the data of the Child node, depending on the Parent node element.
    Parent             |  Parent  DropDownBox           |
    Parent 1                       | Parent 1 Child Attribute 1     |
    Parent 1 Child Attribute 2     
    Parent 2            | Parent 2 Child Attribute 1     |
    Parent 2 Child Attribute 2     
    How can I fill the child node with data depending on the parent node element? How is the mapping between both?
    IParentElement parentElement;
    IChildElement childElement;
    while (rs.next()) {
       parentElement = wdContext.createParentElement();
       parentElement.setAttribute1(rs.getLong("ID"));
       parentElement.setAttribute2(rs.getString("SYSTEM"));
       wdContext.nodeParent().addElement(parentElement);
          while (rs2.next()){               
             childElement = wdContext.createChildElement();
             childElement.setAttribute1(rs2.getLong("ID"));
             childElement.setAttribute2(rs2.getString("NAME"));
             wdContext.nodeChild().addElement(childElement);
    If the child node is non-singleton I have the following option
    parentElement.nodeChild.addElement(childElement);
    But this doesn't work for singleton nodes. How can I do something similar for singleton nodes?
    Thanks for your help,
    Andi

    Not quite correct.
    You can add more than one <b>element</b> to a singleton node (if cardinality is *:N).
    But a singleton child node exists only once per parent <b>node </b>and not once per parent <b>element</b>.
    That's an important difference.
    Armin

  • Tpdequeue and data depending routing

    Hi all,
    I would like to use data dependant routing. I try to use example from TMQUEUE server's reference.
    *GROUPS
    TMQUEUEGRP1 GRPNO=1 TMSNAME=TMS_QM
    OPENINFO="TUXEDO/QM:/dev/device1:myqueue"
    TMQUEUEGRP2 GRPNO=2 TMSNAME=TMS_QM
    OPENINFO="TUXEDO/QM:/dev/device2:myqueue"
    *SERVERS
    TMQUEUE SRVGRP="TMQUEUEGRP1" SRVID=1000 RESTART=Y GRACE=0
    CLOPT="-s ACCOUNTING:TMQUEUE"
    TMQUEUE SRVGRP="TMQUEUEGRP2" SRVID=1000 RESTART=Y GRACE=0
    CLOPT="-s ACCOUNTING:TMQUEUE"
    TMQFORWARD SRVGRP="TMQUEUEGRP1" SRVID=1001 RESTART=Y GRACE=0 REPLYQ=N
    CLOPT=" -- -qservice1"
    TMQFORWARD SRVGRP="TMQUEUEGRP2" SRVID=1001 RESTART=Y GRACE=0 REPLYQ=N
    CLOPT=" -- -qservice1"
    *SERVICES
    ACCOUNTING ROUTING="MYROUTING"
    *ROUTING
    MYROUTING FIELD=ACCOUNT BUFTYPE="FML"
    RANGES="MIN - 60000:TMQUEUEGRP1,60001-MAX:TMQUEUEGRP2"
    When I do tpdequeue("ACCOUNTING", "service1", ...), I got error in ULOG "4052 ERROR: NULL input buffer not allowed for service 'ACCOUNTING', which uses routing".
    Is it posible to use tpdequeue() with data dependant routing or only TMQFORWARD can dequeue messages from queue?
    Thanks.

    Hi,
    I'm not exactly sure what it is you are trying to do. Although the TMQUEUE servers advertise their service as the name of the queuespace, you cannot apply data dependent routing to that service as the buffer type that service uses is an internal Tuxedo buffer type and not one of the standard buffer types. This is because the service has to pass additional information (such as the information from the TPQCTL structure) besides the buffer being enqueued or dequeued.
    Where you can use data dependent routing is on the delivery of the message to a service performed by TMQFORWARD since TMQFORWARD simply uses tpcall() to invoke the service with the buffer retrieved from the queue.
    I'm not sure I answered your question, but if you could perhaps explain what it is you want to accomplish, I might be able to suggest something.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • 0CS_Item with time-dependent hierarchy

    Dear Experts,
    we are discussing pros and cons for a time-dependent item catalog (characteristic 0CS_item with time dependent hierarchy in BW) within consolidation SEM BCS 4.0. Does anybody has experiences on this topic?
    I am quite sure it will be a performance issue and it means additional reporting effort (e.g. using reference period/year in the report comparing different hierarchies).
    I am not sure if there are any other risks so I it would be great if anybody has some hints.
    Thanks in advance,
    Birgit Laux
    Message was edited by: Birgit Laux

    Birgit,
    Some other things to consider:
    - frequency of changes to item hierarchy. Could lead to a lot of item hierarchies in BW over time.
    - hierarchy validity date does not seem to be displayed when running web queries and thus makes it difficult for the user to select the correct hierarchy when executing the query. Still looking for a fix for this.
    - greater complexity in overall design. Is it really necessary to achieve correct financial statement presentation?
    Virtual cube performance is not great but you could implement the data mart which provides typical BW query performance.
    I stayed away from setting the item as time dependent for these reasons.
    Brian

  • Migrate SQL 2008 Analysis database to 2012 AS database along with data level security defined in current production cube

    I want to migrate Analysis Services 2008 database to 2012 AS database along with data level security defined in current production cube
    Note: Only Production environment have security, while no security is defined in development environment
    Potential Approach:
    1 - Using Synchronization Wizard: Gives me error : "The OLAP element at line1 can not appear under envelope......" and this is because Synchrinzation works only for same version
    and in my case, there are different versions of SQL (SQL 2008 and 2012)
    2 - Using Visual studio conversion wizard - Convert SQL 2008 AS project to 2012 and then process cube, so I can get the cube working but then how can I get data level security since 100's of data level security is defined in production Cube, so how can I
    migrate that across
    3 - Script out XMLA and deploy cube - But then again having issues with how can i script SSAS security
    4 - Would taking backup of SSAS 2008 database and restore to SSAS 2012 will help ?
    Any suggestions would be appreciated
    Thanks,
    Mihir

    Hi Mihir,
    According to your description, you want to migrate the SQL Server Analysis Services (SSAS) 2008 database which have some security setting with it to SSAS 2012, right? We can migrate existing Analysis Services databases either during Setup, by upgrading an
    existing instance of Analysis Services, or after Setup, by running the Migration Wizard. Generally, when migrating a database to another server, all the setting will be migrated. So in your scenario, you can refer to the steps on the links below to migrate
    your SSAS database.
    How to: Migrate Analysis Services Databases
    Migrating Existing Analysis Services Databases
    Regards,
    Charlie Liao
    TechNet Community Support

  • Using Data-Dependent Routing in combination with Membership provider

    Hi there!
    Currently we have two Web applications running on azure using a single SQL database. We are experiencing problems with performance because we are using only one database. We are investigating some solutions like documentDB and elastic scale.
    DocumentDb seems like a really good option for us because it looks like it can be implemented easily and we know just what to do.
    With elastic scale on the other hand we have to figure out what our options are. We are using a membership provider for our users to login in one of the two applications. The other web applications does not use a membershipprovider, it does not use a login
    system at all.
    in the backend of our code we determine a subscription_id for both applications to retrieve tenant data.
    I think we have a few options here
    1. to keep using the membershipprovider we could create a database just for the login mechanism so we can determine the subscription_id, and with that subscription_id we can use Data-Dependent Routing to retrieve the correct data from the correct shard.
    2. We can add extra columns to the Shard Map Manager database (i think i've read that it's not supposed to be used for user data) like username and password so we can login through this database.
    Does anyone has better options than the options mentioned before and can anyone give me advise on how we should deal with these issues?
    Thanks!

    Elmar --
    The best approach would be to maintain the Membership DB in a separate Azure SQL database.  Then you could shard your transaction details across an Elastic Scale set of databases based on the subscription ID.   (The Shard Map Manager
    database is not designed to be extended with additional columns, and Elastic Scale works by caching that Shard Map data in the client application anyway, and those in-memory structures can't be changed).
    You would use an ordinary ADO.Net connection to query membership for a Subscription ID, and then get an appropriate shard-specific connection using the Elastic Scale GetOpenConnectionForKey method, passing the subscription ID retrieved from
    the membership query. 

  • Problems with language dependent master data

    Hi,
    I created a InfoObject with language dependent master data and I am trying to upload data from a flat file.
    My flat file has a 2 digit language code (EN,DE,FR,JP,ES) and when uploading the data it seems that SAP BW is only using the first digit which leads to the situation that EN and ES get treated as duplicate records.
    Any help would be appreciated
    thanks
    Ingo Hilgefort

    Hi,
    ES is the Language for spanish..But the Flat file should have to represent 'S' for Spanish.
    Check in Table T002 for the symbols which represent Languages and that to be used in flat file.

  • Data dependent routing with WebLogic

    How do you do data dependent routing with WebLogic Platform? Does it require additional
    products or can it be done just using WebLogic Platform components?
    Thanks

    WLI, or "WebLogic Integrator" may be what you are looking for, this is a
              full fledged message-flow/routing product built on top of JMS.
              If your needs are simple, you can roll-your-own data dependent routing
              using the WebLogic server built-ins of JMS, which provides reliable
              messaging, in combination with MDBs and/or Messaging Bridges - both of
              which allow the specification JMS selectors (filters). Furthermore,
              your MDB application can enqueue to a specific local destination (or a
              remote one, which is harder) based on the contents of the message it
              receives. Voila.
              For example, WorkQ (local or remote) --> MDB --> JobQ1 or JobQ2 or
              JobQ3. To simplify the MDB logic, JobQs could be on the same server,
              and therefore always available. (This is one of the advantages of
              having a JMS that can run in the same JVM as the app server, the other
              is very fast performance.)
              Tom
              David B wrote:
              > How do you do data dependent routing with WebLogic Platform? Does it require additional
              > products or can it be done just using WebLogic Platform components?
              >
              > Thanks
              

  • This is just to report a problem with Apple updates. I updated recently and the computer brought up my 2012 desktop with all my 2014 files and data including stickies missing! Now I hesitate to do another Apple update. What would you do?

    Apple Updates: This is just to report a problem. I updated recently and on restart the computer restored up my 2012 desktop with all my 2014 files and data including stickies missing!!! Now I hesitate to do another Apple update. What would you do?

    If all your files are missing
    You may have logged in as a different user, such as Guest. Open the Users & Groups pane in System Preferences. Your name should be at the top of the user list, under Current User. See also this support article.   
    If files are missing from one folder
    Change the Finder view mode; for example, from icon view to list view, or vice versa.
    If files are present, but seem outdated
    You may have started up from a different volume (disk.) Open the Startup Disk preference pane and check the selection.

  • SSAS 2012 Tabular. Analysis Services Query Log not working

    Hello.
    It is possible to configure Analysis Services Query Log on SSAS 2012 Tabular (11.0.3321) server? Or this feature works only with Multidimensional server mode?
    It is not a problem for me to configure Query Log on Multidimensional server. But when I'm trying to do this in Tabular server result is always the same: table S_OlapQueryLog created but no data there.
    This problem exist in our production server. And is fully reproduced in test environment. This problem was reproduced with SQL 2012 RTM, CU4, SP1 and SP1 CU1.
    I tryed to configure Analysis Services Query Log by using SQL account. Later by using windows authentification. Accounts was db owners. Later I have used accounts with sysadmin rights. Results was the same.
    In msmdsrv.log i can find only related events like this:
    (12/7/2012 9:22:59 PM) Message: The query log was started. (Source:
    \\?\P:\Olap\Log\msmdsrv.log, Type: 1, Category: 289, Event ID: 0x41210003)
    (12/7/2012 9:25:03 PM) Message: The query log was stopped. (Source:
    \\?\P:\Olap\Log\msmdsrv.log, Type: 1, Category: 289, Event ID: 0x41210004)
    I'm stuck completely with this functionality. So if someone was much luckier than I please write to me.
    Regards
    Audrius

    I agree with Gerhard's comments, but there are a couple of additional points
    - I am not 100 percent sure if queries that are answered by the SE cache are recorded in the query log
    Queries answered by the SE cache are not definitely not recorded in the QueryLog. So depending on the types of queries and the design of your cube you could possible miss a large proportion of the actual end user queries.
    The QueryLog records the QuerySubcube events and there are zero to many of these generated for a given end user query (zero if the query can be answered from cache). The optimizer may also choose to pre-fetch a wider range of data or to break a single range
    into a few smaller requests so it is not a true indication of the actual query that the end user generated.
    Doing a trace is the only way to catch the actual queries submitted by end users.
    http://darren.gosbell.com - please mark correct answers

  • How can I pre-populate a web app input form with data from a webform in the CRM?

    Scenario:
    A customer fills a registration webform. The customers data is stored in BC CRM as usual. This step provides a lead to marketing unit and the team makes a follow up. Upon completion of internal processes. The workflow initiated by this customer filling the registration form is approved.
    Th user is sent a 3rd-party notification with a url to enable the user complete the registration process by entering the information into a web app.
    The Issue:
    The client is requesting that he doesn't want the the customer to re-enter some of the  information that  has been captured in the registration form again since it will be laborious for the user to do this. He wants the system to store this customer data already in the CRM and pre-fill the web app form so that the user just submit the data, so that the item can be in the appropriate web app as web app item.
    Question: Is this possible? Can this be achieved via js. How should I go about it.
    Your assistance will be appreciated.
    Thanks.

    For each option you would need to only have a custom text field for that item. This is where the otpion for each gets populated with javasript.
    Each option is your own html that is a select with options as web app items. A list layout of your web app items is just a select with text and value of that item.
    Your tricky thing is to setup the matrix of rules to define what shows and when. You can do that with data source association between web apps if it is a 1-1 relationship but if it is 1 to many you need to form script matrix to define what happens on each change.
    It depends on the details but thats the core of it.

Maybe you are looking for

  • G/L ACCOUNT LINE ITEM ERROR

    hello experts, i am working on  FI DATASOURCE trying to extract the data for the 1st time since we went live the datasource is G/L Accounts: Line Items  0FI_GL_40 i have executed the infopack and got more than 2.5 crore records in PSA now when i am e

  • Minimum Font Size not working in Safari 4.0.4

    Setting the minimum font size in Safari is ineffectual. Also, there seems to be another problem: the right and left sides of the search box on the right on this page are doubled and look like this: (( )). Are there any solutions to fix these? Thanks.

  • Sound from lap top to tv?

    Hello I have a question Im hoping someone here can answer. I have a HP dv5 and I have my lap top connected to my tv with a HDMI cable. But when Im running my lap top with Windows 7, I dont get the sound out from my tv, only from the lap top??? but wh

  • How can I transfer a playlist from my ipod to the new itunes library?

    I'm trying to transfer a playlist from my ipod to the itunes library so I can burn it to a disc...I knew how to do this easily on older versions of itunes, but I dont know how on the new one. Help please? ASAP

  • Regarding JAI

    hai, I want to run a program using JAI...I have installed it and have set the claspath also..but when i run the program it results in error.... symbol : method add (javax.media.jai.widget.ScrollingImagePanel) location: class RemoteImagingTest add(new