Use of "With Member " in MDX queries ?
I am a newbie and trying to learn MDX queries.Till what i have learn till now, is that every data manipulation can be done using Select,From,Where and using some of the function (as an when...
View ArticleMDX CALCULED MEASURES FOR ALL LEVEL OF A HIERARCHY
Hi,Could someone help me to write a MDX script to calculate a measure for all level of a hierachy?I explain you:I have a hierarchy "Product" with these levels1- Category2- Subcategory3- ProductI want...
View ArticleSSAS processing
Hi,I am currently processing an entire OLAP database that contains 3 cubes. I am currently using "ProcesFull" process option. The whole thing taaskes about 2 hours to process.1- What will be the...
View ArticleExcel Pivot Tables with analysis services
Hi,I need to build a template for users so they can select only a few range of values in excel for a column. Once they enter some values in the template, we need to load them to the database. The...
View ArticleLast Year using Scope or Calculated Member - Rollup issue or Grand Total issue
Hi Folks, I'm getting stuck with the calculation of the last year using MDX. First I create a calculated member and the scope it like this:[code="other"]CREATE MEMBER CURRENTCUBE.[Measures].[Sales...
View ArticleSSAS Overview
Let me start off by admitting I know very little about SSAS. I have been using SQL Server for several years now and and consider myself fairly proficient in t-sql, sp's, functions, SSIS, and SSRS but...
View ArticleInclude date in result
I am new to MDX queries and have an MDX query that runs fine:Select[Measures].[Total Patients Waiting] on columns,CrossJoin({[ReportDate].[ReportDate].[Report...
View ArticleSSAS Tabular Data coversion issue
Hi,recently our orgnization decided to go with MSBI. We started working on the SSAS Tabular model.I am trying to import data from Oracle and it has pk_id which is a number in source. But when I...
View ArticleAnalysis Services Role and Security VS Active Directory Refresh Delay
I am getting error messages of ‘user do not have permission to access the cube’ in SQL profile. We use windows authentication to connect to cubes. All the cube roles are linked with Active Directory....
View ArticleDistinct count
Hi all,Prolly easy question, but for some reason the query below does not return the distinct count but just the count. Should be 16 but it's retruning 17. Any help? :)WITH SET [MySet]...
View ArticleTying a Measure to 2 non-related attributes in a dimension
Hi,We have monthly budgets broken out by business segment (Commercial, Retail, etc). and market (states, like CA & MA). Each customer is associated to each:[code="sql"]Company 1 Commercial...
View ArticleTest Cube Deleted in SSAS
Cheers everyone,I am tasked with creating some cubes for my company as we migrate from a legacy reporting system. I had a cube all deployed and working - but I deleted it from within SSAS. Now - when I...
View ArticleNeed current week and previous week using Date parameter
Hi,I have the Date].[Year - Week - Date].[Week] hierarchy and now i want sales of previous week and current week for comparision based on date passed by the user. for Instance, if the date entered is...
View ArticleMDX: Exclude Members of a Team Hierarchy
Apologies, a newbie question hereThis, at the basic level, would be a piece of cake in SQL with a 2D, but I'm struggling in If you have a hierarchy of 1. Team2. Team Lead3. Team MemberWhere a Team Lead...
View ArticleHow to Test SSAS for Availability
I need a way to test SSAS to be sure it is operational. I have had several times where the SSAS VM is up and pingable; however, SSAS will not respond. Does anyone know of anything that I can use to...
View ArticleImpact of FlightRecorder
Hello,Please let me know whether flightrecorder can be disabled when production environment is up and running. Will there be any impact? Please let me know the best practice process to disable...
View ArticleMDX format date expression
Hi, could someone please assist a MDX novice with formatting the column values to "yyyy-MM" for the following MDX that runs and returns the Month Start Date as datetime i.e. 2008-01-01...
View ArticleCube file corrupted, cant restore backup
Hi guys, i am getting an error which looks like the cube file is corrupt.[code="xml"]TITLE: Microsoft SQL Server Management StudioADDITIONAL INFORMATION:File system error: The following file is...
View ArticleAdd members to a role by script in tabular model
How can I add members to a role by script in the tabular model? I have the role set up, and I have a security table created that contains the domain/userid of all of the users that I'd like to add to...
View ArticleWhich Table Partition has Modified ?
Hi ,MyCube is build on the huge data set. I have to refresh the cube only for the partitions having the modified data. How can i get and use this information about partition which are modified to speed...
View Article