cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sam16
Helper I
Helper I

Unique values from Single Cell

Hello,

 

I want to find unique values from single cell in Power BI. Here is the example. If you see column 'C' customers are repeating, I want to find unique customers as shown in below tables.

Thanks in advance!

 

Unique Values from Single cell.PNG

1 ACCEPTED SOLUTION
sam16
Helper I
Helper I

Just Created new column in Power Query with Code mentioned below:

 

=Text.Combine (
                List.Distinct(
                          List.Transform (Text.Split([Customer],","),each Text.Trim(_))
                                  )
                     ,", ")   

 

View solution in original post

1 REPLY 1
sam16
Helper I
Helper I

Just Created new column in Power Query with Code mentioned below:

 

=Text.Combine (
                List.Distinct(
                          List.Transform (Text.Split([Customer],","),each Text.Trim(_))
                                  )
                     ,", ")   

 

View solution in original post

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are You Ready?

Test your skills now with the Cloud Skills Challenge.

Top Solution Authors