ssas

SSAS - OLE DB error in establishing a connection

偶尔善良 提交于 2019-12-12 04:47:04
问题 I have a problem when I try to process a SSAS project in Visual studio 2013 (sql server 2012) using Pubs data sample of Microsoft. Could anyone tell me how to resolv it? Thanks in advance! OLE DB error: OLE DB or ODBC error: A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL

Find min value of member, MDX

陌路散爱 提交于 2019-12-12 04:19:06
问题 Just started to explore MDX. Can anyone help me to get below result. Looking to build a MDX query which gives same out as below SQL query select max(date),min(date) from Fiscal_calendar Where : 1. Fiscal_Calendar is dimension in cube 2. date is the attribute 回答1: Min Date will be the First Child of the [All] member while Max Date will be the Last Child. SELECT {Fiscal_Calendar.Date.[All].FirstChild, Fiscal_Calendar.Date.[All].LastChild} ON 1, {} ON 0 FROM [YourCube] Second last child: Fiscal

Connecting to Analysis Service from ASP.net application

一个人想着一个人 提交于 2019-12-12 04:16:17
问题 I am trying to implement ASP.net application which will need to connect Microsoft Analysis Service (SSAS) to retrive data from cube as well as dimensions. static void Main(string[] args) { StringBuilder connectionStringBuilder = new StringBuilder(); connectionStringBuilder.Append("Data Source=MyDataSource;"); connectionStringBuilder.Append("Initial Catalog=MyOlapDatabase;"); connectionStringBuilder.Append(@"User Id=OlapServerMachineName\MyUserName;"); connectionStringBuilder.Append("Password

Reprocess SSAS tabular cube after failure

一曲冷凌霜 提交于 2019-12-12 03:35:49
问题 So we process the SSAS tabular cubes every night and the other night the processing of the cube failed. Now what I want to do is implement a system that would trigger an automatic reprocess after failure. Is there a way to do that in SSAS Tabular? 回答1: Nothing built into SSAS will automatically restart processing on error. In SQL Agent, the Job Step Properties dialog has an Advanced tab with a Retry Attempts property. If you change that to 1, then it will automatically retry the step (the

Problems deploying a SSAS cube in Azure

不想你离开。 提交于 2019-12-12 03:05:16
问题 I am having problems deploying a ssas cube in Azure. I have designed a cube in SSDT. The structure of the cube is correct and I can access to the database placed in azure machine from my local laptop.My SSDT project is created in my local laptop. I have tried ti deploy to azure machine and get the following error; "The project could not be deployed to the 'mbitsql.westeurope.cloudapp.azure.com' server because of the following connectivity problems : A connection cannot be made. Ensure that

What cube deployment changes will force a reprocess?

梦想与她 提交于 2019-12-12 02:56:47
问题 Sometimes when I deploy a cube that has been changed (from BIDS), I can continue to browse the existing cube data. Other times, the engine insists I reprocess the data before I can browse the cube. I can't find a definitive resource showing which changes require a data reprocess and which do not. SSAS 2008. 回答1: In general, you need to process when adding or editing measures adding a dimension attribute editing dimension attribute relationships or order by properties A more complete list can

Confused on ssas aggregation design

浪子不回头ぞ 提交于 2019-12-12 02:54:57
问题 I have read about aggregation design tab in ssas.It is telling we can precalculate the aggregation and it will improve the response time.But when i tried that option,i haven't go thorough any step which is showing what kind of aggregation(eg:sum,avg etc) we have to do.In one of the steps, there is an option of specifying count of rows.So aggregation means only count of rows in table? Other than this we know,there is one calculated measure option using we can specify sum or avg or etc.This

use ssas date hierarchy in excel pivottable

核能气质少年 提交于 2019-12-12 02:39:18
问题 I have a Cube with a date hierarchy (year, quarter, month, day) and I also have set up attribute relationships for this hierarchy. When I browse the cube with excel and make a pivottable, I can not use for example only the month attribute in the rows. When I drop the month in the rows, the entire date hierarchy shows up in the pivottable. I don't want this, I just want the month showing up. please help 回答1: Right click on a year and choose Show/Hide Fields. Then uncheck the Year level and any

Change the context with Subselect MDX from Excel client

纵饮孤独 提交于 2019-12-12 02:24:55
问题 I have two time dimensions, production period and accounting period, and a measure that I want to aggregate with either dimension but not with both when users query the cube from excel. To do that I created a flag measure to check if both dimensions are being used CREATE MEMBER CURRENTCUBE.[Measures].[AcctProdFlag] AS IIF ( [DIM Accounting Period].[Accounting Period Hierarchy].CURRENTMEMBER.level.ordinal <> 0 and [DIM Production Period].[Production Month Hierarchy].currentmember.level.ordinal

Execution order of crossjoined hierarchies

佐手、 提交于 2019-12-12 01:50:04
问题 If I create a set of tuples via the following crossjoin which hierarchy is joined to which first? hierA * hierB * hierC If I know that the count of non empty members in A and B are significantly less than the count of members in C then should this influence the order? 回答1: It depends on the execution system used, i.e. how crossjoining on axis is optimized by compiler. Anyway, you will get real boost only if you first reduce cube size with subselect - it will prevent crossjoining non-matching