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

Restricted values in Dimension

$
0
0

Hi All,

I am new in the field so need your help. I have below data source coming from BW:

 

Date               Week               Region           Dollars

------                -------                ----------           ---------

01/20/2014     2014WW03     JAPAN            50

11/14/2014     2014WW47     AMERICAS    10

11/23/2014     2014WW48     KOREA           30

01/01/2014     2015WW01     APAC             20

01/10/2014     2015WW02     EMEA             30

 

If have created following formula (as Measure qualification):

MinWeek =Min(if([Date] > CurrentDate()) then [Week] else "2090WW10") in Report

 

Above formula will give the minimum week having date grater than current date. So with system date as 11/14 it should give 2014WW48 as MinWeek

 

Another formula is:

Weeks =[Week] where ([Week] >= [MinWeek])

 

So the above formula returns following weeks:

2014WW48

2015WW01

2015WW02

 

Another formulas are like:

AMAEICAS $ =sum([Dollars]) where ([Region]="AMERICAS")

so on...

 

Using above formulas / Variables, I created below report block:

WeeksAMERICAS $APAC $EMEA $JAPAN $KOREA $
2014WW4830
2015WW0120
2015WW0230
1050

 

So if you look at the last row, it is creating extra row with blank "Weeks" and sum of remaining regions which don't fall in "Weeks" formula is shown here. I am not able to filter out this row because the blank value is not member of "weeks" variable.

 

I tried another formula for weeks as follows...

Weeks =if([Week] >= [MinWeek]) then [Week] else ""

 

With above formula I can see [Blank_Value] in the "Weeks" variable while applying filter but when I apply filter on "Weeks" not to include this value, nothing is shown in the report block

 

My Requirement is

To display weeks greater than current date (by utilizing date column as we are not following standard calendar, so no built-in functions can be used) and corresponding dollars per region.

 

So I want to show above table without yellow line.


Viewing all articles
Browse latest Browse all 5402

Trending Articles



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