Forum Replies Created

  • denakaran

    Member
    July 31, 2022 at 12:00 am in reply to: Error with sum

    Hi, i think it is because of the value column which is a keyword in q.. I just renamed v in uppercase(V) and it is working. After aggregation i think you can rename it again with value using xcol.

  • denakaran

    Member
    October 7, 2021 at 12:00 am in reply to: Concatenation issue for atomic values

    Hi , in my case i’m giving a multiselect option which may pass 1 or 0 or 10 or 11-15 or Above 15 etc.. So that i’m facing this issue

    `q))`$(“1″;”0″;”11-15”)
    `1`0`11-15
    q))`$(“1″;”0”)
    `10
    q))`$(“10”)
    `10

    So user may select anything from the list together.

  • denakaran

    Member
    October 7, 2021 at 12:00 am in reply to: Concatenation issue for atomic values

    Hey , this really helps. I used the type to see when the user selects multiple values.

    q))type (“1″;”0”)
    10h
    q))type (“1″;”10”)
    0h

    So based on that i added the condition now which works fine for my scenario. Thanks a lot !!

  • denakaran

    Member
    October 6, 2021 at 12:00 am in reply to: Concatenation issue for atomic values

    Hey, thanks for your input here  but to be more clear

    if i’m having a table like this

    t:([]Vals:`$(“1″;”0″;”10”))

    if i’m passing the parameters as 1 and 0 means it should return 1 and 0 from table t. Also if i’m passing as 10 it should return as 10

     

    Currently it is showing the results as 1 and 0 for both 1,0 and 10. Please check the attached screenshot