Quantcast
Channel: SCN : Discussion List - SAP Business Explorer (SAP BEx)
Viewing all articles
Browse latest Browse all 4032

CKF for Counting Specific KF Values

$
0
0

Hi,

 

I have a CKF1 that is a result of nested CKFs and RKFs. I have designed CKF1 that the outcome will either be 1, 2, 3 or 4.

 

My report has the following infoobjects available, with the highest granularity at the bottom (Ship to)

 

Sales Org

Franchise

Ship To

 

Each Ship To will have a status based on CKF1.

A franchise will have multiple ship tos:

 

Franchise       | Ship To  |   CKF1

F1                         1              1

F1                         2              3

F1                         3              1

F1                         4              2

F1                         5              1

 

I need my output to be aggregated at the Franchise level:

 

Franchise       |      Count of 1 

F1                               3

 

My CKF1 is dynamic, meaning that it will calculate the aggregated value of Franchise if I don't have Ship To also in the drilldown.

 

I've tried creating a local formula that has a simple calculation:  CKF1 == 1

 

This will result in a 0 if negative or 1 if positive.

 

I then set the aggregation to be Summation and the reference char as Ship To, but it's not adding up the values correctly.

 

I was wondering if I'm doing this correctly or am missing any steps.

 

Many thanks for your help!

 

Marcelo


Viewing all articles
Browse latest Browse all 4032


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