From: Expert Alart Date: 2013-07-26T17:48:23+09:00 Subject: Re: how to create structure like bellow Hi Jesus Thanks its works perfect.. but i have a doubt and want a explanation ... its looks like there is an issue with this totals[id] += power its missing couple of entry .... example , Total Power Per Row: z15a :- 192 z16d :- 131 z16e :- 179 z16f :- 108 Total Power Uses at this DC : AMP : 629 but if i 192+131+179+108 : 610 but when i calculate manualy the all amp i get : 629 ... so there is a mismatch .... how is this totals[id] += power working ?? Thanks for your help -- Posted via http://www.ruby-forum.com/.