I have several tables in a relational DB format in PowerPivot. One table contains the sales for each item. Another Master table contains a list of families.
I would like to create a Pivot table column (PowerPivot) with an expression that shows the SUM OF SALES BY FAMILY for each row of item.
What kind of PowerPivot DAX expression will get me the result in colum 4 (Family Sales)
[TABLE="width: 500"]
<tbody>[TR]
[TD]Item[/TD]
[TD]Family[/TD]
[TD]ItemSales[/TD]
[TD]FamilySales[/TD]
[/TR]
[TR]
[TD]121[/TD]
[TD]1[/TD]
[TD]$100[/TD]
[TD]$400[/TD]
[/TR]
[TR]
[TD]217[/TD]
[TD]3[/TD]
[TD]$200[/TD]
[TD]$900[/TD]
[/TR]
[TR]
[TD]252[/TD]
[TD]2[/TD]
[TD]$400[/TD]
[TD]$1700[/TD]
[/TR]
[TR]
[TD]456[/TD]
[TD]2[/TD]
[TD]$800[/TD]
[TD]$1700[/TD]
[/TR]
[TR]
[TD]372[/TD]
[TD]1[/TD]
[TD]$300[/TD]
[TD]$400[/TD]
[/TR]
[TR]
[TD]324[/TD]
[TD]3[/TD]
[TD]$700[/TD]
[TD]$900[/TD]
[/TR]
[TR]
[TD]762[/TD]
[TD]2[/TD]
[TD]$500[/TD]
[TD]$1700[/TD]
[/TR]
</tbody>[/TABLE]
I would like to create a Pivot table column (PowerPivot) with an expression that shows the SUM OF SALES BY FAMILY for each row of item.
What kind of PowerPivot DAX expression will get me the result in colum 4 (Family Sales)
[TABLE="width: 500"]
<tbody>[TR]
[TD]Item[/TD]
[TD]Family[/TD]
[TD]ItemSales[/TD]
[TD]FamilySales[/TD]
[/TR]
[TR]
[TD]121[/TD]
[TD]1[/TD]
[TD]$100[/TD]
[TD]$400[/TD]
[/TR]
[TR]
[TD]217[/TD]
[TD]3[/TD]
[TD]$200[/TD]
[TD]$900[/TD]
[/TR]
[TR]
[TD]252[/TD]
[TD]2[/TD]
[TD]$400[/TD]
[TD]$1700[/TD]
[/TR]
[TR]
[TD]456[/TD]
[TD]2[/TD]
[TD]$800[/TD]
[TD]$1700[/TD]
[/TR]
[TR]
[TD]372[/TD]
[TD]1[/TD]
[TD]$300[/TD]
[TD]$400[/TD]
[/TR]
[TR]
[TD]324[/TD]
[TD]3[/TD]
[TD]$700[/TD]
[TD]$900[/TD]
[/TR]
[TR]
[TD]762[/TD]
[TD]2[/TD]
[TD]$500[/TD]
[TD]$1700[/TD]
[/TR]
</tbody>[/TABLE]