Count Distinct Share

Hi All,

do you know if is it possible to calculate a distinct count share? so:

distinct_count(<>) / distinctCountOver(<>,[],PRE_AGG)

It gives me aggregation error.

Thanks,

What’s the aggregation error you are getting?