Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Web Intelligence
Viewing all articles
Browse latest Browse all 5402

Webi and its data aggregation: how to create a dynamic counter?

$
0
0

Hi experts,

 

I am fed-up with Webi and its way to aggregate the data.

 

I have been trying, for 2 days now, to do something really simple with BEX but which cannot be done in BEX because of WEBI limitation (except some body can tells me a trick!).

 

I am trying to get a material counter where a KF is set to 1. Pretty simple would you say ! But no... I am not able to find a way to do it:

 

Here is the "incoming table"

 

YearMonthMaterialInternal / ExternalValid
201412.2014M1Internal1
201412.2014M1External1
201501.2015M1Internal0
201501.2015M1Internal0
201501.2015M2Internal1
201501.2015M2External0
201502.2015M3Internal1
201502.2015M3External1
201502.2015M4Internal1
201502.2015M4External1

 

I want to get a dynamic result following the user parameters (filters).

 

I want to count the number of distinct Material per month for which the Valid KF = 1.

 

So I need to get the following Result when no filter on Internal/External is set:

 

MonthCount

12.2014

1
01.2015  1
02.20152

 

When the flag is set to external I should be able to get:

 

MonthCount

12.2014

1
01.2015  0
02.2015

2

 

If the user set the Internal / External value then the count should also evolved.

I have tried many things:

Count(Material, Distinct) ForAll (Month) in Year where (Valid = 1)

Count (Material, DIstinct) ForEach(Month) inYear Where (valid = 1)

Count (Material, Distinct) Where Valid = 1 forEach (Month) in (Year)

 

And I always get the number of distinct Material whatever the Valid flag value is set to!

 

Does anybody has an Idea?

Thanks.

Cheers,

Cyril.


Viewing all articles
Browse latest Browse all 5402

Trending Articles



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