KX Community

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

Home Forums KX Solutions Creating queries in KX Dashboards with code editor

  • Creating queries in KX Dashboards with code editor

    Posted by fallond on June 10, 2025 at 2:28 pm

    Is it possible to execute q code mapped to a view state (string), editable with the Code Editor component, on data tables for the selected connection?  

    How would this be done in the data editor, presumably using value?

    • This discussion was modified 4 days, 21 hours ago by  fallond.
    • This discussion was modified 4 days, 21 hours ago by  fallond.
    fallond replied 4 days, 20 hours ago 1 Member · 1 Reply
  • 1 Reply
  • fallond

    Member
    June 10, 2025 at 3:06 pm

    Figured it out

    {[Qcode;Qsimple]

    / Qsimple viewstate type string: 2+2

    / value “2+2” = 4

    / value Qsimple = 4

    value Qcode

    }

    • This reply was modified 4 days, 20 hours ago by  fallond.

Log in to reply.