Hi Chetan,
Usually a distinct clause is used in a query to only return a subset as a result.
I may be wrong but I do not think you can do a distinct directly into an attribute or analytic view. You can create a calculation view using SQLSCRIPT and code the select distinct statement directly into the calculation view.
Thanks,
Sharan