olap-cube

Get SSAS cube last process time

心不动则不痛 提交于 2020-01-02 08:45:15
问题 In Excel I make an Analysis Services connection to a data cube. I would like to be able to show a user how current the data is by showing them when the last cube processing time occurred. Making an analysis services connection to the cube in SQL Server Management Studio (SSMS), I can right click on the cube and see the property of the last cube processing time exists. I can also create an MDX query as follows to return the last process time: SELECT LAST_DATA_UPDATE FROM $system.mdschema_cubes

Star schema [fact 1:n dimension]…how?

蹲街弑〆低调 提交于 2019-12-30 10:00:47
问题 I am a newcomer to data warehouses and have what I hope is an easy question about building a star schema: If I have a fact table where a fact record naturally has a one-to-many relationship with a single dimension, how can a star schema be modeled to support this? For example: Fact Table: Point of Sale entry (the measurement is DollarAmount) Dimension Table: Promotions (these are sales promotions in effect when a sale was made) The situation is that I want a single Point Of Sale entry to be

Use CSV or Text file as a data source for SSAS cube

心不动则不痛 提交于 2019-12-25 16:59:11
问题 Can we have a CSV or Text file as a data source for SSAS cube. I deal with lots of data and maintain SSAS cubes (ROLAP) for analyzing the same. The data(~2 GB) comes in every hour as a formatted text file which I upload to a DB which acts as a data source for the cube. The cube then fetches this data from the DB and processes it. I would like to process the cube directly using the text file. This can save a lot time. 回答1: I've never really tried this, but I think this is possible if you have

Using X4R package in R to connect to a SSAS cube?

穿精又带淫゛_ 提交于 2019-12-24 13:29:39
问题 I am trying to figure out how to use X4R package to load a cube into R workspace. My server name is "//vmtest//xmla2//msmdpump.dll"" and the cube name is "Ocube_MANMartCube" . I couldn't find a way to connect to cube yet. I tried the following code: library(X4R) handle<-xmlaConnect(url="//vmtest//xmla2//msmdpump.dll"") The message I am getting is <?xml version="1.0" encoding="UTF-8"?> <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap

Calculated measure/dimension

自作多情 提交于 2019-12-13 12:32:29
问题 I'm relatively new to MDX and am trying to accomplish what I think should be an easy thing, but I haven't found any solution. I have a sales cube and one of the measure is profit which can be negative or positive. I want to get one measure which is effectively the sum of positive profit, i.e. only include in the new measure those profit numbers that have a positive profit. The trick here is this is on the row detail level and something like WITH MEMBER Measures.PositivePNL as IIF (Measures

OLAP Dimension structure

时光总嘲笑我的痴心妄想 提交于 2019-12-13 04:46:43
问题 I have Dimension "Customer". Each Customer can have some buisness units and some departmens. I should bild 2 hierarchies: Customer->Department and Customer->Buisness Unit. So, I also need to set key attribute. This is my question: What should be use as key attribute? May be I do this wrong? Could you help? 回答1: To define hierarchies, you should ask the following questions: If I group the departments, I have a consumer? If I group the business, I have a consumer? If I group the departments and

Connecting to a SSAS cube using R

房东的猫 提交于 2019-12-12 10:36:29
问题 Is it possible to query a SQL Server Analysis Services cube using R? I have this cube on a different external Server and i am working from my machine but i have admin privileges on the Server with my domain account. To put it simply, i want to create an alaysis services solution, suing some mining algorithm to examine data cotained in the Cube. I can do that with Excel, for instance, but i need to use R to take advantage of several interesting clustering algorithms different from those MS

Querying Oracle 11g multidimensional cube from sqldeveloper

独自空忆成欢 提交于 2019-12-12 10:13:57
问题 Im new to oracle multidimensional models... I have followed the "Creating a Multidimensional Model" 15 min Oracle tutorial. Tutorial Link Note: This tutorial use sql developer data modeler. I would like to know how to query the created data cube using SQL Developer (I.E. using regular SQL DML statements). Every time I look for information online I end up getting links on how to use the Oracle Analytic Workspace Manager. Why? I would like to just build the cube and query it without having to

Randon Error Processing on Pentaho CDE dashboard for MDX query widget

99封情书 提交于 2019-12-11 10:13:03
问题 I am facing error processing on some widgets while loading dashboards on my applictaion randomly. In the catalina.log, for one or two widgets, it is showing : mondrian.olap.MondrianException: Mondrian Error:Internal error: Query required more than 12 iterations and for one or two widgets, it is showing : java.lang.NullPointerException But if I select the same dashboard again, it'll run perfectly. It is behaving very flakily. To fix the iteration error, I did : mondrian.rolap.evaluate

SSAS Dimension Data Permissions not applied to measures when the dimension is not selected when querying the cube

孤街醉人 提交于 2019-12-11 07:43:25
问题 I am quite new to SSAS, so please forgive me if there is an obvious answer to my question - I have done a lot of research today and cannot find the answer myself. I am trying to apply Dimension Data security (in a SSAS DB role that I have created) to my SSAS 2012 cube. Essentially, what I am trying to do is that users assigned to the role that I have created, should not be able to see any data for a specific dimension member. So, when I edit the cube in SSDT (SQL Server Data Tools or Visual