I have an query to filter result like image
I've tried to write query with DCOUNT but not work
SELECT LANG, Count(LANG) AS [TOTAL],
DCount("[B]","TEST","[B]='B'") AS B, DCount("[C]","TEST","[C]='C'") AS C, DCount("[D]","TEST","[D]='D'") AS D
FROM TEST
GROUP BY LANG;
This query will return all column 'B','C','D' is 1
I want to count only for field if have value, if empty, just let it empty like picture How i can do that ?
