Forum Discussion
COMBINEVALUES ignore blank
- 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
Hi bcdobbs
Thank you so much for your reply!
It looked promising however maybe because I am using UNICHAR(10) as a line break still shows 'blank lines'
I tried with a separator instead and it works, however it keeps the separator in the string ex
|||drivers||
Obivously expected would be to only keep the values non blank.. I tried to use FILTER/ISNONBLANK without luck,
Appreciate the help again!
Thank you
Quentin
Hi Quentin,
Are you just using it in a card visual? Could you send a screen shot of the output? I didn't get blank lines with my test measure.
Will do some more testing my end as well.
- qmartiny4 years ago
Helper III
I am using it in a Matrix, as 'Values' example with | separator
With UNICHAR
- bcdobbs4 years ago
Community Champion
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- qmartiny4 years ago
Helper III
Legend.
Thank you so much for your help! It's humbling to see how good people are at this.
Have a great eveningQuentin