Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Distinct of all the fields in the attribute view

$
0
0

Hi ,

 

I want to get the distinct values of the all the fields in the Attribute view.   I am not getting the distinct option either in Attribute view or calucation view.

 

My requirement is like this :

 

SELECT

    distinct

    'Y' as PRD_TYPE,

D_TIME_PERIOD.YEAR as PRD_YEAR,

D_TIME_PERIOD.YEAR as PRD_NUM,

D_TIME_PERIOD.YEAR_NAME as PRD_NAME

FROM

ABC.D_TIME_PERIOD D_TIME_PERIOD.

 

For the above schema we will get duplicate values .

 

I need to use same table in the analytical view. If I have duplicate values it misleads the result while joining .

 

Please help me how to get distinct for the above query in the attribute view.

 

Thanks & Regards,

Ramana.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>