# Display Text in choice value

**URL:** <https://forum.dimagi.com/t/display-text-in-choice-value/10597>\
**Category:** Users\
**Created:** [March 1, 2024, 7:08am UTC](https://forum.dimagi.com/t/display-text-in-choice-value/10597 "2024-03-01T07:08:05Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Mazz](https://dimagi.b-cdn.net/user_avatar/forum.dimagi.com/mazz/32/1004_2.png) [@Mazz](https://forum.dimagi.com/u/Mazz)\
**Post date:** [March 1, 2024, 11:33am UTC](https://forum.dimagi.com/t/display-text-in-choice-value/10597/6 "2024-03-01T11:33:49Z")

</div>

oh  
yeah  
lookup tables. I did not realize you were using lookup type multiple choice questions. this formula will NOT work for lookup table types.

why?

the code your have looks for the value based on the display text id.

 ![image](https://dimagi.b-cdn.net/uploads/default/original/2X/7/72f72fb90630f59a9e0858d818c9741c028ede67.png)

These do not get generated for lookup table type questions because it's dynamic. it can change based on the data in the lookup table. this means that it uses a slightly different internal structure.

so what do you do?

follow the instructions on this post

> [@How To Reference Lookup Table Value In a Hidden Value](https://forum.dimagi.com/t/how-to-reference-lookup-table-value-in-a-hidden-value/8445):
>
> Hi! I am trying to reference a value from a column in a lookup table using a hidden value. In other words, for this lookup table, if a user enters a certain ID, the hidden value would pull the corresponding value from that column. In this scenario, I'm trying to pull the value for outcome. Here are the details of my lookup table: Any advice?

---

_[View the full topic](https://forum.dimagi.com/t/display-text-in-choice-value/10597)._
