Help needed in write MDX
I have a cube 'MyCube' having dimension 'Stores', 'Vendors' and 'TransactionDetails'. The attributes are as below: Dimension: Stores Attributes: ID, Name Dimension: Vendors Attributes: ID, Name...
View ArticleHow to embed a mdx inside a t-sql query
Hi, Below is my existing query DECLARE @sql AS NVARCHAR(MAX) SET @sql = 'SELECT CONVERT(varchar, [[Financial Location]].[Territory Num]].[Territory Num]].[MEMBER_CAPTION]]]) AS TerritoryNum,...
View ArticleSSAS 2012 Multidimensional filtering
I have a fact table which holds properties (houses, buildings etc) and another table (not sure how to set this up that's the question) that holds many per property their first mortgage amount, date,...
View ArticleCopying Aggregations from Stage to Production database
I currently have a SSAS database in TFS that I use as a staging environment. Typically I roll things out to the staging database and if it looks good I do a backup/restore to the production...
View ArticleLink Two dimension tables doesn't work
Hey everyone,This is my problem: I have fact table of sales with employee id, and employee dim table with the employee's info.It works great when I'm trying to pull all the sales by employee.However, I...
View ArticleError for a tabular model in SSDT after applying the SP1 for SQL Server 2012
Hi,after the installation of the SP 1 for SQL Server 2012, inside SSDT I cannot open the Model.bim file and I can see this message: You cannot open the BIM file. Reason: The workspace database server...
View ArticleDisplay different member name based on Role (dimension security?)
Hi all,I'm trying to configure my cube to support one report(one query) for 2 different roles.For example,Dimensions are..1. ID (1,2,3,4,5,6...)2. Product Type (values are Bike, Car, Boat)Measures is...
View ArticleAvalaibility of DIVIDE function in SSAS Tabular
Hi,I'd like to try to use the Dax DIVIDE function present in PowerPivot for Excel 2013. I've noticed that this function isn't present in SQL Server 2012 RTM version.Perhaps I need to install the SP1,...
View ArticleHow to create calulated member to get the sales for current week
Hi,I need to create Sales for the current week in MDX.Lets say i have [Measures].[Sales] and i have to know the sales for the week picked by the user, Lets say if i pick tuesday then sales until...
View ArticleDetect aggregation processing state with AMO?
Hi.I implemented a solution to control the SSAS processing with AMO. Now I like to detect the processing state of the aggregations to decide automatically, if ProcessIndex should run against a...
View ArticleSSAS Cube Processing
Hi,Our cube full processing takes 3hrs to finish.The analysis server is connecting to Database server and processing the cube.On the database server, server level parameter idle time is set at...
View ArticleThe MDX function failed because the Coordinate for the 'IsActive' Attribute...
I do not want to bother over by the question again, but we have a weird Issue for a while.Users cannot query the cube and the the Error Message "The MDX function failed because the Coordinate for the...
View ArticleProcessing error after the SP1 for SQL Server 2012 installation - SSAS 2012...
Hi,I've applied the SP1 on a SQL Server 2012 RTM installation. I've opened and converted a Tabular project inside SQL Server Data Tools.When I try to run fe a table process, I've this error:---The...
View ArticleMDX calculation depending on a value in filter Dimension
HiI have the situation, that I want the calculation in a calculated measure to depend on a value in a Dimension.What I have so far is the following.WITH MEMBER [Measures].[test] AS...
View ArticleEmpty Drillthrough on filled Cell in AdventureWorks
I am using SSAS 2008 R2 and "Adventure Works DW 2008R2". Many Drillthrough I try give wrong results. The simpelst unexpected drillthrough I found today is this:DRILLTHROUGH SELECT [Ship...
View ArticleSSAS KPI Goal Expression
Hi, I have problem about goal expression in ssas. I want to set dynamic goal, which depend on previous kpi value (increase 10% from previous value)Value expression : [Measures].[Sale Amount]Ex, #...
View ArticleHow can I create an Analysis Services database connection for Power Pivot? (CU4)
So, IT just installed CU4 for SQL Server 2012, and I'm eager to see how Power View displays our data warehouse -- which uses Analysis Services (multidimensional.)I'm guessing I need to create a .bism...
View ArticleMultiple SELECT Statements using AdomdDataAdapter
Hi everyone,I'm using Microsoft.AnalysisServices.AdomdClient objects to connect to my SSAS.That is what I do: Dim objCellSet As CellSet Dim objConnection As New AdomdConnection("Data...
View ArticleChange order dimension columns are listed
I found the "move up" and "move down" to control the order measures are listed in a cube browser. However for my customer dimension that has about 25 columns, I'd like to get the Address, City, and Zip...
View ArticleHow to manage Roles Properly
Hi, I'm guessing this is a fairly simple question. I have a cube, and some Roles. I've configured the roles in the Visual Studio Solution where I built the cube.I can see that, if I add users to roles...
View Article