Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

COUNT DISTINCT in OWB

Status
Not open for further replies.

Kioutie

Programmer
Jul 11, 2003
11
0
0
CA
Hi,

Do somebody knows how to do a SELECT COUNT (DISTINCT field1||field2) in OWB?
In my mapping, i have an aggregate that makes a 'GROUP BY' and four 'SUM', and in the expression field OWB doesn't give me the 'DISTINCT' option (I have to make a COUNT of distinct NAS).
My superior don't want me to change the code that is generated, so i really don't know how to do this..
Anybody have a suggestion?

Thanks!
 
Yes.. that's what i did, but i was wondering if we can use the DISTINCT command in OWB.. i guess we can't !!
 
hi,
where you want to use the distinct count...

if it is in the aggregator you can select the properties of the attribute and select distinct there to count the occurence...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top