Forum Discussion
Anonymous
3 years agoNot applicable
To remove duplicate char from string on each row using DAX expression
Hi All, Need your help to remove duplicate chars from string using DAX expression. I have used the CONCATENATEX function to concatenate rows values based on some criteria. Due to this my string in ...
- Anonymous3 years ago
Hi Anonymous ,
Please update the formula of calculated column [sousOF_] as below and check if that is what you want. You can find the details in the attachment.
sousOF_ = CONCATENATEX ( FILTER ( VALUES ( Ds[ID] ), PATHCONTAINS ( [Lien], EARLIER ( [ID] ) ) && VALUE ( [ID] ) >= VALUE ( EARLIER ( Ds[ID] ) ) ), [ID] )Best Regards
Anonymous
3 years agoNot applicable
Thank you Anonymous for you response, however i haven't been able to pair values function as you suggested with my filter function. I am enclosing a link to the file. Thanks.
Gop01
Anonymous
3 years agoNot applicable
Hi Anonymous ,
Please update the formula of calculated column [sousOF_] as below and check if that is what you want. You can find the details in the attachment.
sousOF_ =
CONCATENATEX (
FILTER (
VALUES ( Ds[ID] ),
PATHCONTAINS ( [Lien], EARLIER ( [ID] ) )
&& VALUE ( [ID] ) >= VALUE ( EARLIER ( Ds[ID] ) )
),
[ID]
)
Best Regards
- Anonymous3 years agoNot applicable
It works. Thank you so much.
- spider_Monkey2 years agoHelper I
Morning! So how would you do this if you need to filter things out based on another table?