# Why are some computed columns not available in the text component?

**URL:** https://community.glideapps.com/t/why-are-some-computed-columns-not-available-in-the-text-component/82923
**Category:** Ask for Help
**Created:** [July 3, 2025, 8:28pm UTC](https://community.glideapps.com/t/why-are-some-computed-columns-not-available-in-the-text-component/82923 "2025-07-03T20:28:46Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![PleaseLaugh](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@PleaseLaugh](https://community.glideapps.com/u/PleaseLaugh)
#### Post date: [July 3, 2025, 8:28pm UTC](https://community.glideapps.com/t/why-are-some-computed-columns-not-available-in-the-text-component/82923/1 "2025-07-03T20:28:46Z")

</div>

Hi everyone!

I’ve been working on a multi-page app and learning a lot - thank you to everyone who’s helped so far!

Right now I’m building a feature where a quote is displayed based on user’s selected mood (there are 5 moods in total) I’m using a rating component to represent mood, then using:

- a **relation** column to match mood to a set of quotes
- a **single value** column to pick one quote from that related list
- a **lookup** column to pull the quote text

The logic seems to be working - in the **Data view** I can see that the relation, single value, and lookup columns all show the correct values.

But the problem is:  
In the **Layout / Component panel** , when I try to display the quote using a **Text or Rich Text** component, none of those columns (relation/ single value/ lookup) show up as options to select. They are just missing.

Is this a context issue? Do I need to filter the screen differently, or restructure my setup? I’m currently using the Users table as the screen’s data source

Here’s a screenshot of the column names,  
 ![glide screenshot 5](https://us1.discourse-cdn.com/flex002/uploads/glideapps/optimized/3X/3/b/3b6be2fcc9a16c6e457c4fe17866b73cf405d383_2_690x25.png)

Thanks in advance - I really appreciate your help 🙏

---

<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: [July 3, 2025, 9:42pm UTC](https://community.glideapps.com/t/why-are-some-computed-columns-not-available-in-the-text-component/82923/2 "2025-07-03T21:42:20Z")

</div>

Relations are links to a single or multiple related rows. They do not represent a single column in those related rows.

First question would be if your relation is a single relation or multiple relation.

Next question, why do you have both a Single Value column and a Lookup column? You should only need one or the other to pull a value from a relation. Usually a Lookup is the common choice.

If you have a multiple relation, then a lookup column would return an array, which could have multiple values. Arrays can’t be used in places that only accept a single value.

However, a Single Value column would always return a single value, except when you are using it to retrieve an existing array, or you are using it to return an entire row.

I think it would be a lot more useful to see how you configured each of those three columns. That will provide a whole lot more context.

---

<div class="post-metadata">

### Author: ![PleaseLaugh](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@PleaseLaugh](https://community.glideapps.com/u/PleaseLaugh)
#### Post date: [July 3, 2025, 11:09pm UTC](https://community.glideapps.com/t/why-are-some-computed-columns-not-available-in-the-text-component/82923/4 "2025-07-03T23:09:56Z")

</div>

Here is what I did, I first use a relation column to relate the mood rate to a column with mood numbers, and there are multiple quotes with one mood number, and I want that, so the single value can pick one of the few quotes randomly from it each time:

 ![glide screenshot 6](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/1/31fa99bc21dfbe0caefca769c84de14b3953dd44.png)

And then I plug the single value column to the relation, but weirdly it returns all the quote instead of only display one random quote, here’s my configuration:

 ![glide screenshot 7](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/5/55598a29f1cd2f4e5cc25a369ed3fa7dad71f1c5.png)

then because both the relation and the single value doesn’t show up as an option for the text I want to display, I used a lookup to try to display a quote, but sadly the lookup also didn’t show up:

 ![glide screenshot 8](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/6/9670c39c7afd8122c4f6c42b25cc37919190ae60.png)

This is what is happening, is there a way to fix this?

---

<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: [July 3, 2025, 11:22pm UTC](https://community.glideapps.com/t/why-are-some-computed-columns-not-available-in-the-text-component/82923/5 "2025-07-03T23:22:58Z")

</div>

Ok, I see your logic now, although it’s a little bit of a roundabout way to get there. Based on a quick test it should work, unless your screen is not looking at the correct table. Or for some reason your lookup is returning an array, but your screenshots don’t show that, so I can’t say for sure.

Regardless, I think I would take a different approach and use a Query column with the appropriate filter, sorting, and set to return a single row. Then point a Lookup column at that query.

---

<div class="post-metadata">

### Author: ![PleaseLaugh](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@PleaseLaugh](https://community.glideapps.com/u/PleaseLaugh)
#### Post date: [July 7, 2025, 2:47pm UTC](https://community.glideapps.com/t/why-are-some-computed-columns-not-available-in-the-text-component/82923/6 "2025-07-07T14:47:19Z")

</div>

I used a Query, but it only lets me sort by A to Z, or Z to A instead of letting it sort by random, what should I select multiple for this one, and make another column?

---

<div class="post-metadata">

### Author: ![PleaseLaugh](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@PleaseLaugh](https://community.glideapps.com/u/PleaseLaugh)
#### Post date: [July 7, 2025, 2:56pm UTC](https://community.glideapps.com/t/why-are-some-computed-columns-not-available-in-the-text-component/82923/7 "2025-07-07T14:56:47Z")

</div>

Continue with the last post

So here is what I did, but I wanted it to be random

I think I’m so close to doing it but I don’t know how I can do it

what I did was I made another column to each mood rate, in the quote table:

 ![glide July 7 1](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/0/805c2a4c8101aa3fe9457bb34151dd5f9affa8a0.png)

And I made a query, but then it doesn’t pick from random, what should I do?

 ![glide July 7 2](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/a/bacb954516b5c46e28a9c654591d078f85a44b80.png)

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [July 7, 2025, 11:57pm UTC](https://community.glideapps.com/t/why-are-some-computed-columns-not-available-in-the-text-component/82923/8 "2025-07-07T23:57:47Z")

</div>

> [@PleaseLaugh](#):
>
> And then I plug the single value column to the relation, but weirdly it returns all the quote instead of only display one random quote, here’s my configuration:

In this part, the From should say Related Quotes \> Mood Quote, I believe.

---

<div class="post-metadata">

### Author: ![PleaseLaugh](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@PleaseLaugh](https://community.glideapps.com/u/PleaseLaugh)
#### Post date: [July 8, 2025, 1:42pm UTC](https://community.glideapps.com/t/why-are-some-computed-columns-not-available-in-the-text-component/82923/9 "2025-07-08T13:42:55Z")

</div>

It is solved! thank you everyone for your help! I solved it with a math column

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [July 8, 2025, 1:46pm UTC](https://community.glideapps.com/t/why-are-some-computed-columns-not-available-in-the-text-component/82923/10 "2025-07-08T13:46:20Z")

</div>

Can you share the solution? I just want to make sure it doesn’t lead to any problems down the line and you’re using the right column.

---

<div class="post-metadata">

### Author: ![PleaseLaugh](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@PleaseLaugh](https://community.glideapps.com/u/PleaseLaugh)
#### Post date: [July 10, 2025, 2:52pm UTC](https://community.glideapps.com/t/why-are-some-computed-columns-not-available-in-the-text-component/82923/11 "2025-07-10T14:52:35Z")

</div>

Sure, Let me just solve a current problem I’m having,

The math column’s got it’s problem too, when I post it I’ll post the problem along with it, to see if the problem can be fixed

But now I have a bigger problem, I’ll come back to this hopefully tomorrow

---

<div class="post-metadata">

### Author: ![PleaseLaugh](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@PleaseLaugh](https://community.glideapps.com/u/PleaseLaugh)
#### Post date: [July 10, 2025, 3:08pm UTC](https://community.glideapps.com/t/why-are-some-computed-columns-not-available-in-the-text-component/82923/12 "2025-07-10T15:08:48Z")

</div>

thanks for the help !!

they are all really helpful, couldn’t do it without you guys

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [July 11, 2025, 12:37am UTC](https://community.glideapps.com/t/why-are-some-computed-columns-not-available-in-the-text-component/82923/13 "2025-07-11T00:37:31Z")

</div>

> [@PleaseLaugh](#):
>
> The math column’s got it’s problem too, when I post it I’ll post the problem along with it, to see if the problem can be fixed

Yeah, because I’m not sure how a math column would have helped you in this scenario, so just asking for clarification.

---

<div class="post-metadata">

### Author: ![PleaseLaugh](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@PleaseLaugh](https://community.glideapps.com/u/PleaseLaugh)
#### Post date: [July 18, 2025, 2:53pm UTC](https://community.glideapps.com/t/why-are-some-computed-columns-not-available-in-the-text-component/82923/14 "2025-07-18T14:53:13Z")

</div>

Ok! I’m back! I’ve been quietly working on the project and just circled back to this

So here I’m going to explain what I did, see if anyone can completely solve this, I already solved it around 90%

So what I did is first I produce random numbers in a range with a math column

 ![Glide screenshot 9](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/0/40e3706278cbdfc72884c7d7d914b7f33419b78b.jpeg)

And then I made a few columns with different quotes in rows that’s according to mood rate, and then I use else if to assign each random number to a column

 ![Glide screenshot 10](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/0/005838422aa3e55aeee6861d6df7b18cf864d26d.jpeg)

This almost works except that the random numbers don’t change unless we refresh the website, so how can we refresh the page more frequently? it won’t refresh just by clicking away to other pages, is there a way to set page a refresh everytime we click away?

---

<div class="post-metadata">

### Author: ![PleaseLaugh](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@PleaseLaugh](https://community.glideapps.com/u/PleaseLaugh)
#### Post date: [July 18, 2025, 2:58pm UTC](https://community.glideapps.com/t/why-are-some-computed-columns-not-available-in-the-text-component/82923/15 "2025-07-18T14:58:38Z")

</div>

If this cannot be solved I guess people will just keep on looking at the same quote

but I desire for them to see different quotes, hopefully there’s a way to refresh the page

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [July 19, 2025, 12:12am UTC](https://community.glideapps.com/t/why-are-some-computed-columns-not-available-in-the-text-component/82923/16 "2025-07-19T00:12:39Z")

</div>

> [@PleaseLaugh](#):
>
> So what I did is first I produce random numbers in a range with a math column

You can do this with a Roll Dice column.

> **[Roll Dice column | Glide](https://www.glideapps.com/plugins/dice)**
>
> Roll dice of various sizes.

You can set the Roll Seed to a template column joining the current row’s rowID and the current time, so it will automatically change every 10 seconds or so.

Then, in your Quotes table, have a column that is a number (e.g: 1 for Quote 1, 2 for Quote 2).

Relate the Roll Dice value to that column, and use a lookup to retrieve the quote.

That’s the general idea, you can probably find a way to integrate the Mood Rate somewhere in there.
