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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
lastnn30
Post Patron
Post Patron

Power Bi remove duplicated values by itself!

Hi

I have excel table like this

SNAG-0948.jpg

I got data and then tried to insert Table Visual in Power BI. But my table in power bi is not showing the duplicated value (I select do not summerize)

 

SNAG-0949.jpg

1) Is that by design?

2) if you want t count number of duplicated values, how you would do that?

3) What is the difference between disctinct and distinctcount? 

 

Thank you so much.

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @lastnn30 ,

 

1) That is vby design, the values are aggregated by same values, depending on the additional details you had the values get shown.

2) If you want to count the duplicates you can do one of two things:

  • Add the column again to your table and select the aggregation Count
  • Create a measure with a Count or countrows and use it on the visualization

3) Distinct returns a one column table that contains the distinct (unique) values in a column, for a column argument, be aware that this is a table function and cannot be used has the final result of a measure

DistinctCount Counts the number of distinct values in a column, this can be used has a measure.

In the example you give the Distinct count for each of the values presented would be 6 for the overal table and 1 for each of the values, because it's based on context.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

1 REPLY 1
MFelix
Super User
Super User

Hi @lastnn30 ,

 

1) That is vby design, the values are aggregated by same values, depending on the additional details you had the values get shown.

2) If you want to count the duplicates you can do one of two things:

  • Add the column again to your table and select the aggregation Count
  • Create a measure with a Count or countrows and use it on the visualization

3) Distinct returns a one column table that contains the distinct (unique) values in a column, for a column argument, be aware that this is a table function and cannot be used has the final result of a measure

DistinctCount Counts the number of distinct values in a column, this can be used has a measure.

In the example you give the Distinct count for each of the values presented would be 6 for the overal table and 1 for each of the values, because it's based on context.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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