Forum Discussion
rpattan
Advocate I
8 years agoConcatenate two column rows based on a particular string
Hi Team, Could you look into the need. I'm looking for a DAX for a new concated column calculating from column "ID" and column "Name", and concatenated based on expected string of "BC" from ...
- 8 years ago
ConcatCol = IF ( Type = "BC", CONCATENATE(ID, Name), "" )Hope this helps,
David
- 8 years ago
IF ( OR(Type = "BC", Type = "AB") CONCATENATE(ID, Name), "" )
rpattan
Advocate I
8 years agoHello dedelman_clng,
It's worked to my requirement.
And just perhaps if I woul'd like to go with "BC" + "AB" (Just in case!)
Thanks in Advance...
RK
dedelman_clng
Community Champion
8 years agoIF (
OR(Type = "BC", Type = "AB")
CONCATENATE(ID, Name),
""
)