KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums KX Academy Fundamentals Capstone 1.2

  • Fundamentals Capstone 1.2

    Posted by Kal8na on April 7, 2024 at 6:37 pm

    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[]

    Kal8na replied 7 months, 2 weeks ago 2 Members · 2 Replies
  • 2 Replies
  • megan_mcp

    Administrator
    April 8, 2024 at 11:06 am

    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

  • Kal8na

    Member
    April 8, 2024 at 3:52 pm

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

Log in to reply.