Hi All,
I have a table with two columns like the below and I want to write a query that will count the YES values grouping by the A column. Any suggestions?
I tried Count(IIf()) and DCOUNT functions but none of them worked...
<colgroup><col style="width:48pt" width="64" span="2"> </colgroup><tbody>
</tbody>
<colgroup><col style="width:48pt" width="64" span="2"> </colgroup><tbody>
</tbody>
I have a table with two columns like the below and I want to write a query that will count the YES values grouping by the A column. Any suggestions?
I tried Count(IIf()) and DCOUNT functions but none of them worked...
1 | YES |
2 | YES |
3 | YES |
3 | |
4 | YES |
5 | NO |
5 | YES |
5 | YES |
<colgroup><col style="width:48pt" width="64" span="2"> </colgroup><tbody>
</tbody>
1 | 1 |
2 | 1 |
3 | 1 |
4 | 1 |
5 | 2 |
<colgroup><col style="width:48pt" width="64" span="2"> </colgroup><tbody>
</tbody>