ssas

Handling nulls in Datawarehouse

雨燕双飞 提交于 2019-12-05 07:59:21
I'd like to ask your input on what the best practice is for handling null or empty data values when it pertains to data warehousing and SSIS/SSAS. I have several fact and dimension tables that contain null values in different rows. Specifics: 1) What is the best way to handle null date/times values? Should I make a 'default' row in my time or date dimensions and point SSIS to the default row when there is a null found? 2) What is the best way to handle nulls/empty values inside of dimension data. Ex: I have some rows in an 'Accounts' dimensions that have empty (not NULL) values in the Account

SSAS Tabular on Azure?

送分小仙女□ 提交于 2019-12-05 04:56:52
I'm attempting to deploy an ssas tabular model (I don't know what I'm doing ) I have made multidimensional on SQL Server 2008 R2 with VS2013. I wanted to try Tabular in conjunction with power BI. So I set up a SQL Azure DB, I have Azure SQL database and Visual Studio 2013 Pro I can get the connection to the Azure DB in VS2013 and write T-SQL against it but when I try and create a tabular model and select the Azure database as the SQL Server workspace it fails to make a connection. Is it something to do with the compatibility module or do I need to create a Azure VM? Thank you for your help ...

Analysis Services Only Windows Authentication

橙三吉。 提交于 2019-12-05 00:23:36
Is it true that Analysis Services ONLY supports windows authentication? Yes, it does. Quote from MSDN "SQL Server Analysis Services supports only Windows Authentication" You'll need active directory, Refer to the following kb on how to set it up http://support.microsoft.com/kb/917409 Actually needing "Active Directory" isn't really true. You can trick OS's by logging into your PC in any domain with the same User and Password as the account on the other server that's running SSAS. I do it all the time. By default you'll get access if the domains are different but the user/pass is exact.

Dimension Security in SSAS & SSRS

北城余情 提交于 2019-12-04 20:46:22
I am stuck with a problem of implementing security at dimension level in SSAS. Here is what I did - 1. Defined a role in SSAS and applied security at dimension level (Unchecking cube dimensions that I don't want this role to access and setting Allowed & denied Sets). 2. Tested using Cube Browser, it worked fine. 3. Tested using SSRS, no change, I was still able to query the dimensions & get results that I don't want. Question - Is it possible to propagate the security I define at Cube level to SSRS? I would like to believe yes it is. If yes then here is what I need - Users will logon to the

percentage difference with month and year and count in table using DAX

。_饼干妹妹 提交于 2019-12-04 17:28:29
I am trying to get percentage difference with month and year using DAX function Month Year records Jan 2015 100 Feb 2015 120 Mar 2015 140 Apr 2015 160 and I am trying to calculate percentage diff in a new column Month Year records %change Jan 2015 100 0% Feb 2015 120 20% Mar 2015 140 17.02% Apr 2015 180 22%.03 In your current setup, something like this could work. Using a datetable would be better and easier though. %change = VAR StartLastMonth = ( DATE ( 'table'[Year], 'table'[Month] - 1, 1 ) ) VAR RecordsLastMonth = CALCULATE ( MAX ( 'table'[Records] ), FILTER ( 'table', 'table'[Year] = YEAR

MDX ignoring Excel filter

牧云@^-^@ 提交于 2019-12-04 15:33:58
I'm just starting to get my head around MDX and I'm having trouble with a calculated member. I'm using the following MDX: IIF( ISEMPTY((Axis(1).Item(0).Item(0).Dimension.CurrentMember, [Measures].[Qty])) ,NULL ,([Product].[Product Code].CurrentMember.Parent, [Measures].[Qty]) ) What I'm trying to do is get a total quantity of the group of products displayed in a cube. I then use that total to divide by each product's quantity to get a "percent of total" measure. The above MDX does correctly return the total quantity of products displayed in any dimension. However, when a user in Excel changes

Can OLAP CUBE be done in HBase?

馋奶兔 提交于 2019-12-04 12:20:04
问题 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... 回答1: It is quite possible. In fact several attempts have been made in recent past towards the same. See HBase-Lattice and

SSAS 项目部署失败的问题

扶醉桌前 提交于 2019-12-04 05:58:54
在创建SSAS项目过程中,创建数据源、数据源视图、多维数据集、纬度等一切都没有问题。但是在“进程”这一步的时候,发现总是报错,提示如下。 OLE DB 错误: OLE DB 或 ODBC 错误 : 用户 'XXXXX\XXXXXXXXX$' 登录失败。; 28000。 搜索半天没有什么满意的回答,然后思索是不是ssas的服务没有开,转到服务后,突然发现ssas的服务帐号好像在数据库的安全性没有,如下图。 然后去数据库添加这个帐号为本地帐号, 赋予 db_owner、public权限。 然后点击重新处理,就可以了 接着下一步 部属也是OK的。 来源: https://www.cnblogs.com/Impulse/p/11834345.html

C# amo get roles complete

蹲街弑〆低调 提交于 2019-12-04 05:35:56
问题 I'm working on a SSAS project in which I, amongst other things, need to get a complete list of users for a tabular cube, in C#. Currently I have it working in such a way that I can get the roles, but the data is incomplete. When I call the Server.Database.Roles (simplified for readability) property and enumerate through it I only get ID, Name and CreatedTimeStamp. What I am missing, which is crucial, is Members, CellPermissions (DAX Filters) and the permissions for those members. The

SSAS tabular model timeout raised during processing

社会主义新天地 提交于 2019-12-04 05:30:06
问题 When doing a Full Process on a tabular model to an Azure Analysis Service model I get the following error after 10 minutes into the processing: Failed to save modifications to the server. Error returned: 'Microsoft SQL: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.. The exception was raised by the IDbCommand interface. Technical Details: RootActivityId: cd0cfc78-416a-4039-a79f-ed7fe9836906 Date (UTC): 2/27/2018 1:25