Forum Discussion
nat365
2 years agoFrequent Visitor
Creating table with grouped data using DAX
Hi All, I would like to create table that summarize my data: Name Status Code Anna Y 1 Anna Y 2 Mark Y 3 Anna N 4 Anna Y 2 Mark Y 3 to following format: ...
- 2 years ago
If you want to create a computed table, then use this (replace tbl with your table name)
SUMMARIZE(CALCULATETABLE(tbl, tbl[Status]="Y"),[Name],"Codes", CONCATENATEX(VALUES(tbl[Code]),[Code], ","))