# Variable Mapping

**URL:** <https://community.grafana.com/t/variable-mapping/31801>\
**Category:** General\
**Created:** [June 9, 2020, 2:43pm UTC](https://community.grafana.com/t/variable-mapping/31801 "2020-06-09T14:43:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chavanavinash01](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/chavanavinash01/32/11227_2.png) [@chavanavinash01](https://community.grafana.com/u/chavanavinash01)\
**Post date:** [June 9, 2020, 2:43pm UTC](https://community.grafana.com/t/variable-mapping/31801/1 "2020-06-09T14:43:26Z")

</div>

Hi All,  
I have created a Boolean variable in Grafana in which 0 means sever up and 1 means server down. I am trying to map the variable by casting 1-Down and 0-Up , however the variable has been linked to status panel and casting the value is not reflecting when i change the variable. Can someone please help with the workaround
