title: Formatting SharePoint columns to display button with JSON
body: <p>I have a SharePoint library with a status field and a button field. The button field has formatted JSON code to execute a Flow but the button only displays if the Status field is set to a certain value. This works great. However, I would the button to display if the Status field is value 1 OR value 2. How do I do that in the code? Thanks!!</p>
  <pre><code>  &quot;$schema&quot;: &quot;https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json&quot;,
    &quot;elmType&quot;: &quot;button&quot;,
    &quot;txtContent&quot;: &quot;Archive Machine&quot;,
    &quot;customRowAction&quot;: {
      &quot;action&quot;: &quot;executeFlow&quot;,
      &quot;actionParams&quot;: &quot;{\&quot;id\&quot;: \&quot;88258048-da4b-101c-8b4a-e91ebd385d5e\&quot;}&quot;
    },
    &quot;style&quot;: {
      &quot;background-color&quot;: &quot;purple&quot;,
      &quot;color&quot;: &quot;white&quot;,
      &quot;visibility&quot;: {
        &quot;operator&quot;: &quot;?&quot;,
        &quot;operands&quot;: [
          {
            &quot;operator&quot;: &quot;==&quot;,
            &quot;operands&quot;: [
              &quot;[$Status]&quot;,
              &quot;Status1&quot;
            ]
          },
          &quot;visible&quot;,
          &quot;hidden&quot;
        ]
      }
    }
  }```
  </code></pre>