Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello, I have a query similar to as below screenshot shown
I would like to transform it so that it does not have duplicate rows of the student column and group the class fields as follows:
I'm using these M queries, but I can't get the expected result.
I have tried the following queries:
Table.SplitColum Table.TransformColumns
Has anyone transformed the data in a similar way and can help me?
Thank you so much for everything.
Solved! Go to Solution.
@DavidEg , refer to the form of energy consultation
https://www.excel-university.com/combine-rows-into-a-delimited-list/
https://exceloffthegrid.com/power-query-combine-rows-into-a-single-cell/
in dax use this measure with Student in a visual table/matrix
concatenatex(Table, table[class], ",")
Thank you very much, I've got it.
I googled and found nothing.
I've done as the consultation says.
I grouped the column and then combined the rows as text.
= Table.Group(Origen, {"student"}, {{"Recuento", each Text.Combine([classes.1], "; "), type text}})
Thank you so much for everything!!
@DavidEg , refer to the form of energy consultation
https://www.excel-university.com/combine-rows-into-a-delimited-list/
https://exceloffthegrid.com/power-query-combine-rows-into-a-single-cell/
in dax use this measure with Student in a visual table/matrix
concatenatex(Table, table[class], ",")
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 47 | |
| 43 | |
| 40 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 67 | |
| 32 | |
| 27 | |
| 25 |