Working out time remaining (Modulo)
So I have a simple cube, a measure of total time (in seconds), to support better usage in reports I wanted to add a total remaining minutes & seconds as separate calculations so that these can be...
View ArticleSSAS tabular model and bridge tables
I have a healthcare model, where an episode has 1 to many diagnosis. I have used the Kimball bridge table to model the data (http://www.kimballgroup.com/2012/02/design-tip-142-building-bridges/). I...
View Articlecreating a calculated member in mx
Hello, please when I use the tail and nonempty function on rows it gives the correct value for the member (query below)select {[Measures].[Vol]} on columns,tail(nonempty ( [Dates].[Month Short...
View ArticleCube with 2 measure groups (with different relationships to dimensions)...
I have a cube that contains stock-take data from retail operations. It has 2 measure groups - one containing the number of stock units counted in each stock take batch (which is related to the Product,...
View ArticleCreate a Calculation within a Dimension
I have a simple cube with one measure and 3 dimensions. I’m trying to create a calculation in the dimension “CRED IVR END REASON DIM V”.My goal is to create a calculation where I add the value for...
View Articleretrieve the latest date and its corresponding record using calculated member
HiCan any one plese help me in retreiving the latest date record with its corresponding record using calculated member in ssas. I have four dimension out of which two are date dimension and the last is...
View ArticleDAX Dates Between Question (Finding SUM between a date range)
Hi,Scenario:Publications have pageviews which are recorded over a period of time. The Web Activity tables stores the page views and it's associated to the activity date table based on the date key. On...
View ArticleConnecting to SSAS in a different domain
We need to pull some numbers off of an SSAS server in a different domain from ours. For most users, I've set them up with the ability to open Excel using their credentials in that domain. Now the...
View ArticleNeeds MDX Query Optimaization
Hi Experts,This qry is taking around 20 sec to execute..Please help me in tuning thisWITH MEMBER [Ca1] AS ([Measures].[Ca])MEMBER [Sa] AS ([Measures].[Ca],StrToMember("[b].[b1].[b2].[d2].[O]") )MEMBER...
View ArticleCalculations across fact tables related by dimensions
This seems like a pretty basic question, which probably will tell you about my level of expertise with SSAS, but I haven't been able to find a good answer otherwise, perhaps because I don't know how to...
View ArticleLogical OR filter in Tabular model
Hello. I have a problem designing tables and relationships in our business. I have a main fact table that contains calculations by employees. Each employee has, however, a primary and secondary area of...
View ArticleMDX-Query-Optimization
Hi everbody,i have a mdx-query which works on model level without any problems.But if i switch to unit-level (round about 50 Mio rows) the query runs always in a timeout.Is there maybe a query...
View ArticleMDX: Calculating MONTH COVER (of Stock) in a performant way
Hello,this is my dataset:http://www.sqlservercentral.com/Forums/Attachment18473.aspxI want to calculate the "Cover Month". Therefore I have to look for Stock(in this example in january 2016 = 5,000),...
View ArticleSSAS Newbie errors: "no key attribute is defined" & "Granularity is not defined"
Am working through SSAS tutorial using AdventureWorks2012DW: https://msdn.microsoft.com/en-us/library/hh231701.aspxHave deployed Cube (end of Lesson 2) and at end of Lesson 3 encountered many errors. I...
View ArticleConnection to AS from Excel problem
I'm new to AS and have recently installed AS 2014 along with SSDT. As an exercise I built and deployed a simple tabular model using AdventureWorksDW. However, I'm unable to connect to the model with...
View ArticlePerformance Issue - Cube Process
In SSAS ,we are facing performance issue problem in production while processing partition key. We verified the estimation size of partition key. Its taking more than 25GB.Please anyone help me how to...
View ArticleMDX: subtract subtotal from total
Hi guys, i have a measure that calculates hours worked on a task.task fall under projects:INTERNAL,ENHANCEMENTS, SUPPORTthe roll up works, but i need to display INTERNAL subtotal, I then need to...
View Articleunable to import Excel to SSAS Tabular
I have a tabular model in SSAS that I need to import an excel calendar worksheet into. The excel file format is Excel 97-2003.I follow steps:Click Model ->Import From Data Source -> Excel ->...
View ArticleDimension Date format
Hi,I have an issue whereby my date dimension whenever I display, it shows as full format with days like Monday. January 1, 2001. How to make it in different format ?I would like to show it only as...
View ArticleUsing a SET in a Previous Year Calculation
Hi everyoneMy MDX skills aren't the greatest so I'm battling with the following query:[code="sql"] WITH SET [ATL] AS { [Income Statement].[Income Statement Lines].[IS Level4].&[71], [Income...
View Article