Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Need Help in Concat Function

Hello  ! pls. help me compose formula in concatinating items

Fruits                  Description     Desired New field

Apple                 red                   red/sweet/round

Apple                 sweet                red/sweet/round

Apple                  round               red/sweet/round

Banana              yellow                yellow/long/sweet/fresh 

Banana              long                   yellow/long/sweet/fresh

Banana              sweet                   yellow/long/sweet/fresh

Banana              fresh                  yellow/long/sweet/fresh

Orange               sour                sour

I'd like to concat all the item in description field  of a certail Fruit...pls. see my desired outpu in red text.

Tks.

1 Solution

Accepted Solutions
Not applicable
Author

Attached with answer. Used Robert's file and made some changes to it. Calculations are done in the script(back-end)

Thanks

View solution in original post

6 Replies
Not applicable
Author

Check the attached QVW

Not applicable
Author

Sorry, I took the liberty of assuming you only wanted to show the three rows in your table haha.  Hope that works for you!

Not applicable
Author

Attached with answer. Used Robert's file and made some changes to it. Calculations are done in the script(back-end)

Thanks

maxgro
MVP
MVP

you can make a chart with

dimensions

- Fruits

- Description

expression

- concat(TOTAL <Fruits> Description, '/')

1.png

MarcoWedel

Hi,

one example:

tabFruits:

LOAD * INLINE [

    Fruits, Description

    Apple, red

    Apple, sweet

    Apple, round

    Banana, yellow

    Banana, long

    Banana, sweet

    Banana, fresh

    Orange, sour

];

tabFruitSummary:

LOAD Distinct

  Fruits,

  Concat(Description, '/', RecNo()) as [Desired New field]

Resident tabFruits

Group By Fruits;

QlikCommunity_Thread_129587_Pic1.png

QlikCommunity_Thread_129587_Pic2.png

QlikCommunity_Thread_129587_Pic3.png

QlikCommunity_Thread_129587_Pic4.png

hope this helps

regards

Marco

Anonymous
Not applicable
Author


Thank you, Ajay...it worked.