I have one table that represents items sold in the store(ItensLib). And other table that represents the total sell(Liberacao). Well, i need to represent in the chart the Total and profit margin. So, in the Liberacao i have total sold, but is not possible to calculate the profit margin. In the table ItensLib, i can get sold total and profit margin, but i have a problem. If a sell there's 3 items, in the chart i'll have 3 slice representing the same profit margin. I need a chart(pieseries) that show a total and one slice(profit margin). The problem is in the ItensLib Table. In the table Liberacao there no is how to calculate the profit margin, only sold total. Someone can help me?