This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
It's easy to create a query from a DB as below.
select 1
union
select 2
union
select NULL
Let's say the above column name is ID, then you do count and count(distinct) for ID. It will show as this one.
| COUNT(DISTINCT) | Count |
| 3 | 2 |
It's wrong as NULL should not be counted in results. So could you please check and fix this issue? Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.