I have survey data. I need to estimate a field that gives me a percent of responses of a dimension field (V1) that meet a condition. However, the denominator should change by a parameter. I need to have the data in percent because my samples are not equal in size, so using totals and counts would be misleading. I have the following code

```
(countIf (
{V1},
{V1} = 'Condition 1' OR
{V1} = 'Condition 2')
)/ count(${PARAMETER}) * 100
```

For some reason, the calculated field gives me a result that is somewhat close, but not equal to results I get in R. The difference is enough to alter my conclusions. I don’t know what I’m doing wrong.