Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8667

Re: Need help on reporting scenario.

$
0
0

Hi

 

you will have to create calculated key figures for each column.

 

It is a tough requirement because the calculation has to be done before the data is agregated in the result.

 

I would create the formula for column 1-30 days:

 

AMOUNT * (  (NDIV0( (DOC_TYPE = CC)+(DOC_TYPE=CQ)+(DOC_TYPE=CS) / ((DOC_TYPE = CC)+(DOC_TYPE=CQ)+(DOC_TYPE=CS)))*(INVOICE_NB<>#)*(INVOICE_NB<>'V') * (POSTING_DATE_FROM_SCREEN - NET_DUE_DATE_CUBE) =<30)*((POSTING_DATE_FROM_SCREEN - NET_DUE_DATE_CUBE) =>1)

 

+

 

AMOUNT * (  (1 - (NDIV0( (DOC_TYPE = CC)+(DOC_TYPE=CQ)+(DOC_TYPE=CS) / ((DOC_TYPE = CC)+(DOC_TYPE=CQ)+(DOC_TYPE=CS)))*(INVOICE_NB<>#)*(INVOICE_NB<>'V') )* (POSTING_DATE_FROM_SCREEN - POSTING_DATE_CUBE) =<30)*((POSTING_DATE_FROM_SCREEN - POSTING_DATE_CUBE) =>1)

 

 

The objective is to calculate the value for documents of certain types on on hand

 

On the other hand, we calculate the rest...

 

Hope it will be helpful


PY


Viewing all articles
Browse latest Browse all 8667

Trending Articles



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