Forum Discussion
vinb4u2
3 years agoRegular Visitor
Data format
I have table like below Appid OS APP0005 WINDOWS SERVER 2012 DATA CENTER APP0005 WINDOWS SERVER 2016 APP0005 WINDOWS SERVER 2019 APP0006 WINDOWS SERVER 2012 R2 STANDARD ...
Sahir_Maharaj
3 years agoSuper User
Hello vinb4u2,
Load your table into Power Query Editor by selecting "Edit Queries" from the Home tab in Power BI Desktop.
Select your table and click on the "Group By" button in the "Transform" tab.
In the "Group By" dialog box, select "Appid" as the "Group by" column.
In the "New column name" field, enter "OS" (or any name you prefer).
In the "Operation" column, select "All Rows".
Click "OK" to apply the changes.
This will create a new table with a column for "Appid" and a column for "OS" where the values in the "OS" column are concatenated for each "Appid".
vinb4u2
3 years agoRegular Visitor
The above funtion not removing duplicates from Appid and not combining muliple OS value in single row using ',' as a seperator