Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

undefined

I have ID column the formate of it is Text, and ID column has many repetead ID's, I wan to cleare a new column with only distinct ID's.

 

Thanks in Advance

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

You have to get a new table

New table = distinct(table[Column])

You can join your table as dimension

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

6 REPLIES 6
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

You can try to create a new table:Table2 = DISTINCT('table'[id])
If necessary, you can also create a relationship for the two tables based on the ID.

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

selpaqm
Helper V
Helper V

You need to create a new table instead of new measure or column. Click new table on modeling tab.

 

Unique ID = Distinct('sheet1'(IDcolumn))

 

 

 

amitchandak
Super User
Super User

You have to get a new table

New table = distinct(table[Column])

You can join your table as dimension

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Tahreem24
Super User
Super User

@Anonymous ,

 

Create new column with below DAX:

Distinct ID = CALCULATE(DISTINCT(table[IDcolumn]))

 

Don't forget to give thumbs up 👍 and accept this as a solution if it helped you.

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
Anonymous
Not applicable

Thanks for your rpl but I am not getting distinct values instead I am getting same values as it was there in ID column.

 

@Anonymous ,

 

So, create a new table and use DISTINCT('Table'[IDcolumn]).

 

Don't forget to give thumbs up 👍 and accept this as a solution if it helped you.

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.