Quantcast
Channel: SQL Server Analysis Services Forum
Viewing all articles
Browse latest Browse all 2472

set of top X children of current member

$
0
0

Hi

I need to present top 5 children of current selected time member (can be any time heirarchy member in any level).

Time hierarchy is on Slicer and i need to present its current selected member top 5 children on rows.

Top 5 set defenition would be some thing like:

SET top5children AS
      topcount({
      order(
      {nonempty([Time Dim].[Time].currentmember.children,[Measures].[A])},[Measures].[A],desc)
      },5)

But when I try using this set in excel pvt or a cognos report i get the anoying massage that 2 elements

in the report have a reference to the same time attribute (don't remember the exact massage).

Any work around to this problem??

Thanks!

Rea


Viewing all articles
Browse latest Browse all 2472

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>