Forum Discussion

qmartiny's avatar
qmartiny
Helper III
4 years ago
Solved

COMBINEVALUES ignore blank

Hello,   (I have the following COMBINEVALUES that concatenates multiple flags into one field to get all the flags in one place. I added a UNICHAR for line break and it works fine, however still sho...
  • bcdobbs's avatar
    bcdobbs
    4 years ago

    How about:

    qcheck total flag text = 
    VAR dealsize = 1
    VAR dealscore = BLANK ()
    VAR R4Q = 3
    VAR owner = 4
    
    VAR FlagList = 
        FILTER (
            {
                dealsize,
                dealscore,
                R4Q,
                owner
            },
            NOT ISBLANK([Value])
        )
    
    VAR Result =
        CONCATENATEX (
            flaglist,
            [Value],
            "|"
        )
    
    RETURN
        Result