EN VI

Powerbi - Remove duplicate names from Name column - Power BI?

2024-03-14 16:00:08
How to Powerbi - Remove duplicate names from Name column - Power BI

I have a Name column. I want remove duplicate names

Name

JOHN A SMITH JOHN A SMITH JOHN A SMITH
MARK TOM MARK TOM
MARY RUTH JONES MARY RUTH JONES

Desired output

Name

JOHN A SMITH
MARK TOM
MARY RUTH JONES

Solution:

In PQ go to menu Add column > custom column and past below function, replace column1 with the name of your column:

Text.Combine(List.Distinct(Text.Split([Column1]," "))," ")
Answer

Login


Forgot Your Password?

Create Account


Lost your password? Please enter your email address. You will receive a link to create a new password.

Reset Password

Back to login