KX Community

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

Home Forums KX Academy Amend the fares list to replace nulls.

  • Amend the fares list to replace nulls.

    Posted by Richard-Mandel on October 25, 2024 at 9:46 pm

    The solution shows ‘@[fares;where null fares;:;avg fares]’, but to actually amend the list, it should be @[`fares;where null fares;:;avg fares], right? The backtick is needed to amend the fares list.

    jlucid replied 6 minutes ago 2 Members · 1 Reply
  • 1 Reply
  • jlucid

    Member
    October 30, 2024 at 11:12 am

    Yes you need the backtick to amend the fares list. Leaving it out just returns the modified list, which you could then assign to another variable

Log in to reply.