ssas

Error Log records in SSAS

筅森魡賤 提交于 2019-12-22 09:15:49
问题 We are processing cubes every day in job activity monitor, But on weekends w are receving email notification like "cube processing hase been failed". Is there any way to maintain error logs (like in ssis) on cubes? 回答1: The key mechanisms for maintaining error logs for Analysis Services are to either: Keep track of the data stored in the msmdsrv.log . It will be necessary to copy the log off before it gets overwritten. If you are using Analysis Services 2005, 2008, or 2008 R2, you can

How to secure MS SSAS 2005 for HTTP remote access via Internet?

江枫思渺然 提交于 2019-12-22 08:01:43
问题 We are building an hosted application that uses MS SQL Server Analysis Services 2005 for some of the reporting, specifically OLAP cube browsing. Since it is designed to be used by very large global organizations, security is important. It seems that Microsoft's preferred client tool for browsing OLAP cubes is Excel 2007 and the whole infrastructure is geared around Windows Integrated Authentication. We, however, are trying to build an internet-facing web application and do not want to create

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

怎甘沉沦 提交于 2019-12-21 12:44:29
问题 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:

List dimension members with MDX query

Deadly 提交于 2019-12-21 07:25:16
问题 Is there a way to list dimension members without fetching default Measure for each member? 回答1: You could SELECT nothing on the opposite axis: SELECT { } on 0, { DESCENDANTS([Dimension].[Hierarchy]) } on 1 FROM [Cube] SELECTing an empty set prevents SSAS from adding the default measure on the opposite axis. 回答2: You can access the catalog views which Magnus mentions (which by the way are documented here), from SQL Server 2008 using the following SQL syntax instead of MDX: SELECT * FROM

How to determine which SSAS Cube is processing now?

牧云@^-^@ 提交于 2019-12-21 04:22:05
问题 There is a problem when several users can process the same cube simultaniously and as a result processing of cube fails. So I need to check if certain cube is processing at current moment. 回答1: I dont think you can prevent a cube from being processed if someone else is already processing it. What you can do to "help" is run a MDX query to check the last time the cube was processed: SELECT CUBE_NAME, LAST_DATA_UPDATE FROM $System.MDSCHEMA_CUBES or check the sys.process table on the realted sql

SSMS Change Connection for Query Editor Window

五迷三道 提交于 2019-12-21 03:21:36
问题 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)

AMO OLAP QueryBinding

我只是一个虾纸丫 提交于 2019-12-20 06:28:25
问题 Depending on business logic sometimes I need to change source table for my Customer dimension in Cube. Previously I was changing structure of cube using the following code: MyServerDataSourceView.Schema.Tables["DimCustomers"].ExtendedProperties["QueryDefinition"] = "new query"; MyServerDataSourceView.Update(); // update to new definition DimCustomer.Process(ProcessType.ProcessAdd, EF); MyServerDataSourceView.Schema.Tables["DimCustomers"].ExtendedProperties["QueryDefinition"] = "old

MDX SSRS Parameter category chooses all sub category

混江龙づ霸主 提交于 2019-12-20 04:19:59
问题 I have been looking all over stackoverflow for this and I can't figure it out. So I have a dataset using a SSAS cube, and it has two parameters. It has a category and subcategory. I already created the datasets to populate these parameters and they work fine when I select them both. The way my report runs is that it is a collection of subreports in a table and it is grouped by the category and sub grouped by the subcategory. So When I select the category parameter, it lists each sub category

Sql Analysis Services Current Date

陌路散爱 提交于 2019-12-20 03:53:14
问题 I need to perform a calculation in SSAS which only applies to the current and future months (it can't be applied retrospectively using the available data). I can do this by using the calendar hierarchy and hard coding today's month as follows... SCOPE([Measures].[RollingStock]); ([Dim Date].[Calendar].[Month].&[201008]:NULL) = ([Measures].[Quantity On Hand] - [Measures].[SO Open Quantity] + [Measures].[PO Open Quantity] - [Measures].[Forecasts Quantity]); END SCOPE; I want to replace 201008

Sql Analysis Services Current Date

混江龙づ霸主 提交于 2019-12-20 03:53:08
问题 I need to perform a calculation in SSAS which only applies to the current and future months (it can't be applied retrospectively using the available data). I can do this by using the calendar hierarchy and hard coding today's month as follows... SCOPE([Measures].[RollingStock]); ([Dim Date].[Calendar].[Month].&[201008]:NULL) = ([Measures].[Quantity On Hand] - [Measures].[SO Open Quantity] + [Measures].[PO Open Quantity] - [Measures].[Forecasts Quantity]); END SCOPE; I want to replace 201008