MDX Months Since a End Date
Hi, I'm very new to MDX, and struggling to get the MDX to calculate months since an End Date, Im not even sure whether to use the End Date stored in the measure or the End Date stored in the dimension....
View ArticleMDX Calculation for Number of Days from Today until Qty
I am trying to calculate the number of days until a specific quantity is <0I've been doing a little searching and I am pretty sure I need to use a combination of the HEAD function, FILTER function,...
View ArticleIgnore Dimensions
I am trying to calculate the average number of trips per week for a customer.I want to start by gathering the first trip date and the number of trips which I can do with the followingMEMBER...
View ArticleDeploying to Production server using XMLA file without a Password
I have generated an XMLA for our Production server using the Deployment Wizard.The problem I have is that the Prod server's Cube is using a specific account (as the XMLA excerpt below shows). This is...
View ArticleGet first non-null values for all customers
Hi,I am using SQL 2008R2, the Adventure Works database and I need to retrieve the first date with non-null Sales Amounts for each customer. The query is the following:SELECT { [Measures].[Sales...
View ArticleDAX for previous available day (PREVIOUSDAY with holidays / weekends)
Hello all,I ran into the following problem recently, but so far I haven't been able to come up with a simple measure to solve it. I still think it should be easy, so I'm probably missing something.My...
View ArticleAlternative to Linked Cubes for Data Mining?
I know the concept of linked cubes has been dropped since Sql Server 2005+ but I find myself stumped with a security problem for data mining. I'm using SQL Servr 2008 R2.In brief: Is there any way that...
View Articledeploying the cube from development environment to the production
Hi All,Thanks in advance.Could you please suggest me the steps to move the SSAS Cube from the development environment to the production.
View ArticleDistinctCount measure for non-zero values - but in Excel pivot table
Hi,I have an SSAS 2008R2 cube that contains a DistinctCount measure (a distinct count of Product Id's).I am trying to build an Excel 2010 pivot table that connects to my cube and simply displays the...
View ArticleAdding Another Parameter to MDX Query
I have the following MDX query which I inherited:WITH MEMBER [Time].[Year - Month].[YTD] AS AGGREGATE(YTD(StrToMember(@SelectedMonth, CONSTRAINED))) --< We need to OT over the individual months in...
View ArticleHow to create a instance dynamically with cross join function ?
HIwithmember [Ganesh]as'{Crossjoin([Date].[Week].[Week],[Measures].[Teu])}'select[Ganesh] oncolumns,nonempty [FACTCBI-Shipper].[Customer Id Sh].[Customer Id Sh]ONrowsfrom[Commodities]...
View ArticleGetting attribute name and source column
Hi,Is there a way to use DMVs etc to get the attribute of a dimension alog with the column name from the data source? Thanks for the help.
View ArticleConditional Default Member in SSAS
Hi,I am having Time Period Dimension which is having Program Year attribute which have members like 0-12 Months, 13-24 Months and 25-36 Months. Time Period is having Default Member 0-12 Months which is...
View ArticleNamed Set Dimension Date With Condition Others Date
I am using SSAS 2008R2, i am confused with create named set.My Problem :I have Dimension SalesDate and Dimension OrderDatein FactSales, I want to produce data with condition sales date=orderdate.Now,...
View ArticleHiding measures and dimensions based on access roles
The requirement is to hide measures / dimensions based on the user access roles. Hiding Measures and Dimensions can easily done by perspectives, but perspectives are not secured by any access roles. I...
View ArticleWhich storage mode is high in performance molap or holap??
Which storage mode is high in performance??
View ArticleIterating dates to pass inside a DAX query - SSAS Tabular
Hi,in order to calculate a measure in my Facts table I need to match the column StartDate to the current date returned by iterating on Dates table.So I'm trying this DAX query:EVALUATE ADDCOLUMNS (...
View ArticleNamed Set: Most efficient autoexists analog?
I'm creating a named set in my cube that's the current year. I thought I had read at some point to avoid "Exists" in cases when you're narrowing a set using a second set from the same dimension...
View ArticleConnecting to Oracle DB using AMO
I'm working on a project which has a part to create a oracle connection to the oracle DB using oracle client and I'm creating the connection like this ,1. Create the SSAS server2. Create the Data...
View ArticleSSAS 2012 Measure Formatting
Hi All,Below is a sample measure with defined format but not reflected when browsed.I want to display the value like 123,456.Measure created in Calculation Tab:CREATE MEMBER...
View Article