Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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 either generate new columns, or manipulate this table to produce the following:
ID | Location | Project |
1 | UK | A |
2 | Germany | B |
3 | France | C |
I'm convinced there's an easy way, but I cannot find the way to get there. Help please?
Solved! Go to Solution.
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 🙂
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 🙂
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
25 | |
17 | |
12 | |
12 | |
10 |
User | Count |
---|---|
33 | |
27 | |
16 | |
14 | |
13 |