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

retrieve the latest date and its corresponding record using calculated member

$
0
0
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 department.EmployeeId StartDate EndDate Dept101 03/02/2013 01/01/2014 Dept1102 04/07/2012 25/05/2005 Dept5102 25/05/2005 15/06/2012 Dept7101 02/01/2014 27/09/2015 Dept6102 15/06/2012 20/10/2015 Dept4Each column is maintatined individual dimensions.My result required should be latest start date and its corresponding row like belowEmployeeId StartDate EndDate Dept101 02/01/2014 27/09/2015 Dept6102 15/06/2012 20/10/2015 Dept4Thank you in advanceRegardsalplamir

Viewing all articles
Browse latest Browse all 1341

Trending Articles