March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi Everyone,
I have a column with the click flow of a user on a specific day:
BUT, When activities repeat themselves, it becomes impossible to visualise or group the data. I would like to replace repetitive strings (activities) with one single string:
What I have | What I want |
ClickFlowColumn | ClickFlowColumn |
click , click, preview, insert, insert, insert | click, preview, insert |
click, search, search, search, preview | click, search, preview |
Dax only please, because this is a calculated column.
Some help would be much appreciated!
Solved! Go to Solution.
@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 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Proud to be a Super User!
@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 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Anonymous , 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
@amitchandak thank you, but I'm working with calculated columns, so unfortunately Power Query won't solve my problem.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
122 | |
89 | |
76 | |
58 | |
53 |
User | Count |
---|---|
196 | |
123 | |
107 | |
68 | |
65 |