Home > Archive > MS SQL Server OLAP > December 2005 > DistinctCount and PeriodsToDate









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author DistinctCount and PeriodsToDate
gNM

2005-12-28, 11:24 am

Does anybody have used PeriodsToDate and DistinctCount functions together?

I need do count different products through particular period starting from
the beginning of the year...

thanx in advance


Jéjé

2005-12-28, 11:24 am

with AS2000?
not possible. the dcount measure doesn't support the aggregate function.

you have to create a calculated dcount measure instead-of a dcount
aggregated measure.
anything like:
count(crossjoin(dime
nsion.level.members, {measures.simplecount}),
exclude_empty)

With AS2005 its possible.

"gNM" <gedukas99@hotmail.com> wrote in message
news:%23BmcjT8CGHA.3140@TK2MSFTNGP14.phx.gbl...
> Does anybody have used PeriodsToDate and DistinctCount functions together?
>
> I need do count different products through particular period starting from
> the beginning of the year...
>
> thanx in advance
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com