OLAP CUBES

Hi I am a little confused.
I am trying to build a cube with 3 dimensions COUNTRY,ORDER and PVPERIOD.
I have mapped the dimensions to the tables . The country table is WD_AUTO_ORDER_GEO. The order table is WD_AUTO_ORDERS and PVPERIOD is WD_AUTO_ORDER_DATES. The dimensions did map correctly. Now I added some measures from my fact table and I am trying to map my cube.
I mapped my measures fine. I still have to map my order dimension in my cube which ORDER is part of my key in the fact table which MAPPED CORRECTLY... Then I mapped country which is part of my key in the fact table. My problem is pvperiod which is not a column or part of my key in the fact table. Pvperiod needs to be a foreign key in my fact table or part of the primary key. Correct??

Hi Pam,
I have taken a look at the table definitions you sent. My guess is that these are the raw tables used by your OLTP system to register orders. This guess is based on the fact that all three 'dimension' tables and the 'fact' table share five columns:
ORDER_NUMBER
COUNTRY
RCN
TYPE
VFILE
The meaning of the ORDER_NUMBER and COUNTRY seem clear enough, though I am less clear on the other columns. But it appears that when a new order is entered you update all four tables. Is this correct?
In a typical data warehouse system the raw transaction data needs to be transformed by a process know as Extract, Transform, and Load (ETL -- http://en.wikipedia.org/wiki/Extract,_transform,_load) to create a Star Schema (http://en.wikipedia.org/wiki/Star_schema). The cube is then loaded directly from the star schema. It may be possible to load the cube directly from your OLTP tables, but that is probably not optimal.
The correct definition of star schema for your system depends on your requirements, but it could include tables like these
TABLE "GEOGRAPHY_TABLE"
  "CUSTOMER_ID" NUMBER,  -- is this RCN in your system?
  "COUNTRY"    VARCHAR2(3 BYTE),
  "STATE"      VARCHAR2(5 BYTE),
  "NAME"       VARCHAR2(45 BYTE),
  "ADDRESS"    VARCHAR2(45 BYTE),
  "ZIP"        VARCHAR2(15 BYTE)
TABLE "DATE_TABLE"
  "DAY"     DATE,
  "MONTH"   NUMBER,
  "YEAR"    NUMBER
)Note that these are not specific to one order -- they can be shared between orders. Your DATE_TABLE would be pre-populated for the period of interest -- a few years, say. The GEOGRAPHY_TABLE would be updated when a new customer appears or when someone changes address. (Changes of address gets you into the world of 'slowly changing dimensions', so you would need to decide how you want your OLAP system to react to this.) Perhaps you don't need the address detail in the cube at all -- it all depends on what queries you want to run against it.
The 'order dimension' is more difficult since it is really an OLTP concept that is harder to fit into an OLAP system. Do you really want your cube to go down to the level of individual orders? What kind of analysis do you want to do there? A single order is pinned to one customer and one order date, so there is really not much dimensional analysis you can perform. An alternative, for example, would be to aggregate up to the level of 'warehouse' in your cube so that you could see how much traffic goes through an individual warehouse. This is certainly multi-dimensional. Your remaining star schema tables could then look as follows
TABLE "WAREHOUSE_TABLE"
"WAREHOUSE"    NUMBER
TABLE "ORDER_FACT"
  -- dimension keys
  "ORDER_DAY"        DATE,
  "CUSTOMER_ID"      NUMBER,
  "WAREHOUSE"        NUMBER,
  -- measures, aggregated from the OLTP tables
)My point in all this is that you need to have a clear idea of what analysis you want to perform on your cube, including which levels (e.g. ORDER) that you need to use. This should be the driver of the cube design, and from here you can work back to the design of the star schema. Perhaps you have already done this analysis, in which case you will be a long way ahead.

