# Table issue

**URL:** <https://community.glideapps.com/t/table-issue/6397>\
**Category:** Ask for Help\
**Created:** [April 4, 2020, 12:36am UTC](https://community.glideapps.com/t/table-issue/6397 "2020-04-04T00:36:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JMD](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@JMD](https://community.glideapps.com/u/JMD)\
**Post date:** [April 4, 2020, 12:36am UTC](https://community.glideapps.com/t/table-issue/6397/1 "2020-04-04T00:36:15Z")

</div>

I’m trying to create a simple table (Canteen items) in a larger App I created.  
What I would like to have is a table where people tap on a category (eg Bakery, Snacks etc) then a table is displayed showing Item in one column and Cost in the other. I created a Test app to see if I could do it but it’s just not happening for me. In my test app I have 2 worksheets (one has 3 columns Item, Cost, Category) (the second worksheet has one column only ie Category.

1. Anything wrong with the 2 worksheets?
2. If nothing wrong it must be the relationships I’ve been trying to create.  
Any thoughts?  
Thanks, Jeanette

---

<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:** [April 4, 2020, 2:44am UTC](https://community.glideapps.com/t/table-issue/6397/2 "2020-04-04T02:44:17Z")

</div>

The sheets should be fine. Make the categories sheet your primary tab. Create a relation column in the categories sheet to link the category with the category in the item sheet. When you click on a category, it will open up the details for that category. Here you can add an inline list that uses the relation column to show all of the items in that category.

However, if you want to display the items in a basic table component, then you would probably need to create a single table instead with only three rows. One for each category. Each item will then have it’s own column (item name will be the heading) and in the column, you will list a price in the category row that the item belongs in. So in the end you will display a list of each category, and the details for each category will list the items with a price on that category.

See if that gets you closer.

---

<div class="post-metadata">

**Author:** ![JMD](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@JMD](https://community.glideapps.com/u/JMD)\
**Post date:** [April 4, 2020, 3:38am UTC](https://community.glideapps.com/t/table-issue/6397/3 "2020-04-04T03:38:58Z")

</div>

Thanks Jeff

Your second suggestion did the trick!

Thanks so much!

Jeanette
