Hi this is my first post, I have just started using cubedata and am trying to get some top 10 info based on different measures It needs to be dyanmic by week. What I have works but is incredibly slow is their a more effieicent way to write my query, Otherwise I may have to go back to using the pivot tables and populating a dashbaord that way.
any help appreciated:
The cubeset:
=CUBESET("Main Cube","topcount([Customer].[Username].children,10,sum(([Date].[Fiscal Date Hierarchy].[Fiscal Week].&["&$X$4&"],[Product].[Product Vertical].[Product Vertical].&[1]),[Measures].[turnover]))","top 10 turnover")
(where x4 is the ficsalweek date)
The cuberankedmember:
=CUBERANKEDMEMBER("Main Cube",$C$21,$R10)
(Where c21 is the cubeset and r10 is the rank to return)
=CUBEVALUE("Main Cube",D$6,$A25,$P$9,$I$6)
(where d6 is the measure (turnover), a25 is the username retutned by the the cuberankedmember, p9 is channel and i6 is the date)
Many thanks in advance
Chris
any help appreciated:
The cubeset:
=CUBESET("Main Cube","topcount([Customer].[Username].children,10,sum(([Date].[Fiscal Date Hierarchy].[Fiscal Week].&["&$X$4&"],[Product].[Product Vertical].[Product Vertical].&[1]),[Measures].[turnover]))","top 10 turnover")
(where x4 is the ficsalweek date)
The cuberankedmember:
=CUBERANKEDMEMBER("Main Cube",$C$21,$R10)
(Where c21 is the cubeset and r10 is the rank to return)
=CUBEVALUE("Main Cube",D$6,$A25,$P$9,$I$6)
(where d6 is the measure (turnover), a25 is the username retutned by the the cuberankedmember, p9 is channel and i6 is the date)
Many thanks in advance
Chris