# Checkbox counted as string in Charts

**URL:** <https://community.fibery.io/t/checkbox-counted-as-string-in-charts/921>\
**Category:** Bugs & Issues\
**Created:** [August 26, 2020, 9:47am UTC](https://community.fibery.io/t/checkbox-counted-as-string-in-charts/921 "2020-08-26T09:47:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Haslien](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/haslien/32/493_2.png) [@Haslien](https://community.fibery.io/u/Haslien)\
**Post date:** [August 26, 2020, 9:47am UTC](https://community.fibery.io/t/checkbox-counted-as-string-in-charts/921/1 "2020-08-26T09:47:28Z")

</div>

I wanted wanted to create a hard filter (_not a result filter_) based on a checkbox in the vertical axis, where a checkbox being `true` was included, and `false` not. The checkbox there is counted as a `string` instead of `boolean`.

![](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/2/26e85b57b0b3e88564eea2e013b0bcb0401f76d9.png)  
 ![](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/4/49e565d41b23fb2f482024f1ba27601c5683d248.png)

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [August 26, 2020, 11:00am UTC](https://community.fibery.io/t/checkbox-counted-as-string-in-charts/921/2 "2020-08-26T11:00:45Z")

</div>

Hi @Haslien,  
I’m curious as to what you mean by a ‘hard filter’?  
If I have a checkbox as the vertical axis in a chart, then it shows as false and true, and I can apply a filter to the chart to limit which option is shown.  
Perhaps you can help me understand what you’re getting at.

---

<div class="post-metadata">

**Author:** ![Haslien](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/haslien/32/493_2.png) [@Haslien](https://community.fibery.io/u/Haslien)\
**Post date:** [August 26, 2020, 12:51pm UTC](https://community.fibery.io/t/checkbox-counted-as-string-in-charts/921/3 "2020-08-26T12:51:08Z")

</div>

This doesn’t really relate to the checkbox being treated as a string.

Essentially, this.

```auto
COUNTIF([Count This Thing], [Checkbox] == "true")

```

I don’t want this condition to be a possible option using the result filter:  
 ![](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/3/3f5fdffbd15298718c5290cc74ba4e85171bd7f6.png)
