Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: How to get distinct values from table in calculation view?

$
0
0

Hello Fernando

 

I have a similar situation regarding the post you have answered but in my case I am dealing with Facts table only which means that both tables are fact tables e.g.

 

TB 1

Key           Measure

 

1234          10

1234          10

 

TB2        

Key          Measure

1234         10

 

I will need measures from both tables. It is left outer join and TB1 is left table. When I get results from the model I am getting the measure twice from the Right table TB2.

 

E.g.

 

TB1.Measure          TB2.Measure

20                              20

 

I am expecting following result set which is the correct one:

 

TB1.Measure          TB2.Measure

20                              10

 

 

Can you please help how I can handle this situation.

 

Kind Regards

Khalid Bajwa


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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