olap-cube

MDX Calculated Measure Count

泄露秘密 提交于 2021-02-07 10:55:47
问题 I'm attempting to add a calculated measure to a simple MDX query. Although I have managed simple calculated measures before I clearly don't understand MDX sufficiently to make this work. Anyway, what I am trying to do is count the number of distinct orders per each of our truck routes. I have tried counting the Order Dimension Keys but all this does is produce the total number of orders in the system rather than the number of orders per route. Can someone help me out? I feel that once I

How to connect SSAS to Python

 ̄綄美尐妖づ 提交于 2021-01-07 01:33:10
问题 Want to fetch data in Python Pandas DataFrame from SSAS connection, how to do? I tried below code import olap.xmla.xmla as xmla provider = xmla.XMLAProvider() connect = provider.connect(location='http://localhost/OLAP/msmdpump.dll',username='test',password='test') source = connect.getOLAPSource() But when importing its gives error "No module named xmla". So, I try to run "pip install xmla" but it giving error "No module name client" Please suggest what to do and how to import SSAS data in

Using VBA in Excel, how do I get the names of all OLAP Cubes on a server?

余生长醉 提交于 2020-02-05 04:09:06
问题 The company I work for creates an OLAP Cube Database for each of our clients. I keep up with many things on a daily basis using values in the cubes. Whenever a new clients cube is set up, I add a sheet to the workbook I use, and create a pivot table using that cube. I want to create a macro that checks the server for any cubes that may have been added. I figured doing something like this, below, would be the best way For Each Cube in Server.Cubes MsgBox Cube.Name Next Cube ...but I cannot

Made connection to PowerPivot DataModel, how can I fill a dataset with it?

狂风中的少年 提交于 2020-01-17 12:50:10
问题 I was able to connect to the powerpivot datamodel with amo: string ConnString = "Provider=MSOLAP;Data Source=$Embedded$; Locale Identifier=1033;Location=" + ThisAddIn.Current.Application. ActiveWorkbook.FullName + ";SQLQueryMode=DataKeys"; Microsoft.AnalysisServices.Server OlapServer = new Microsoft.AnalysisServices.Server(); and I am able to retrieve the column names but nothing else. How can I fill a dataset from the model or even how can I view the cell values within this datamodel? I have

Browse cube - Change User: The following system error occurred: The user name or password is incorrect

五迷三道 提交于 2020-01-17 06:36:31
问题 I'm trying to browse SSAS cube using different user and I get "the user name or password is incorrect". I gave the user Admin rights on the cube, admin rights on the SSAS server and these were not helped. the only users who can browse the cube are domain admins. By the way, browsing the cube directly without changing the user works well. What is the problem? what should I change? 回答1: You are logged into a laptop or server as DOMAIN\user1 then you try to switch to DOMAIN\user2. Make sure

Using X4R package in R to connect to an SSAS (local) data cube?

删除回忆录丶 提交于 2020-01-16 00:44:43
问题 I am trying to figure out how to use X4R package to load a local data cube into R. I can load the cube into Excel, but am failing to get this to work with R. My cube filename is "\scrsvr\Users\\Documents\Projects\Raw data\data.cub". I tried the following code: library(X4R) handle<-xmlaConnect(url="\\scrsvr\\Users\\<MyName>\\Documents\\Projects\\Raw data\\data.cub") which produces no error. However, trying to use xmlaDiscover results in the following error: first argument is not an open XMLA

How to slice a data cube in Birt designer?

假如想象 提交于 2020-01-14 19:09:41
问题 I created a data cube in Birt designer with the following data : Measure : turnover Dimensions : product, location and time I have now a three-dimensional OLAP data cube I want to display in a two-dimensional array. My problem here is I don't know how to assign a constant value for one dimension (for example : product = "computer" or time = "2014") 回答1: There are a couple of ways to do this. In terms of performance, the most efficient one would be to add a parameter to the main dataset of the

How can I 'pull' data from an MDX OLAP Cube into a standard SQL Server table?

天涯浪子 提交于 2020-01-05 07:31:33
问题 I've been provided access to a cube and need to know if I can set up a stored procedure that can connect to a Cube and retrieve the contents (via an MDX Query). I need this to prevent having to export the data from the Management Studio or from Excel (via PowerPivot). I'm very new to cubes/olap queries so forgive any naivety I may show. 回答1: The easiest way is to create a linked server to your cube and then INSERT..SELECT FROM OPENQUERY http://sqlblog.com/blogs/stacia_misner/archive/2010/11

OLAP Cube design issue for Telecommunication Data

半城伤御伤魂 提交于 2020-01-05 02:52:51
问题 Background: I’m doing analysis of call detail record (CDR) data in order to segmentify customer with respect to their call duration, time of call (holiday call or non holiday call, Business call or non Business call), age group of subscriber and gender. Data is from two table name cdr (include card_number, service_key, calling, called, start_time, clear_time, duration column) and subscriber_detail (include subscriber_name, subscriber_address, DOB, gender column) I have design OLAP as given

What makes access to OLAP Cubes / Datamarts and similar datastructures, faster than to relational databases?

限于喜欢 提交于 2020-01-02 09:55:15
问题 What makes access to OLAP Cubes/Datamarts and similar datastructures, faster than to relational databases? EDIT A bounty of 200 will be provided asap. 回答1: I would say mainly because of different purposes. OLAP cubes / datamarts are used mainly in read mode for data analysis by business users whereas I'm assuming when mentioning relational DBs you're talking about OLTP usage requiring for example ACID transactions. Those different purposes means: different constraints for the implementation