Hi,
I'm using viblend for displaying datagrid in my vb.net windows application. I use
gridname.BoundPivotValues.Add(New BoundValueField("margin'", "margin", PivotFieldFunction.Sum))
to display the value from dataset in the datagrid. im getting the value correctly as follows:
---------------------------------------
sa co margin
------------------------------------
10 5 50
20 10 50
-----------------------------------
30 15 100 sub total
-----------------------------------
The formula behind is (sa-co)*100/sa. This calculation is happened in stored procedure and im getting output via dataset and displayed here. The problem is, instead of 100 in margin subtotal i need 50...ie... using same formula (30-15)*100/30.
How can i get this in viblend?