Forum Discussion
gb00th
4 years agoNew Member
Table Manipulation
I have a table of data that comprises ID Response Label 1 Location UK 2 Location Germany 3 Location France 1 Project A 2 Project B 3 Project C How can I eit...
- 4 years ago
Table 2 = ADDCOLUMNS( VALUES('Table'[ID]), "Location", CONCATENATEX(FILTER('Table', 'Table'[ID] = EARLIER('Table'[ID]) && 'Table'[Response] = "Location"),'Table'[Label]), "Project", CONCATENATEX(FILTER('Table', 'Table'[ID] = EARLIER('Table'[ID]) && 'Table'[Response] = "Project"),'Table'[Label]) )
In case it answered your question please mark this as a solution for community visibility. Appreciate Your Kudos ๐
SpartaBI
Community Champion
4 years agoTable 2 =
ADDCOLUMNS(
VALUES('Table'[ID]),
"Location", CONCATENATEX(FILTER('Table', 'Table'[ID] = EARLIER('Table'[ID]) && 'Table'[Response] = "Location"),'Table'[Label]),
"Project", CONCATENATEX(FILTER('Table', 'Table'[ID] = EARLIER('Table'[ID]) && 'Table'[Response] = "Project"),'Table'[Label])
)
In case it answered your question please mark this as a solution for community visibility. Appreciate Your Kudos ๐