1. You can calculate the Total Sales using a normal multiplication (unit price and quantity) and creating a column in the data.
TotSalesColumn = Order_Details[UnitPrice]*(1-Order_Details[Discount])*
Order_Details[Quantity]
2. Now you can use SUM function and calculate the total sales
Total Sales = SUM(Order_Details[TotSalesColumn])
Using SUM and SUMX will give the same amount finally, while you have to add one step extra to calculate the total of TotSalesColumn.
SUMX can directly calculate the Total Sales using Unit price and quantity of order details
3. Total Sales X: SUMX
Total Sales X = SUMX(Order_Details,Order_Details[UnitPrice]*(1-Order_Details[Discount])*
Order_Details[Quantity])
Using most common aggregate functions:
1. MinSale = MIN(EmployeeSales[Sales]
2. MaxSale = MAX(EmployeeSales[Sales])
3. CountSales = COUNT(EmployeeSales[NewSale])
Finds the standard deviance of selected records
4. StdevPIncome = STDEV.P(EmployeeSales[YearlyIncome])
Finds the statistical variance of selected or some records
5. VarPIncome = VAR.P(EmployeeSales[YearlyIncome])
To find the statistical Variance of complete records
6. VarSIncome = VAR.S(EmployeeSales[YearlyIncome])
Thanks,
No comments:
Post a Comment