Former Member

# To show all months of qty values for each fiscal year in report?

Our cube contains different fiscal years of order qty/delivered qty for a material (e.g. material A). We use fiscal year variant V9 (Oct. - Sep). We would like to generate the following query result to list the material, order qty, fiscal year, and then for each calender month, the delivered qty value for the corresponding fiscal year:

Column title:

Material --- Order Qty --- Fiscal Year --- Oct --- Nov --- Dec --- Jan --- Feb --- Mar --- Apr --- May --- Jun --- Jul --- Aug --- Sep

Just give two rows of data for material A:

1st row data example:

A (material) --- 23 (Order Qty) --- 2006 (fiscal year) --- 2 (delivered qty in Oct of the calendar year 2005 ) --- 4(delivered qty in Nov of the calendar year 2005 ) ---1 (delivered qty in Dec of the calendar year 2005 ) --- 5 (delivered qty in Jan of the calendar year 2006 ) --- .... 2 (delivered qty in Sep. of the calendar year 2006)

2nd row data example:

A (material) --- 45 (Order Qty) --- 2007 (fiscal year) --- 3(delivered qty in Oct of the calendar year 2006 ) --- 6 (delivered qty in Nov of the calendar year 2006 ) ---1 (delivered qty in Dec of the calendar year 2006 ) --- 5 (delivered qty in Jan of the calendar year 2007 ) --- .... 2 (delivered qty in Sep. of the calendar year 2007)

How to generate this query?

Thanks!

##### Add a comment
10|10000 characters needed characters exceeded

### Related questions

Former Member
Posted on Mar 20, 2008 at 08:47 AM

Hello Kevin,

Create a Structure with Restricted Keyfigure for Delivered Qty on Fiscalyear.

RKF -> DelivQty -> Restricted on 0FISCYEAR -> Restrict this with a variable value 001/2007 for first period of 2007.

Then copy this RKF upto 012/2007 in the same structure.

So it will be

In Columns

Structure

Material --- Order Qty --- Fiscal Year --- Oct --- Nov --- Dec --- Jan --- Feb --- Mar --- Apr --- May --- Jun --- Jul --- Aug --- Sep

In the above Oct - Sep is the Restricted Key figures.

Thanks Chandran

##### Add a comment
10|10000 characters needed characters exceeded
• Former Member

hi Chandran,

Actually in each row data for material in different fiscal year, all the KFs in columns should be restricted to the fiscal year value. What we do is to use selections other than structure or RKF. What we is following listed in details that you can check if what we do is correct:

Under KF structure:

1. Create a selection for the 1st KF (Order Qty). In this selection, Order Qty is restricted with the characteristic 0FISCYEAR.

2. Create a formular as 2nd KF for the FY value. This formula KF use the value of a formular variable with Replacement Path of the the characteristic 0FISCYEAR. But somehow this KF value shows "X" values in this column. We defined this Replacement Path variable with the Reference Characteristic as 0FISCYEAR and all others keep default. But don't know why this column shows "X" values. We also add 0FISCYEAR to the row, and find the one does have data in the row. Any idea why put it in formular variable onto column not working?

3. Create a selecction for the 3rd KF (Oct). In this selection, restrict Delivered Qty with the characteristic 0CALMONTH2 (Calendar month) and further restrict 0CALMONTH2 to a fixed value: October

4. Create a selecction for the 4th KF (Nov). In this selection, restrict Delivered Qty with the characteristic 0CALMONTH2 (Calendar month) and further restrict 0CALMONTH2 to a fixed value: November.

Then the following steps are similar to step 3 and 4 to create all other Month columns. We wonder in all these selections, would we have to restrict them further with 0FISCYEAR?

Therefore we've got two questions:

1. Why in step 2, the formular variable doesn't work and the FY column shows "X" values?

2. Do we need to further restrict the delivered qty with the characteristic 0FISCYEAR for each month column which corresonding to the fiscal year in the same row?

Thanks alot and we are keeping giving you reward points!