function CONCATENATE with alternating values

what formula do you recommend to concatenate the [PRODUCT] and [DOSAGE] values ​​in a alternated way?

I can get

PRODOCT1, PRODUCT2, PRODUCT3, DOSAGE1, DOSAGE2, DOSAGE3

but how do i get this?

DOSAGE1 PRODOCT1, DOSAGE2 PRODUCT2, DOSAGE3 PRODUCT3

bolognesiedalla_5-1657531214209.png

 

bolognesiedalla_6-1657531214215.png

 

bolognesiedalla_7-1657531214211.png

 


As you can see, in field INTERVENTI[Related Product], with the formula set I do not get the desired result for 2 reasons:

1. I get the code, not the name. (the field RIGHE INTERVENTI[PRODOTTO] is a ref of the table PRODOTTI)

bolognesiedalla_8-1657531214212.png

 

bolognesiedalla_9-1657531214214.png

 

2. I'm not getting dosages alternating with the product name.

How can I improve it?

Solved Solved
0 1 60
1 ACCEPTED SOLUTION

If understanding of your requirement is correct, please create a VC in your child table RIGHE INTERVENTI called say [Dosage Product] with an expression something like CONCATENATE([Dosage], " ",[Product Name])

Please ensure you use product name and not key in the above concatenated column.

Now you could get the combination in your INTERVENTI table by using expression

[Related RIGHE INTERVENTI][Dosage Product]

View solution in original post

1 REPLY 1

If understanding of your requirement is correct, please create a VC in your child table RIGHE INTERVENTI called say [Dosage Product] with an expression something like CONCATENATE([Dosage], " ",[Product Name])

Please ensure you use product name and not key in the above concatenated column.

Now you could get the combination in your INTERVENTI table by using expression

[Related RIGHE INTERVENTI][Dosage Product]

Top Labels in this Space