ssas

How do I use MySQL as data source in Microsoft SQL Server Analysis Services?

不羁岁月 提交于 2019-12-04 05:21:13
I have installed the latest .net connector , I can add MySQL databases as Data Sources, I can even browse through the data from Business Intelligence Studio. The problem is that I cannot create a datasource view, or if I do create one without tables, trying to add them after the fact gives me the same error. Specifically it looks like the data source view wizard tries to submit queries against the MySQL database using square brackets/braces, and the query bombs. I get an error message like: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for

View MDX query generated while browsing a cube in SSMS

安稳与你 提交于 2019-12-03 23:57:50
In Sql Server Management Studio once I browse a cube I can drop column fields, row fields and filter fields. This displays the required data. I want to know if there is a way to view the MDX query being generated behind the scenes to display the data? Thanks. SQL Server Profiler works on SSAS servers. Select Analysis Services for the Server type in the Connection dialog when initiating a Profiler connection. Select your Analysis Services server and connect. You can use the Standard Profiler template and start the trace. You should be able to see the MDX query that way. Open SSMS, and Connect

Purpose and effect of SSAS hierarchies?

假装没事ソ 提交于 2019-12-03 19:22:55
问题 Firstly, I feel comfortable with what a hierarchy is in terms of the concept and how it impacts the design of a DW's star schema. I have some dimensions with lots of attributes, and I could create lots of hierarchies within SSAS. I would like a better understanding of how the OLAP engine uses the hierarchies that I create so that I can make a more informed decision on how I design my hierarchies(that's a tough word to type the first few times). There are also limitations with SSAS regarding

SSMS Change Connection for Query Editor Window

折月煮酒 提交于 2019-12-03 10:01:33
Normally when I want to change the connection for a Query Editor Window in SQL Server Management Studio, I can select a new connection from the menus at the top - Query > Connection > Change Connection . However, when I am working on cubes with an analysis services connection - and then open a saved SQL script (such as the underlying SQL view) the Available Databases combobox is blank, and the "Change Connection" and other 3 options in that menu (Connect, Disconnect, Disconnect all queries) are all greyed out. The only workaround I have found to be able to run the saved SQL script, is to open

Can OLAP CUBE be done in HBase?

好久不见. 提交于 2019-12-03 07:35:44
Is there any way to create CUBE DIMENSIONS in HBase or OLAP with it? I want to create CUBE DIMENSIONS kind of application with my HBASE or HIVE and connect that with SSAS for reporting purpose, is that possible? If soo please guide me with some links and codes. I have tried to create cube views in hive and i want to know whether that is possible with HBase. Thanks... Tariq It is quite possible. In fact several attempts have been made in recent past towards the same. See HBase-Lattice and urbanairship datacube , for example. You might also find this presentation helpful, which talks about Low

Extracting raw data from a PowerPivot model using Python

偶尔善良 提交于 2019-12-03 02:28:13
What seemed like a trivial task turned into a real nightmare when I had to read in some data from a PowerPivot model using Python. I believe I've researched this very well over the last couple of days but now I hit a brick wall and would appreciate some help from the Python/SSAS/ADO community. Basically, all I want to do is programmatically access raw data stored in PowerPivot models - my idea was to connect to the underlying PowerPivot (i.e. MS Analysis Services) engine via one of the methods listed below, list the tables contained in the model, then extract the raw data from each table using

MDX SSAS - Max Date in Measure

匿名 (未验证) 提交于 2019-12-03 01:38:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Just need to get MAX date in ALL my Measures in the Cube. For instance, DateID is a Dimention , [Measure].[First Measure],...,...,[Second Measure] . How to get list of MAX(DateID) from all Measures in my Cube. 回答1: The following will get you the max date value associated with each measure...but you will have to manually create a calculated member corresponding to each measure. WITH MEMBER [Measures].[Max Date - Internet Sales Amount] AS TAIL( NONEMPTY( [Date].[Date].[Date] ,[Measures].[Internet Sales Amount] ) ,1 ).Item(0).MemberValue MEMBER

How to use UNION in MDX

Deadly 提交于 2019-12-02 22:48:46
问题 I want to UNION the below MDX query. For these two queries measures and dimensions are different for the same date range. Please help me to get out of this. SELECT NON EMPTY { [Measures].[Number of es2] } ON COLUMNS, NON EMPTY { ([Date].[Year].[Year].ALLMEMBERS * [Date].[Month].[Month].ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS FROM ( SELECT ( [Date].[Date Hierarchy].[Date].&[20170101] : [Date].[Date Hierarchy].[Date].&[20180101] ) ON COLUMNS FROM ( SELECT

What is the best approach to get from relational OLTP database to OLAP cube?

谁说我不能喝 提交于 2019-12-02 18:28:35
I have a fairly standard OLTP normalised database and I have realised that I need to do some complex queries, averages, standard deviations across different dimensions in the data. So I have turned to SSAS and the creation of OLAP cubes. However to create the cubes I believe my data source structure needs to be in a 'star' or 'snowflake' configuration (which I don't think it is right now). Is the normal procedure to use SSIS to do some sort of ETL process on my primary OLTP DB into another relational DB that is in the proper 'star' configuration with facts and dimensions, and then use this DB

DAX Measure if client has bought product A or B later

隐身守侯 提交于 2019-12-02 11:18:46
I need a DAX measure which shows me a flag (1 or 0) if a customer (DimCustomer) bought the product "A" someday (for the first time) and later (doesn't matter when) have bought or product "B" or "C". Measure1: Flag (1 or 0) in their customer names if bought Measure2: When was the first time that they bought product B or C Basicly I have a FactSales, DimCustomer, DimDate and Dimproduct Can someone help me? 来源: https://stackoverflow.com/questions/51948638/dax-measure-if-client-has-bought-product-a-or-b-later