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

MDX: Exclude Members of a Team Hierarchy

$
0
0
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 is also a Team Member (Identifiable because the Agent Id is the same as the supervisor Id)and you wanted to return all measures except when a Team Member is also a Team Lead, is there a way of doing this with MDXe.g. when the query runs at the moment I get[b]Team Name Team Lead ID Agent ID Monthly Value[/b]Team 1....................5.................5..................200Team 1....................5.................12.................15When I only want[b]Team Name Team Lead ID Agent ID Monthly Value[/b]Team 1....................5.................12.................15I suspect this is one of those obvious questions for experienced MDX users and hopefully the obvious answer is not you can't do it :)

Viewing all articles
Browse latest Browse all 1341

Trending Articles