dbTalk Databases Forums  

Counting members in a touple

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Counting members in a touple in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Usmani
 
Posts: n/a

Default Counting members in a touple - 01-05-2006 , 07:45 AM






Hi

i want to count no of DAYS for each sales representative in set

the sample set is like

{([Sales representative].[Alex],Time.[All time].[1],Time.[All
Time].[2]),([Sales representative].[Bob],Time.[All time].[1],Time.[All
Time].[3]),([Sales representative].[Jhon],Time.[All time].[1],Time.[All
Time].[2],Time.[All Time].[3])}

i want to count sales representative with two days in touple i.e. Bob
and Alex

can any one kindly tell me a way

Thanks


Reply With Quote
  #2  
Old   
Vladimir Chtepa
 
Posts: n/a

Default Re: Counting members in a touple - 01-06-2006 , 10:18 AM






Hi

IMHO, It is not valid tuple

([Sales representative].[Alex],Time.[All time].[1],Time.[All
Time].[2])

Do you have write it per hand or get from some calculation etc.?

Thanks,

Vladimir Chtepa


"Usmani" <usman.usmani (AT) gmail (DOT) com> schrieb im Newsbeitrag
news:1136468744.511507.145590 (AT) o13g2000cwo (DOT) googlegroups.com...
Quote:
Hi

i want to count no of DAYS for each sales representative in set

the sample set is like

{([Sales representative].[Alex],Time.[All time].[1],Time.[All
Time].[2]),([Sales representative].[Bob],Time.[All time].[1],Time.[All
Time].[3]),([Sales representative].[Jhon],Time.[All time].[1],Time.[All
Time].[2],Time.[All Time].[3])}

i want to count sales representative with two days in touple i.e. Bob
and Alex

can any one kindly tell me a way

Thanks




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.