ssas

How to get total of top 10 sales in SSRS 2012

拟墨画扇 提交于 2019-11-27 09:17:13
I am taking Top 10 of Sales Volume grouped by Product categories in SSRS 2012. I need the total of these top 10 but it shows the complete total. I cant do it on dataset level as I need the complete dataset for other parts in the report. I tried the solution as given in MSDNlink but that didn't help either. Thanks in advance. This sort of approach does actually work very well. You haven't given any idea of what your data/metadata is like, but the concepts can be explained with a simple example. Consider the following data: We will make a simple report based on this, grouped by the grp column:

Logical order an MDX query is processed

泪湿孤枕 提交于 2019-11-27 07:22:28
问题 What is the order of evaluation of the clauses within an MDX script? WITH MEMBER measures.A AS ... MEMBER measures.B AS ... SET S1 AS ... SELECT { measures.A ,measures.B ,measures.x } ON COLUMNS {S1} HAVING <condition> on ROWS FROM [Cube] WHERE ({S2}) FROM WHERE WITH SELECT HAVING ? But maybe not that simple as a MEMBER and a SET are dealt with differently in terms of context - so if this order is correct how does context tie in? 回答1: I would say: FROM (including potential subselects) WHERE

Execute query on SQL Server Analysis Services with IronPython

删除回忆录丶 提交于 2019-11-27 02:58:20
问题 I was able to connect to SQL server Analysis service in Python using Microsoft.AnalysisServices.dll , and now I can't execute query on cube. I've tried Execute method same as following: amoServer.Execute('select from finance') After issuing Execute method I have this error: <Microsoft.AnalysisServices.XmlaError object at 0x000000000000002B [Microsoft.AnalysisServices.XmlaError]> Note: I'm using IronPython with Python 2.7 on Windows Server 64Bit. What's the problem? 回答1: its better use

SQL Server 2012: Login failed for user 'NT Service\MSSQLServerOLAPService'.; 28000

无人久伴 提交于 2019-11-27 02:09:58
问题 I am using Analysis services in Microsoft SQL Server 2012 on Windows 7. I tried to create Mining models and process it. I am getting the following error while processing it. OLE DB error: OLE DB or ODBC error: Login failed for user 'NT Service\MSSQLServerOLAPService'.; 28000. How to correct this and process the model successfully? 回答1: I recently encountered a similar error. My error was fixed by creating a new login in ssms, with the name the error gave me. In your case it would be 'NT

What is Multi Dimension OLAP CUBE and give example cube with more than 3 dimensions

一个人想着一个人 提交于 2019-11-26 18:08:10
问题 As I am new to SSAS, have been reading an article on Multi-Dimension OLAP Cube and struggling to understand Cube concepts, It has been said that Although the term "cube" suggests three dimensions, a cube can have up to 64 dimensions. Could you please explain how is this possible on cube (other than 3-Dim example x,y,z planes)? Please don't give only links to study but also expecting some explanation. 回答1: Don't think of a cube as a three-dimensional structure (despite the name). A "dimension"