Need help on Power Pivot Measures

spycein

Board Regular
Joined
Mar 8, 2014
Messages
135
Office Version
  1. 365
Platform
  1. Windows
Hello Every one,

I have created a power pivot report based on the following tables

Table No.1

Product NameGroup
LaptopElectronic
TelevisionElectronic
Washing MachinesElectronic
RefrigeratorElectronic
Mobile PhonesElectronic
Table No.2

Product NameTarget
Laptop 100,000.00
Television 80,000.00
Washing Machines 70,000.00
Refrigerator 70,000.00
Mobile Phones 150,000.00
Table No.3

Product NameForecast Sale
Laptop 100,000.00
Television 80,000.00
Washing Machines 70,000.00
Refrigerator 70,000.00
Mobile Phones 150,000.00
Table No.4

Product NameSold
Laptop 90,000.00
Television 75,000.00
Washing Machines 80,000.00
Refrigerator 65,000.00
Mobile Phones 125,000.00

<colgroup><col><col></colgroup><tbody>
</tbody>

My Power Pivot report looks like this

Target Total Sold Forecast Sale Variance
Electronics (Sub-Total)470,000.00435,000.000.0035,000.00
Laptop100,000.0090,000.0010,000.000.00
Television80,000.0075,000.005,000.000.00
Washing Machines70,000.0080,000.000.00-10,000.00
Refrigerator70,000.0065,000.005,000.000.00
Mobile Phones150,000.00125,000.0025,000.000.00

<colgroup><col><col><col><col><col></colgroup><tbody>
</tbody>

My query is the subtotal of Electronics group forecast sale column showing as zero value which wrong.

I have created measures for each column as follows
target column = sumifs(Table 2 sumrange)
Total Sold column = sumifs(Table 4 sumrange)
Forecast Sale column = if((sumifs(Table 3 sumrange)-sumifs(table 4 sumrange))<0,0,(sumifs(Table 3 sumrange)-sumifs(table 4 sumrange)))
Variance = Target column - Total Sold column - Forecast Sale column

The correct figure should reflect on group level in Forecast Sale column as 45000 and in Variance column as - 10000.

Hope i have explained my issue properly.
Thank you so much in advance.
Best Regards
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,214,412
Messages
6,119,365
Members
448,888
Latest member
Arle8907

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top