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

One Variable/Formula to Populate Table Columns Values?

$
0
0

I have the need to be able to create a table that is sorted on one value in order to allow for proper sorting in a stacked bar chart.  Currently the stacked bar chart is created with two years worth of data.  The table used to create this chart has three columns: area, 2014, 2015.  The data under 2014 is derived from a variable that pulls information just for that year; however, the data for 2015 is using a different variable that also adds in information to the derived data.  Therefore, when the chart is created, the sort is only done on one value and therefore not displaying correctly since each column in the stacked bar chart needs to be sorted individually.  Therefore, I thought that if the values for each column could be derived using one variable the sorting situation would be resolved.

 

Does this seem feasible or am I just thinking way too far out of the box?

 

Here was the variable i was trying to use for the columns:

 

=If(([Fiscal Year] = [cur_fiscal_yr] and (ColumnNumber() = 2)) Then [cur_yr_oblig_value]

ElseIf ((Fiscal Year] = [pre_fiscal_yr] and (ColumnNumber() = 1)) Then [pre_yr_oblig_value]

ElseIf (ColumnNumber() = 3) Then [Forecast Totals]

Else 0

 

The values in the table are:

 

Area          2014          2015

 

So they are rolled up by area.  I need to have the sort for the table from lowest to highest value for both 2014 and 2015 as these are the bars on the chart.

 

Any ideas would be greatly appreciated!

 

Thanks,

Wendy


Viewing all articles
Browse latest Browse all 5402

Trending Articles