I am working on a Power BI report and using a SQL Server query to return result onto Power BI Desktop like this:
ProductID CustomerID ProductName
P1 C11 Bike
P1 C12 Bike
P2 B21 Mountain Bike
P2 B22 Mountain Bike
P2 B23 Mountain Bike
and I want to group by ProductID and ProductName and then concatenate CustomerID to have result on Power BI report as below:
ProductID CustomerID ProductName
P1 C11, C12 Bike
P2 B21, B22,B23 Mountain Bike
I have tried with Dax fuctions such as GROUPBY, ADDCOLUMNS... ON Power BI but has not helped
