Sum of data show in list of dictionary

Certified Associate Developer

Hiii,

I want to add the Total Cost . It show the data in below format. I am using sum function to add the data but it is not working.

List of Dictionary - 7 items

    • Dictionary
        • Total_Cost19000(Number (Integer))
          • Dictionary
              • Total_Cost18000(Number (Integer))
                • Dictionary
                    • Total_Cost15000(Number (Integer))
                      • Dictionary
                          • Total_Cost7000(Number (Integer))
                            • Dictionary
                                • Total_Cost9000(Number (Integer))
                                  • Dictionary
                                      • Total_Cost13000(Number (Integer))
                                        • Dictionary
                                            • Total_Cost1500(Number (Integer))

                                            Discussion posts and replies are publicly visible

                                          Parents Reply Children
                                          No Data