Forum Discussion
Count distinct of nulls in Power BI doesn't work like SQL Server
- Anonymous7 years ago
rlooney,
I have got response from PG that this behavior is by design, please vote up the idea you have mentioned above.
Regards,
Lydia - 7 years ago
Anonymous - Thank you for checking on this. I have voted for the idea and this can be closed.
Also, for others that might see this, one of the forum questions about this suggests adding a filter to the data to exclude the (blank) data. Doing that will produce a count and count(distinct) that is consistent with SQL Server. Just keep in mind what level you're filtering that data at as that might cause other problems if not fully accounted for.
Anonymous - Thank you for checking on this. I have voted for the idea and this can be closed.
Also, for others that might see this, one of the forum questions about this suggests adding a filter to the data to exclude the (blank) data. Doing that will produce a count and count(distinct) that is consistent with SQL Server. Just keep in mind what level you're filtering that data at as that might cause other problems if not fully accounted for.