PowerBI DAX CONCATENATEX

Power BI DAX to concatenate distinct child item in a group

CASE Scenario

We have sales data for given set of products with remarks as shown below and we need the Remarks added comma separated.
  • ·        Open Power BI and Connect to the excel source which contains the Sales Data
  • ·        Once we import the data we create a measure using the DAX ,Consolidated Remarks = CONCATENATEX(VALUES(Sheet1[Remarks]),Sheet1[Remarks],",")
  •  Now we add the columns ProductName, Sales Amt (Aggregation SUM), Consolidated Remarks as shown below.






2 comments:

T-SQL LEAD LAG and SUM function based query

  Query on T-SQL window clause Below is the sales table Order_Date Name Product SubCategory ...