Forum Discussion
Anonymous
7 years agoNot applicable
Grouping at Different Levels
Hi Guys, I have attahced the link to my PBIX file and my requiremet is to populae the subcategory total sales to calculat the percentage. 1. First i need to calculate Average at Item level(Average ...
parry2k
7 years agoSuper User
Anonymous change your Total Sales measure as below
Total Sales = SUMX( VALUES( SalesInfo[ProductName]), CALCULATE(Average( SalesInfo[SalesAmount] ), WeekCal[YearNum]<=201914,WeekCal[YearNum]>=201913))
Anonymous
7 years agoNot applicable
Thanks for you Quick reply .
I want to calculate Item percentage contribution to Subcategory level and I don’t want to show Subcategory in my report. I want to see 450 and 600 in the place of 900 and 1200 in my table chart to calcuate the same.
- parry2k7 years agoSuper User
Anonymous change your grand sales measure as below
Grand Total of Sub Sales = SUMX( ALLSELECTED( SalesInfo[ProductName] ), [Total Sales] )
- Anonymous7 years agoNot applicable
Thanks for You reply,
I have attahced the output of your experssion and i am getting 1050 as output . As i expalined earlier ,
I want to calculate Item percentage contribution to Subcategory level and I don’t want to show Subcategory in my report. I want to see 450 and 600 in the place of 900 and 1200 in my table chart.