I got one problem which the dataset would not sum the value of the same item add to it. I have a SQL statement :
Code: Select all
Select item, s_type, color, sum(total_item) From storeTable Group By item, s_type,color
- item s_type color sum(total_item)
Book Math Red 10
Pencil Sharp Black 2
Book Math Yellow 5
Book Music Red 8
Then the result Bar chart show that the data Book, Math is only 5 but not (5+10) 15.
The SQL statement is fix because its also use to show at table, the only problem is the bar chart problem which show the wrong result.
Can someone please guide me.
RGDS,
Bryan