I want to count all rows. Distintcount works but when it comes down to sub total, if there is no value, it does not include the particual row.
Let's say: Project A for c person has not got a value. So when I use distintcount (level), it won't add C in Project A/Count in green. I need the High total for Project A/count in green should be 3 not 2. Regardless of the values, it just needs to count the total rows per level. Has anyone got an idea?
[TABLE="width: 500"]
<tbody>[TR]
[TD]level[/TD]
[TD]Staff[/TD]
[TD]Project A /value[/TD]
[TD]Project B /value[/TD]
[TD]Project A /count[/TD]
[TD]Project B/count [/TD]
[/TR]
[TR]
[TD]high[/TD]
[TD]a[/TD]
[TD]2[/TD]
[TD]45[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]b[/TD]
[TD]10[/TD]
[TD]25[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]c[/TD]
[TD][/TD]
[TD]10[/TD]
[TD][/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]High Total[/TD]
[TD][/TD]
[TD]12[/TD]
[TD]80[/TD]
[TD]2[/TD]
[TD]3[/TD]
[/TR]
</tbody>[/TABLE]
Let's say: Project A for c person has not got a value. So when I use distintcount (level), it won't add C in Project A/Count in green. I need the High total for Project A/count in green should be 3 not 2. Regardless of the values, it just needs to count the total rows per level. Has anyone got an idea?
[TABLE="width: 500"]
<tbody>[TR]
[TD]level[/TD]
[TD]Staff[/TD]
[TD]Project A /value[/TD]
[TD]Project B /value[/TD]
[TD]Project A /count[/TD]
[TD]Project B/count [/TD]
[/TR]
[TR]
[TD]high[/TD]
[TD]a[/TD]
[TD]2[/TD]
[TD]45[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]b[/TD]
[TD]10[/TD]
[TD]25[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]c[/TD]
[TD][/TD]
[TD]10[/TD]
[TD][/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]High Total[/TD]
[TD][/TD]
[TD]12[/TD]
[TD]80[/TD]
[TD]2[/TD]
[TD]3[/TD]
[/TR]
</tbody>[/TABLE]