Similar Messages

  • How to create olap cube using Named Query Table in Data source View

     I Create on OLAP Cube using Existing Tables Its Working Fine But When i Use Named Query Table with RelationShip To other Named query Table  It Not Working .So give me some deep Clarification On Olap Cube for Better Understanding
    Thanks

    Hi Pawan,
    What do you mean "It Not Working"? As Kamath said, please post the detail error message, so that we can make further analysis.
    In the Data Source View of a CUBE, we can define a named query. In a named query, you can specify an SQL expression to select rows and columns returned from one or more tables in one or more data sources. A named query is like any other table in a data source
    view (DSV) with rows and relationships, except that the named query is based on an expression.
    Reference:Define Named Queries in a Data Source View (Analysis Services)
    Regards,
    Charlie Liao
    TechNet Community Support

  • No data fields are available in the OLAP cube

    i was able to access data in Excel yesterday, but now all the cubes that i have created cannot be accessed by Excel any more and after authenticating and selecting the cell for the pivot table i get this error:
    No data fields are available in the OLAP cube
    i just hope this is some process in HANA that needs restarting and not some endemic MDX problem. if so, where do i look?
    has anyone seen this?
    BTW, shouldn't there be a single log on for the connection? i have to enter credentials twice: 1 when creating the connection and 2 when opening the pivot table.

    something/someone has locked my userid when i was recreating the steps in Excel (i don't think i have tried 'wrong' passwords, but i did try a ['wrong' user|http://misiorek.com/h/GMSnap206%202011-11-27.jpg]
    Here are the steps:
    1. Open [Excel|http://misiorek.com/h/GMSnap202%202011-11-27.jpg].
    2. Enter [connections|http://misiorek.com/h/GMSnap203%202011-11-27.jpg].
    3. Select [HANA cube|http://misiorek.com/h/GMSnap204%202011-11-27.jpg].
    4. Select [Pivot cell|http://misiorek.com/h/GMSnap205%202011-11-27.jpg].
    5. Enter credentials (see above).
    I'm also not sure why I see these security messages:
    [locked|http://misiorek.com/h/GMSnap207%202011-11-27.jpg], Microsoft [warning|http://misiorek.com/h/GMSnap208%202011-11-27.jpg], HANA [warning|http://misiorek.com/h/GMSnap209%202011-11-27.jpg], HANA db [warning|http://misiorek.com/h/GMSnap210%202011-11-27.jpg]

  • Excel reports with OLAP cube in SharePoint

    I have SQL Server 2008 SSAS OLAP Cube. I have also SharePoint 2010.
    I want to let users to use pivot like reporting feature. Every user makes own reports.
    What are recommended architecture? What tools are needed? What SharePoint 2010 version and features are needed?
    Kenny_I

    Hi Kenny,
    Do you have any update for this issue?
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Create report from olap .cub file problem

    hello,
    i am using crystal reports 2008. i tried to create a report based off of the sample sales reports.cub file using the olap cube report wizard.
    when i moved the measures dimension to the slice list on the slice/page screen and tried to create a parameter field, i got this message "the table measure could not be found'.
    i do not understand how that table could not be found when it is in the .cub file.
    i'm hoping that someone can tell me because without getting past this, i can't create the olap report.
    any help would be greatly appreciated.
    thank you
    tracy

    Hi Tracy,
    Moved your post to the Other forum where OLAP is located.
    Don

  • Issue with Building OLAP Cubes in Project Server 2010

    Hi
    There is some issue with while building OLAP cubes. 
    I have created OLAP cube then successfully cube has builded. When i add resource level custom field which has lookup tables values in ASSIGNMENT CUBE  then getting cube failure meesage.
    I deleted and recreated custom field and lookup table but no luck
    Below error message from manage queue jobs
    General
    CBS message processor failed:
    CBSOlapProcessingFailure (17004) - Failed to process the Analysis Services database <DB NAME> on the 10.3.66.12 server. Error: OLE DB error: OLE DB or ODBC error: 
    Warning: Null value is eliminated by an aggregate or other SET operation.; 01003. Errors in the OLAP storage engine: An error occurred while processing 
    the 'Assignment Timephased' partition of the 'Assignment Timephased' measure group for the 'Assignment Timephased' cube from the <DB NAME> database. 
    Internal error: The operation terminated unsuccessfully. Server:  Details: id='17004' name='CBSOlapProcessingFailure' uid='f2dea43a-eeea-4704-9996-dc0e074cf5c8'
     QueueMessageBody='Setting UID=afb5c521-2669-4242-b9f4-116f892e70f5 
    ASServerName=10.3.66.12 ASDBName=<DB NAME> ASExtraNetAddress= RangeChoice=0 PastNum=1 PastUnit=0 NextNum=1 NextUnit=0 FromDate=02/27/2015 02:10:15 
    ToDate=02/27/2015 02:10:15 HighPriority=True' Error='Failed to process the Analysis Services <DB NAME> on the 10.3.66.12 server. Error:
     OLE DB error: OLE DB or ODBC error: Warning: Null value is eliminated by an aggregate or other SET operation.; 01003. Errors in the OLAP storage engine: An error 
    occurred while processing the 'Assignment Timephased' partition of the 'Assignment Timephased' measure group for the 'Assignment Timephased' cube from the 
    <DB NAME> database. Internal  
    Queue:
    GeneralQueueJobFailed (26000) - CBSRequest.CBSQueueMessage. Details: id='26000' name='GeneralQueueJobFailed' uid='b7162f77-9fb5-49d2-8ff5-8dd63cc1d1d3' 
    JobUID='76837d02-d0c6-4bf8-9628-8cec4d3addd8' ComputerName='WebServer2010' GroupType='CBSRequest' MessageType='CBSQueueMessage' MessageId='2' Stage=''.
     Help me to resolve the issue
    Regards
    Santosh

    Is the SQL Server and Analysis Server are running on different servers and not on default ports? 
    If yes, then check if the same alias’s name added in Project Server is added on the Analysis Server.
    Cheers! Happy troubleshooting !!! Dinesh S. Rai - MSFT Enterprise Project Management Please click Mark As Answer; if a post solves your problem or Vote As Helpful if a post has been useful to you. This can be beneficial to other community members reading
    the thread.

  • Can I store only the aggregate data in OLAP cube

    Hi All,
    I know that the OLAP cubes store the leaf data and then builds the aggregate data on top of it and stores with in it. I have huge amounts of data ( like billions of data in my fact table and 6-8 dimension tables). If you keep the leaf data along with the agg data with in the cube would be too large to build.
    So I am thinking to have to store only the agg data within the OLAP cube and for the leaf data it should still read from the Relational tables. Something like Hybrid OLAP.
    (what I mean is
    1. create the dimensions and cube in the AWM on 11g.
    2. I will also specifiy the levels that I want the agg data to be calculated and stored in the OLAP cube.
    (what I want is
    1. I want to store only the agg data in the cube and leaf data still in the relatlional tables.
    2. when I read the cube and drill down to the leaf level , it should fetch the leaf level data.
    Is this possible in Oracle OLAP, if yes please provide some pointers
    Thanks
    S

    First you should try out storing and aggregating data to atleast see if the cube-loading time, query-time and AW-size is within acceptable limit or not. 11gOLAP especially 11gR2 OLAP is very efficient on all three fronts.
    Regarding specifying levels, you can either use Cost-based-aggregation and pick the %age that should be pre-aggregated OR you can use Level-based-aggregation and pick the levels from each dimension that should be pre-aggregated.
    Try these out before venturing into anything else. You will be surprised by the results. There are other ways to store the data in smaller multiple-cubes and joining those cubes through formulas. Make sure you don't mistake an attribute for a dimension.
    Not sure what you mean by just storing aggregated data in olap cubes. You can just do a SUM .. GROUP BY .. of relational data before loading it into olap cubes. For example, if you source data is at DAY level, you can SUM.. GROUP BY .. at MONTH-level and then load month-level data into olap cubes where leaf-level is month-level.
    The sql view (used by reporting tools) could then be a join between month-level "olap" data and "day-level" relational data. When you are drilling-down on the data, the sql view will pick up data from appropriate place.
    One more thing. Drill-Thru to detail data is a functionality of reporting tools also. If you are using OBIEE or Discoverer Plus OLAP, then you can design the reports in a way that after you reach the olap leaf-level, then it will take the user to a relational detail-report.
    These are all just quick suggestions (on a Friday evening). If possible, you should get Oracle OLAP Consulting Group help, who can come up with good design for all your reporting needs.

  • How to Create a OLAP Cube in DEV using SSAS from Raw file system backup from Production?

    How to Create a OLAP Cube in DEV using SSAS from Raw file system backup from Production? I dont have a .abf file available. Two paritions in production are missing data. We were able to get back file system backup which contains the files for these two paritions.
    How do I create a cube in Dev using this file system backup.
    we are on SQL Server 2008R2.
    Thanks,

    How to Create a OLAP Cube in DEV using SSAS from Raw file system backup from Production? I dont have a .abf file available. Two paritions in production are missing data. We were able to get back file system backup which contains the files for these two paritions.
    How do I create a cube in Dev using this file system backup.
    we are on SQL Server 2008R2.
    Thanks,

  • Unable to create dataset against OLAP Cube from different server

    Hi guys,
    If I load Microsoft SQL Report Builder on the BI Server, I am able to create a dataset against the OLAP Cube I created on the BI Server, however if I try to run the Report Builder from a different server I get the following error:
    "Unable to connect to data source 'MyOLAPCube'.
    A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 172.20.112.82:2382
    A connection cannot be made to redirector.  Ensure that 'SQL Browser' service is running."
    I have had no issues starting the SQL Browser service, however if I try to run it in console mode, I get the following error:
    'SQLBrowser: Warning: failed starting OLAP redirection services with error 1.'
    I have checked online and seen a few similar issues online however I haven't been able to resolve my issue with their resolution.
    Any help is appreciated.
    Many thanks
    Richard

    Yeah there is a firewall running on both servers, however I had opened port 2383 and was still unable to make a connection.  It is using a named instance on the server (servername/instancename) and it is configured to use port 0, so I therefore assume
    it should be using port 2383 by default?  Or as it's a named instance, is the default port 2382? Maybe it would be better to configure it to use a specific port and open the port on the firewall?
    Hi Rfla,
    As you can see on the link below
    http://technet.microsoft.com/en-us/library/ms174937(v=sql.110).aspx
    Named instances use dynamic port assignments. As the discovery service for Analysis Services, SQL Server Browser service listens on TCP port 2382 and redirects the connection request to the port currently used by Analysis Services.
    So you can open the port 2382 for Named Analysis Services Instance remote connect.
    Regards,
    Charlie Liao
    TechNet Community Support

  • No Authorization to OLAP Cubes during the creation of universe connection

    Hello friends we are not able to see the OLAP Cubes during the creation of universe connection using the Quality system and Application server "sapbmw01" client 100, system # 00. But we are able to set up the connection in our development system.  
    I will highly appreciate if you can let me know if we need some special role to access the OLAP Cubes during the creation of universe connection using the Q system.
    Surprisingly we are using SAP_BW_ALL in Quality system still we are not able to access the infocubes. is there some thing missing in CMS IN BO to make that work.
    Thanks
    Soniya

    Hi Jyothy,
    Refer the below link on how to create universe on Analytic View/Calculation View using relation connection in IDT
    http://www.sapanalyticsguru.com/index.php/sap-bobi/31-universe-creation-on-hana-view-using-information-design-tool

  • Unable to open OLAP cube in Infoview for Crystal Report

    Hello,
    I am currently confused with a crystal report designed via OLAP grid on a BW query and working fine on Crystal designer module on my PC but sending an error when I tried it on INFOVIEW "unable to open OLAP CUBE".
    I checked all parameters and database connexions on BO Entreprise CMC : it is OK.
    I am on BO XI 3.1 SP 3 entreprise and BW 3.5 or BW 7.0 (both are in concern).
    When I tried a simple report on a BW query just drop fields of the query into the report and sending it on Infoview, it is OK.
    Just OLAP grid is KO. I do not understand, it is MDX language too ? Somebody can help or faced the same trouble ?
    Thanks in advance.
    Valérie.

    Hi
    I am facing the same issue when I try to open Crystal report Olap Grid via .net Crystal Report Viewer.
    Getting the error message like not able to open OLAP Cube.
    Please need urgent solution
    Thanks a lot,
    Usha

  • What are the OLAP cube data access auditing capabilities

    Hi All,
    We are currently activating RDBMS fine-grained-audit (FGA) policies on our datawarehouse to comply with security policies in place in our company.
    Part of our datawarehouse store financial confidential data for which we need to perform access auditing.
    The confidentail data reside in fact tables that are also used to feed OLAP cubes.
    Are there FGA capabilities (or similar) available to audit access to confidential data stored in OLAP cubes ?
    Thank you.
    A. Walrant

    Hi All,
    We are currently activating RDBMS fine-grained-audit (FGA) policies on our datawarehouse to comply with security policies in place in our company.
    Part of our datawarehouse store financial confidential data for which we need to perform access auditing.
    The confidentail data reside in fact tables that are also used to feed OLAP cubes.
    Are there FGA capabilities (or similar) available to audit access to confidential data stored in OLAP cubes ?
    Thank you.
    A. Walrant

  • Sharepoint 2013 Reporting Services & OLAP Cubes for Data Modeling.

    I've been using PowerPivot & PowerView in Excel 2013 Pro for some time now so am now eager to get set up with Sharepoint 2013 Reporting Services.
    Before set up Reporting Services  I have just one question to resolve.
    What are the benefits/differences of using a normal flat table set up, compared to an OLAP cube?
    Should I base my Data Model on an OLAP Cube or just Connect to tables in my SQL 2012 database?
    I realize that OLAP Cubes aggregate data making it faster to return results, but am unclear if this is needed with Data Modeling for Sharepoint 2013.
    Many thanks,
    Mike

    So yes, PV is an in-memory cube. When data is loaded from the data source, it's cached in memory, and stored (compressed) in the Excel file. (also, same concept for SSAS Tabular mode... loads from source, cached in mem, but also stored (compressed) in data
    files, in the event that the server reboots, or something similar).
    As far as performance, tabular uses memory, but has a shorter load process (no ETL, no cube processing)... OLAP/MDX uses less memory, by requiring ETL and cube processing... technically tabular uses column compression, so the memory consumption will be based
    on the type of data (numeric data is GREAT, text not as much)... but the decision to use OLAP (MDX)/TAB (DAX) is just dependent on the type of load and your needs... both platforms CAN do realtime queries (ROLAP in multidimensional, or DirectQuery for tabular),
    or can use their processed/in-memory cache (MOLAP in multidimensional, xVelocity for tabular) to process queries.
    if you have a cube, there's no need to reinvent the wheel (especially since there's no way to convert/import the BIDS/SSDT project from MDX to DAX). If you have SSAS 2012 SP1 CU4 or later, you can connect PV (from Excel OR from within SP) directly to the
    MDX cube.
    Generally, the benefit of PP is for the power users who can build models quickly and easily (without needing to talk to the BI dept)... SharePoint lets those people share the reports with a team... if it's worthy of including in an enterprise warehouse,
    it gets handed off to the BI folks who vet the process and calculations... but by that time, the business has received value from the self-service (Excel) and team (SharePoint) analytics... and the BI team has less effort since the PP model includes data sources
    and calculations - aside from verifying the sources and calculations, BI can just port the effort into the existing enterprise ETL / warehouse / cubes / reports... shorter dev cycle.
    I'll be speaking on this very topic (done so several times already) this weekend in Chicago at SharePoint Saturday!
    http://www.spschicagosuburbs.com/Pages/Sessions.aspx
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Connecting to an OLAP Cube

    Hi,
    I'm trying to connect to an olap cube sitting on an essbase olap server. When i use the OLAP report creation wizard and try to connect to the server I get various messages about .dll files missing.
    The ones in question are essbhapi.dll and essapinu.dll
    Has anybody got an ideas of the best way to remedy this?
    Many thanks
    Darrell.

    Hello Darrell
    Simply install the Essbase client software. This contains the missing files. Depending on the configuration of your BOE system, you must install the Essbase client software on the same machine that contains the MDAS server. Once installed you will then need to restart the MDAS server so that it will pick up the Essbase connectivity. This will allow Voyager to work with Essbase and should also allow WebI OLAP universe connectivity too.
    Regards

  • How to use OLAP cubes in Crystal Reports R2?

    Dear All,
    I hope someone can help me with the following issue: We are trying to link Crystal Reports XI-R2 with an OLAP cube but the login keeps on failing while the same setup/connection works with Excel.
    The OLAP cubes are created through SSAS 2008 and require a windows account for authentication. Because it works via Excel (through pivot table --> external data) the cubes are accessible and the username & password are correctly as well.
    Through the OLAP wizard in Crystal Reports the following message is displayed: "The connection could not be established. The logon attempt failed".
    Thank you in advance.

    Hi,
    Please check the trouble shooting guide in this article: /people/reuben.cox/blog/2009/12/10/troubleshooting-olap-connectivity-in-business-objects-products
    If, after performing these tasks, it still doesn't work, please reply back to this thread with more details about what you have tried and what doesn't work.
    Reuben

  • Oracle 10g olap cube connectivity issue using Crystal Reports 2008

    Hi
    Kindly help me out with a solution. I have created a cube in oracle 10gR2 database using Oracle Analytic Workspace Manager. I am trying to connect to this cube using Crystal report Olap datasorces. But I am only getting 4 options to connect to Hyperion Essbase, HOLOS Cube, Microsoft OLEDB, Microsoft OLAP Analysis Services 8.0 and 9.0.  I am not getting any option for connection to Oracle OLAP. How do I do that or if it does not support kindly let me know.
    Thanks in advance
    Troyee

    Hi Troyee,
    I have discussed the issue with OLAP engineer and he told me that connectivity to OLAP cube is not supported.
    and please next time address OLAP questions to the following category:
    Expert Forums » Business Objects » Other Business Objects Products
    (see the relevant category description)
    Vitaly Izmaylov
    Crystal Reports Design forum moderator

Maybe you are looking for

  • Getting started - setting up a dev environement

    Hi, I'm just getting started with Photoshop scripting. I've been using ExtendScript Toolkit and Adobe Configurator 4 to build a custom panel. However I don't know how to get my script to interface with the panel I've created with the configurator? Is

  • Customer vendor reports

    Hi Friends i need report customer *** vendor, is there possible to take in single report by doing abap coding ? Thanks & Regards JK

  • 1042 Configuration in SAP

    My company has never implemented 1042 withholding tax and now we have request to do that.  They also want me to turn the extended withholding tax on so we can post multiple tax codes to one invoice.  I have ran the conversion and I have multiple erro

  • Format and start over?

    I have been reading about all the problems people are having with the latest update and am experienceing some of the same issues. I have not had a mac for very long but would like to know how to format and start over if I can't boot in to OS X. It ju

  • Database Memory sizing for BI Beans

    We need to make a RAM sizing for a production enviroment for 200 users, how can i do it? Thanks in advanced, HABO