Hi Guys</SPAN>
I have a huge transactional data set held in PowerPivot that details our revenue for the contracts we have over a period of time. What I’m trying to do is group the contracts by revenue in blocks of 100 (largest to smallest). My desired result would be something like the following:</SPAN>
[TABLE="width: 233"]
<TBODY>[TR]
[TD]No. Contracts</SPAN></SPAN>
[/TD]
[TD]Revenue</SPAN></SPAN>
[/TD]
[TD]% Total</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]1-100</SPAN></SPAN>
[/TD]
[TD]15,000</SPAN></SPAN>
[/TD]
[TD]49.0%</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]101-200</SPAN></SPAN>
[/TD]
[TD]8,000</SPAN></SPAN>
[/TD]
[TD]26.1%</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]201-300</SPAN></SPAN>
[/TD]
[TD]4,000</SPAN></SPAN>
[/TD]
[TD]13.1%</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]301-400</SPAN></SPAN>
[/TD]
[TD]2,000</SPAN></SPAN>
[/TD]
[TD]6.5%</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]401-500</SPAN></SPAN>
[/TD]
[TD]1,000</SPAN></SPAN>
[/TD]
[TD]3.3%</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]501+</SPAN></SPAN>
[/TD]
[TD]600</SPAN></SPAN>
[/TD]
[TD]2.0%</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]30,600</SPAN></SPAN>
[/TD]
[TD]100.0%</SPAN></SPAN>
[/TD]
[/TR]
</TBODY>[/TABLE]
In other words what I want to say is the largest 100 contracts contribute revenue totalling 15,000, the 101st to 200 largest contracts total revenue of 8,000 etc.</SPAN>
The field for my ‘Contracts’ comes for the ‘AllContracts’ table. I have a measure for ‘Revenue’ in place already.</SPAN>
Is what I’m trying to achieve possible through Powerpivot? (In regular Excel I could of course just use SUMIFS or SUMPRODUCT but my data set is huge so is held in PowerPivot).</SPAN>
I have a huge transactional data set held in PowerPivot that details our revenue for the contracts we have over a period of time. What I’m trying to do is group the contracts by revenue in blocks of 100 (largest to smallest). My desired result would be something like the following:</SPAN>
[TABLE="width: 233"]
<TBODY>[TR]
[TD]No. Contracts</SPAN></SPAN>
[/TD]
[TD]Revenue</SPAN></SPAN>
[/TD]
[TD]% Total</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]1-100</SPAN></SPAN>
[/TD]
[TD]15,000</SPAN></SPAN>
[/TD]
[TD]49.0%</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]101-200</SPAN></SPAN>
[/TD]
[TD]8,000</SPAN></SPAN>
[/TD]
[TD]26.1%</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]201-300</SPAN></SPAN>
[/TD]
[TD]4,000</SPAN></SPAN>
[/TD]
[TD]13.1%</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]301-400</SPAN></SPAN>
[/TD]
[TD]2,000</SPAN></SPAN>
[/TD]
[TD]6.5%</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]401-500</SPAN></SPAN>
[/TD]
[TD]1,000</SPAN></SPAN>
[/TD]
[TD]3.3%</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]501+</SPAN></SPAN>
[/TD]
[TD]600</SPAN></SPAN>
[/TD]
[TD]2.0%</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]30,600</SPAN></SPAN>
[/TD]
[TD]100.0%</SPAN></SPAN>
[/TD]
[/TR]
</TBODY>[/TABLE]
In other words what I want to say is the largest 100 contracts contribute revenue totalling 15,000, the 101st to 200 largest contracts total revenue of 8,000 etc.</SPAN>
The field for my ‘Contracts’ comes for the ‘AllContracts’ table. I have a measure for ‘Revenue’ in place already.</SPAN>
Is what I’m trying to achieve possible through Powerpivot? (In regular Excel I could of course just use SUMIFS or SUMPRODUCT but my data set is huge so is held in PowerPivot).</SPAN>