Forum Discussion

michael_ma's avatar
michael_ma
Frequent Visitor
2 years ago
Solved

DistinctCount function counting values greater than 1 despite removing all duplicates in Power Query

Hi everyone, 

 

In power query I transformed a column by removing all the duplicates so that each value in the column will be distinct from one another. 

However, when I do a count of the column in a report, I'm receivng values from the column that have a count greater than 1.

The total is the correct value that I'm looking for, but confused on why there are counts greater than 1. When I query a distinct count in our source system I get the same total as the visual above, but when I query a distinct count in power bi I get a lower total value than what I expect. 

 

Does anyone know why there are counts greater than 1 despite removing all duplicates in power query? Is there a dax expression that can do a distinct count and reflect the same total as shown above? 

 

1 Reply