olap

MDX - icCube - How to get a DYNAMIC topcount/toppercent with other aggregated?

会有一股神秘感。 提交于 2019-12-10 19:14:17
问题 Using the following mdx, I'm able to retrieve correct data dynamically. create CATEGORY MEMBER [Stats].[Top].[All Etabs].[Top 5 Etablissements] as topcount( [Etablissement].[Etablissement].[Etablissement].allMEMBERS, 5, [Measures].[Nbsejours]),ADD_CHILDREN=true create CATEGORY MEMBER [Stats].[Top].[All Etabs].[Autres Etablissements (>5)] as Except([Etablissement].[Etablissement].[Etablissement].members, TopCount( [Etablissement].[Etablissement].[Etablissement].MEMBERS, 5, [Measures].

How to calculate the likely size of an OLAP cube

冷暖自知 提交于 2019-12-10 17:09:26
问题 Does anyone know a method to use to get a rough size of an OLAP cube based on a star schema data warehouse. Something based on the number of dimensions, the number of records in the dimension tables and the number of fact records and finally the number of aggregations or distinct records etc.. The database I am looking at has a fact table of over 20 billion rows and a few dimension tables of 20 million, 70 million and 1.3 billion rows. Thanks Nicholas 回答1: I can see some roadblocks to

SQL Analysis Services OLAP TIME dimension

与世无争的帅哥 提交于 2019-12-10 14:39:00
问题 Hi i'm struggling with adding time dimension to OLAP cube. I can get everything in cube to work except date. In my source data view I have datetime column. I go by using Dimensions->New Dimension-> Generate time dimension on the server . I end up with a nice hierachical time dimension (Date-Month-Quarter-Year). Later I add this dimension to cube and define regular relationship with datetime column from source data view (same table which has fact data). When I try to deploy the cube, I get

MDX - Concurrent calculations based on a “record time range”?

喜欢而已 提交于 2019-12-10 11:39:18
问题 Dear MDX experts, - Is it possible to get the concurrent calculation based on a record time range? Lets say I have; 'start date' , 'end date' , 'used' , and 'color' available... in my fact table.. Is it possible to get the concurrent of 'used' per time (the biggest sum of 'used' that happened during the same range), if yes - what about concurrent used per 'color'? 回答1: To get the sum of all used over a time period, you can use the sum function. Moreover, this will take into account the

Why do we need SSIS and star schema of Data Warehouse?

拥有回忆 提交于 2019-12-10 11:15:42
问题 If SSAS in MOLAP mode stores data, what is the application of SSIS and why do we need a Data Warehouse and the ETL process of SSIS? I have a SQL Server OLTP database. I am using SSIS to transfer my SQL Server data from OLTP database to a Data Warehouse database that contains fact and dimension tables. After that I want to create cubes using SSAS form Data Warehouse data. I know that MOLAP stores data. Do I need any Data warehouse with Fact and Dimension tables? Is not it better to avoid

XAML PivotTable from Mosha Pasumansky

十年热恋 提交于 2019-12-10 11:09:06
问题 Does anyone have sources of his pivot table? Sources were hosted at http://wpf.netfx3.com/files/folders/5672/download.aspx, but now this site is down. Or may be there are similar samples of pivot grid(with source)? Here is a pic of it : 回答1: This is in response to "Similar Samples of Pivot Grid (with Source)" CellSetGrid is an Open Source ASP .Net (c#) control, which offers pivot table like functionality. [This used to be available for download in this site: www.SQLServerAnalysisServices.com

Where condition in Mondrian

倖福魔咒の 提交于 2019-12-10 11:02:10
问题 MDX query to find the employee salary more then 5000 select { [Measures].[Total Employee], [Measures].[Total Salary] } on columns, NON EMPTY { ( [Department].[All Department], [Position].[All Position], [Employee].[All Employee]) } on rows from Salary where [Measures].[Total Salary]>5000 My schema <Schema name="Foodmart"> <Cube name="Salary" visible="true" cache="true" enabled="true"> <Table name="employee" alias=""> </Table> <Dimension type="StandardDimension" visible="true" foreignKey=

How to connect a fact and dimension table that are in 1-N relationship

大兔子大兔子 提交于 2019-12-08 15:17:36
I have a Purchase FactTable with some measures and dimension keys. Then, there's another another table: Discount Table. Purchase FactTable is in a 1-N relationship with Discount Table (for each purchase I might have bought several discounted items). Discount table has some attributes (description, note) and some numeric values (for example: discount in $) that I would like to roll-up. If I create a dimension out of this Discount Table, I'll get a wrong number of purchase counts in a sum count (inflated, one row for every discounted item). If I create a separate fact out of this Discount Table,

VBA Reptitive MDX query to Analysis Services

守給你的承諾、 提交于 2019-12-08 02:47:46
问题 I have a report where I run the same MDX query each week, and paste the results in a worksheet to then generate a report. I know how to connect to the OLAP cube in excel, but I don't like manipulating the pivot table to match my query. I'd like to use VBA to connect to the cube and and return the results of the specific query in a worksheet as a values paste, or table. I can save the MDX query in a seperate sheet. Would this be possible? I'm new to VBA, so I'm not sure where to get started.

Microsoft SQL Server Analysis Services OLAP cube

故事扮演 提交于 2019-12-07 12:13:12
问题 I was trying to find a tool to increase performance in the reports of our application and I heard about OLAP + Reporting Services which is described as an excellent combination to do this work. Anyway I didn't find the way to keep the OLAP cube up-to-date since the data in the original DB can change. (It's a transactional application and one pending record can be mark as paid etc). Is this the better way to do this, or should I use another technology? If the suggestion is still to use OLAP +