Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

MDX to Get Customer Status in given date range

$
0
0
I have a fact table that stores customer statuses based on when they last chaged. e.g.Customer Status DateAttainedCust 1 Live 20130801Cust 1 Suspended 20130625Cust 1 Live 20120901 Cust 1 Activated 20120731 So assuming I queried the end of year 2012, I would get a "Live Status" or if I queried their status as of 26th june 2013, I get "Suspended"This is straightforward for SQL but no clue how to do it in MDX.Thanks

Viewing all articles
Browse latest Browse all 1341

Trending Articles