Fundamentals Capstone 1.2

https://learninghub.kx.com/forums/topic/fundamentals-capstone-1-2

I'm getting an error saying tableSum according to my code. can you please explain why?

My answer is,

showTableSummary:{[]

table: tables[]

table_counts: {count value x} each table

tableSum: table!table_counts

tableSum

}

showTableSummary[]

Hi @Kal8na

I've simplified your function and it seems to work fine. I replaced table: tables[] with just tables[].

If you have any further questions please let me know.

showTableSummary:{tables[]!{count value x} each tables[]}

Many thanks,

Megan

Thank you very much for the help and It worked very well!!!