Forum Discussion
Carlos_Gomez
Sep 28, 2019Copper Contributor
percentage of sales advance in pivot table
Hi, people! Yesterday I was trying to make a pivot table that shows "presales", "sales" and de % advance [wich means "sales/presales"]. To be clear, in my work we sell packages to the retail...
- Sep 28, 2019
If your data is like this
to create PivotTable as on the right
- add data to data model creating PivotTable
- add three measures to the data model, using PowerPivot or from right click menu on Table
Measures are
Sale:=CALCULATE(SUM(Table1[Amount]),Table1[Kind]="sale") Presale:=CALCULATE(SUM(Table1[Amount]),Table1[Kind]="presale") Sales %:=DIVIDE([Sale],[Presale])
- add them to values of the PivotTable
- apply formatting and design as desired
Carlos_Gomez
Sep 28, 2019Copper Contributor
Subodh_Tiwari_sktneer, sorry, now I understand, does the attached file is useful to you?
Subodh_Tiwari_sktneer
Sep 29, 2019Silver Contributor
As per your sample data, Retailer1 has 53,800 as Presale Qty and 51,508 as Sale Qty, therefore Retailer1 sold 95.74% Presale Qty. Is it incorrect?