# Constants?

**URL:** https://community.glideapps.com/t/constants/43233
**Category:** Ask for Help
**Created:** [June 18, 2022, 2:30pm UTC](https://community.glideapps.com/t/constants/43233 "2022-06-18T14:30:53Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![rleinen](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rleinen/32/43270_2.png) [@rleinen](https://community.glideapps.com/u/rleinen)
#### Post date: [June 18, 2022, 2:30pm UTC](https://community.glideapps.com/t/constants/43233/1 "2022-06-18T14:30:53Z")

</div>

Is there a way to create a value that is a constant to be used in calculations across all tables?

---

<div class="post-metadata">

### Author: ![gvalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gvalero/32/1037_2.png) [@gvalero](https://community.glideapps.com/u/gvalero)
#### Post date: [June 18, 2022, 3:22pm UTC](https://community.glideapps.com/t/constants/43233/2 "2022-06-18T15:22:24Z")

</div>

Hola,

Yes, it’s possible.

E.g., create a table called **Constants** for these things, later, use a Single Value column to find/use any constant/value in any other table you want.

Saludos!

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [June 18, 2022, 3:23pm UTC](https://community.glideapps.com/t/constants/43233/3 "2022-06-18T15:23:45Z")

</div>

I usually put “global variables” in my User Profiles table. This makes them directly accessible from anywhere in the app.

For example, if I’m using CSS then most (if not all) of my CSS will reside in template columns in the User Profile table. And I usually have a bunch of Date math columns there as well - “today”, “this year”, “last year”, “30/60/90 days ago”, etc.

---

<div class="post-metadata">

### Author: ![rleinen](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rleinen/32/43270_2.png) [@rleinen](https://community.glideapps.com/u/rleinen)
#### Post date: [June 18, 2022, 3:25pm UTC](https://community.glideapps.com/t/constants/43233/4 "2022-06-18T15:25:42Z")

</div>

Thank you, Gentlemen!

---

<div class="post-metadata">

### Author: ![rleinen](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rleinen/32/43270_2.png) [@rleinen](https://community.glideapps.com/u/rleinen)
#### Post date: [June 18, 2022, 4:49pm UTC](https://community.glideapps.com/t/constants/43233/5 "2022-06-18T16:49:45Z")

</div>

Does it matter what type of column it is in the User table?

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [June 18, 2022, 5:32pm UTC](https://community.glideapps.com/t/constants/43233/6 "2022-06-18T17:32:11Z")

</div>

Whichever column type feels suitable for what you need. Doesn’t matter, but obviously not something like an array, which can’t be used as a single value.

---

<div class="post-metadata">

### Author: ![rleinen](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rleinen/32/43270_2.png) [@rleinen](https://community.glideapps.com/u/rleinen)
#### Post date: [June 18, 2022, 5:35pm UTC](https://community.glideapps.com/t/constants/43233/7 "2022-06-18T17:35:00Z")

</div>

So if I had a column such as Rate, would I have to enter the rate value in each person’s profile for that column even though the rate would be the same for each?

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [June 18, 2022, 5:36pm UTC](https://community.glideapps.com/t/constants/43233/8 "2022-06-18T17:36:06Z")

</div>

You could use a math column. Just enter the rate without any formula or replacement.

---

<div class="post-metadata">

### Author: ![rleinen](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rleinen/32/43270_2.png) [@rleinen](https://community.glideapps.com/u/rleinen)
#### Post date: [June 18, 2022, 5:37pm UTC](https://community.glideapps.com/t/constants/43233/9 "2022-06-18T17:37:35Z")

</div>

Got it. And if was just text I would use a Template column?

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [June 18, 2022, 5:41pm UTC](https://community.glideapps.com/t/constants/43233/10 "2022-06-18T17:41:55Z")

</div>

Yep 👍

---

<div class="post-metadata">

### Author: ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)
#### Post date: [June 18, 2022, 5:58pm UTC](https://community.glideapps.com/t/constants/43233/11 "2022-06-18T17:58:58Z")

</div>

> [@Darren\_Murphy](#):
>
> I usually put “global variables” in my User Profiles table.

Ditto
