Forum Discussion
Anonymous
6 years agoNot applicable
DAX Replace repetitive string with one string
Hi Everyone, I have a column with the click flow of a user on a specific day: ClickFlowColumn = CALCULATE(CONCATENATEX(ActivitiesTable, ActivitiesTable[ActivityType], ", "), ALLEXCEPT(Activ...
- 6 years ago
Anonymous
What do you change your formula like this?ClickFlowColumn = CALCULATE ( CONCATENATEX ( VALUES ( ActivitiesTable[Activity Type] ), ActivitiesTable[Activity Type], ", " ), ALLEXCEPT ( ActivitiesTable, ActivitiesTable[UserId], ActivitiesTable[Date] ) )________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
amitchandak
Super User
6 years agoAnonymous , three functions in power query should to it
Text.Split
https://docs.microsoft.com/en-us/powerquery-m/text-split
List.Distinct
https://docs.microsoft.com/en-us/powerquery-m/list-distinct
Text.Combine
https://docs.microsoft.com/en-us/powerquery-m/text-combine
Anonymous
6 years agoNot applicable
amitchandak thank you, but I'm working with calculated columns, so unfortunately Power Query won't solve my problem.