dbTalk Databases Forums  

distinct count on varchar type column

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


Discuss distinct count on varchar type column in the microsoft.public.sqlserver.olap forum.



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

Default distinct count on varchar type column - 05-14-2004 , 12:36 PM






Hi,
I am using MS Analysis Services(AS)for cube building. I
need to create distinct count measure on 'varchar'
datatype based column. But MS AS cube does not allow
distinct count function to be performed on varchar column.

What is the solution..?

thanks,
durai

Reply With Quote
  #2  
Old   
Sanka
 
Posts: n/a

Default RE: distinct count on varchar type column - 05-14-2004 , 01:01 PM






AS 2000 will not allow VARCHAR type for any Measure

One Soln is to have a INT column in the relational adatabase and update it with corr. values (Particular value of VARCHAR Column should corr. to a specific Numberin INT Column. ). and use this INT Column for defining the Distinct Count measure

- Sank
----- Durai wrote: ----

Hi
I am using MS Analysis Services(AS)for cube building. I
need to create distinct count measure on 'varchar'
datatype based column. But MS AS cube does not allow
distinct count function to be performed on varchar column

What is the solution..

thanks
dura


Reply With Quote
  #3  
Old   
Khoosun
 
Posts: n/a

Default RE: distinct count on varchar type column - 08-12-2004 , 06:59 AM



Hi,
You should rather consider using "Calculated Member" instead, there you have
the possibility of using a distinct count with Varchar.

Regards,
Khoosun.

"Durai" wrote:

Quote:
Hi,
I am using MS Analysis Services(AS)for cube building. I
need to create distinct count measure on 'varchar'
datatype based column. But MS AS cube does not allow
distinct count function to be performed on varchar column.

What is the solution..?

thanks,
durai


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.