ssas

Deploy SSAS Project using TFS Command Line

你说的曾经没有我的故事 提交于 2019-12-02 01:32:02
问题 How do I deploy an SSAS Cube project from TFS 2015? For regular database projects, it is sqlpackage.exe /publish with publish profile. What is the command line argument to auto deploy SSAS Project Model into a server? We are currently using SQL Server 2016 Enterprise. 回答1: You must use Microsoft.AnalysisServices.Deployment.exe located in C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio Syntax Microsoft.AnalysisServices.Deployment [ASdatabasefile] {[/s[:logfile]] | [

Force mdx query to return column names

六月ゝ 毕业季﹏ 提交于 2019-12-02 00:55:41
When connecting from powerpivot to SSAS, I got the following problem - if for some reason no rows are returned by mdx query, no column names are returned either and powerpivot gives an error. When executing such a query in SSMS I got 0 rows if mdx returns nothing and 2 rows if mdx returns 1 row (column names and the row itself). So - can I somehow force SSAS to return column names? Query currently looks a bit like this: SELECT NON EMPTY {[Measures].[Measure1]} ON COLUMNS, NON EMPTY {Filter([DimLocalDate].[Date].&[20110101]:[DimLocalDate].[Date].&[20120101], [JobStatus].[JobStatus].&[1] } ON

Deploy SSAS Project using TFS Command Line

送分小仙女□ 提交于 2019-12-01 21:16:46
How do I deploy an SSAS Cube project from TFS 2015? For regular database projects, it is sqlpackage.exe /publish with publish profile. What is the command line argument to auto deploy SSAS Project Model into a server? We are currently using SQL Server 2016 Enterprise. You must use Microsoft.AnalysisServices.Deployment.exe located in C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio Syntax Microsoft.AnalysisServices.Deployment [ASdatabasefile] {[/s[:logfile]] | [/a] | [[/o[:output_script_file]] [/d]]} Make sure to use /s to run in silent mode to prevent opening the

Add new users in SSAS security

﹥>﹥吖頭↗ 提交于 2019-12-01 20:58:45
I want to add users in SSAS security using following XMLA script. DECLARE @CreateUserInSsasXMLA VARCHAR(MAX) = '<Batch AllowCreate="true" xmlns="http://schemas.microsoft.com/analysisservices/2003/engine" Transaction="true"> <Alter ObjectExpansion="ObjectProperties" xmlns="http://schemas.microsoft.com/analysisservices/2003/engine"> <Object /> <Object> <RoleID>Administrators</RoleID> </Object> <ObjectDefinition> <Role xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2" xmlns

Excel Connectivity with SSAS - An error was encountered in the transport layer

风流意气都作罢 提交于 2019-12-01 20:41:27
I have a SSAS Cube in SQL 2012 to which I can connect from Excel 2010 without an issue using a windows user credentials. However whenever I restart the server hosting the cube and I try to refresh the pivot in the excel (in a client machine) it throws and an error saying " An error was encountered in the transport layer ". I am then prompted to re-enter the password for the windows account I am using to connect to the data source. The problem is that if I have couple of pivots open in different sheets in the same excel book per each pivot I am prompted to do this (even if I do a Refresh and

SSAS One to Many Dimensional Relationship

青春壹個敷衍的年華 提交于 2019-12-01 18:17:02
问题 Question in SSAS for y'all. I am attempting to define a One to Many relationship in an OLAP SSAS cube environment. However, i'm running into problems with defining a primary key. Example tables are below. Relationships between the first 3 tables are easily defined (TradeDate, NYMEX Trades & NYMEX Contract). However, my goal is to create a one to many relationship between NYMEX Contract and Model Contract. In other words, the data from 1 NYMEX Contract will be utilized multiple times in the

Cannot connect to SQL Server Analysis Services even though it seems to be running

限于喜欢 提交于 2019-12-01 17:15:09
问题 I just ran an "update edition" to update from SQL Server 2008 R2 Express to Enterprise. I first ran the update edition process, and then separately added the Analaysis Services component. All these processes ran without reporting any errors. When I open SQL Server Configuration Manager, I can see under "SQL Server Services" that Analysis Services is running. However, when I start up SQL Server Management Studio and get to the "Connect to..." dialog, in the "Server Type" dropdown I don't get

SQL Server Analysis Services - Do I have it?

北战南征 提交于 2019-12-01 15:55:42
Hi I have access to SQL Server at work and I've heard some interesting things that can be done with SQL Server Analysis Services. How do I know whether analysis services is running? Is it installed by default on the server? Would it be installed locally on my machine? Forgive what probably seems like a pretty dumb question, but I couldn't find any concrete details on Microsoft's website. Thanks! SQL Server Analysis Services is included if you are using the following Editions: Standard Developer Enterprise Is there a way for me to know whether this component was installed? It will be listed as

SQL Server Analysis Services - Do I have it?

对着背影说爱祢 提交于 2019-12-01 14:50:49
问题 Hi I have access to SQL Server at work and I've heard some interesting things that can be done with SQL Server Analysis Services. How do I know whether analysis services is running? Is it installed by default on the server? Would it be installed locally on my machine? Forgive what probably seems like a pretty dumb question, but I couldn't find any concrete details on Microsoft's website. Thanks! 回答1: SQL Server Analysis Services is included if you are using the following Editions: Standard

Using single slicer to control two pivot tables with different data source in Excel

亡梦爱人 提交于 2019-12-01 14:04:44
I have a problem with slicer in Excel file. In my Excel file I have two worksheets. In the first one, there is a pivot table taking data from OLAP cube and in the second I have a pivot table taking data from another Excel file. I'd like to have one slicer called "Organization" to filter data in both tables. Is it possible? Kind regards Stepan1010 No - it seems not. Slicers are meant to be used on pivot tables that share the same data source it seems. You should be able to conglomerate your data into one source and create two pivot tables with a shared slicer though. From Microsoft: http:/