KX Community
News & Events
Discussion Forums
Help
Sign In
dwalshq
New Contributor
since
2021.08.25
2021.12.01
User Statistics
1
Posts
0
Solutions
1
Kudos given
2
Kudos received
View all badges
KX Community
:
About dwalshq
User Activity
Posts
Replies
No posts to display.
Re: Applying nested conditions in q
2021.09.23
Another option is to use vector conditional (?) https://code.kx.com/q/ref/vector-conditional/ q)update new_col:?[a=`F;[?[bd;`hi;`welcome]]] from T a b c d new_col ------------------ F 10 9 10 welcome R 20 21 22 welcome
Kudos from
User
Count
Michaela
1
soheir
1
View all