Quantcast
Channel: SCN : Unanswered Discussions - Semantic Layer
Viewing all articles
Browse latest Browse all 1291

Duplicates values Elimination using context operators

$
0
0

Hi All,

 

I am facing the below issue.

 

IC_CODE      IC_C_CODE   LN           AMOUNT     TN_NO

21                    10                     234          1000              101

21                    10                     234          1000               102

21                    10                     232          500                 102

21                    11                     230           2000              103

21                    11                     230           2000               104

 

my o/p should look like this.

 

IC_CODE     IC_C_CODE   AMOUNT

21                    10                     2500

21                    11                    4000

 

 

I have created a variable TOTAL_SUM -> =Sum(Amount ForAll([LN]) In(IC_C_Code])) but i am getting multivalue error because of duplicate LN number.

 

 

Any help is grealty appreciated.

 

Thanks in Advance!!

 

 

Thanks,

Reacha


Viewing all articles
Browse latest Browse all 1291

Trending Articles



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