The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
I have a table that has User Logon Name and Role. And this has a new row per role for each user. So there can be 10 rows for a single user. I could like to (for a visual) create a column that has all the roles for a single user concatenated, so one after the other. Any ideas how I would do this?
I'm unsure how to get DAX to window like you can with SQL.
Anna
Solved! Go to Solution.
Hi @Anonymous ,
Also we can create a calculated column as below.
Column = CONCATENATEX(FILTER('Table','Table'[User Logon Name]=EARLIER('Table'[User Logon Name])),'Table'[Role])
Also you can find the pbix as attached.
Hi @Anonymous ,
Also we can create a calculated column as below.
Column = CONCATENATEX(FILTER('Table','Table'[User Logon Name]=EARLIER('Table'[User Logon Name])),'Table'[Role])
Also you can find the pbix as attached.
Hi @Anonymous ,
Please try this:
MEASURE =CALCULATE(CONCATENEX(Table, Table[RoleColumn], ", "),AllEXCEPT(Table,Table[LOGONNAMEColumn]))
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
Proud to be a Super User!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
34 | |
19 | |
18 | |
17 | |
13 |