0

I have this table in Power BI, where the visible rows all have the same tracking number, but there are multiple rows due to the sku column.

enter image description here

How can I achieve a result like this where this is shown in just one row, and all skus are listed comma separated:

enter image description here

I have achieved this using pandas, but want to do the same in Power BI. However, I have not been able to find a solution to this issue.

1 Answer 1

4

You need to use CONCATENATEX evaluating the list of SKU for that row in your visualization. You measure will need to look something like this:

skus =
CONCATENATEX (
    VALUES ( 'Table'[sku] ), 
    [sku],
    ","
)
Sign up to request clarification or add additional context in comments.

1 Comment

Instead of using VALUES( 'Table'[quantity] ) use CONCATENATEX ( 'Table' , 'Table'[Quantity] , ", " )

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.