Quote:
I want to show the count of all App records for that particular ID. A simple
cross join does not give me the required data. Is there any other way to
write this query?
It can be pretty hard to speed up these sort of things in AS2k.
|
We probably have to start thinking a bit laterally.
* If there is a Many-to-one relationship between ID and App you might be
able to extend the App dimension to make ID a level under App and then
do a count of children.
* Could you create a cube with just the minimum dimensions you need for
this measure App, ID and maybe time and either use a virtual cube or the
LookupCube() function to pull the count from this cube.
Note: AS2k5 has a number of optimizations built into the engine so it
will be interesting to see how that would go.
--
Regards
Darren Gosbell [MCSD]
<dgosbell_at_yahoo_dot_com>
Blog: http://www.geekswithblogs.net/darrengosbell