Forum Discussion
Help in combining the values to a single row
- 2 years ago
Hi Sruthi_K ,
Could you please share a part of table to see exactly what you habe in the column? Please copy paste two/three lines.
EDIT:
To combine values from different rows, the easiest way to do it in Power Query is by using grouping.
1. Start Point
2. Group By on Column4:
3. Add Custom Column to Combine Values from Column 4 by using comma delimiter:
Text.Combine([AllRows][Column4], ", ")4. Remove unnecessary columns and then you have the result:
Memorable Member | Former Super User
If I helped, please accept the solution and give kudos!
Linkedin - Anonymous2 years ago
Hi Sruthi_K
Thanks for the reply from lkalawski and Uzi2019 , please allow me to share my method.
Create a measure as follows
Merged = CALCULATE( CONCATENATEX( VALUES('Table'[Service]), 'Table'[Service], ", " ), ALLEXCEPT('Table', 'Table'[Incident]) )Output:
Best Regards,
Yulia XuIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Sruthi_K ,
Could you please share a part of table to see exactly what you habe in the column? Please copy paste two/three lines.
EDIT:
To combine values from different rows, the easiest way to do it in Power Query is by using grouping.
1. Start Point
2. Group By on Column4:
3. Add Custom Column to Combine Values from Column 4 by using comma delimiter:
Text.Combine([AllRows][Column4], ", ")4. Remove unnecessary columns and then you have the result:
| Memorable Member | Former Super User If I helped, please accept the solution and give kudos! |
lkalawski Attaching the screenshot of the table, Want to merge this "Service" field as comma separated for unique issue key.
Could you please help, I'm new to Powerbi
Thanks,
Sruthi
- lkalawski2 years ago
Resident Rockstar
Sruthi_K ,
If you want to do it at the transformation level, then use my solution above.
If you want to do it at the visualization level, then the solution indicated below by Uzi2019 will work.
Memorable Member | Former Super User
If I helped, please accept the solution and give kudos!
Linkedin