Forum Discussion
JackWren
3 years agoHelper II
Add quotes around values - Concatenex()
Hi, I am using concatenex to retrieve several values from a filter. CONCATENATEX(VALUES(DIM_Products_Desc[Fruit]),DIM_Products_Desc[Fruit],",") My result looks like this : banana,apple,peach ...
- 3 years ago
Hi JackWren
This should do the trick: a " character can be entered as two double-quote characters inside a string literal. A single double-quote character therefore appears as four " in a row 🙂
CONCATENATEX ( VALUES ( DIM_Products_Desc[Fruit] ), """" & DIM_Products_Desc[Fruit] & """", "," )
OwenAuger
3 years agoSuper User
Hi JackWren
This should do the trick: a " character can be entered as two double-quote characters inside a string literal. A single double-quote character therefore appears as four " in a row 🙂
CONCATENATEX (
VALUES ( DIM_Products_Desc[Fruit] ),
"""" & DIM_Products_Desc[Fruit] & """",
","
)
- JackWren3 years agoHelper II
Thank you so much ! It works beautifully