Calculate with Scripts

Let’s suppose you have a Report where you have a Gran Total and need a summary percentage by year. 1.We have the following data sources. The first data-source – CUSTOMER PURCHASES TOTAL BY YEAR. Select DatePart(Year, Orders.OrderDate) As Year, Orders.CustomerID, Sum(([Order Details].UnitPrice – [Order Details].Discount) * [Order Details].Quantity) As Total From [Order Details] Inner Join [...]