# How to create order history in free app

**URL:** https://community.glideapps.com/t/how-to-create-order-history-in-free-app/31365
**Category:** Ask for Help
**Created:** [September 4, 2021, 10:02am UTC](https://community.glideapps.com/t/how-to-create-order-history-in-free-app/31365 "2021-09-04T10:02:41Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Manikandan\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manikandan_r/32/43482_2.png) [@Manikandan\_R](https://community.glideapps.com/u/Manikandan_R)
#### Post date: [September 4, 2021, 10:02am UTC](https://community.glideapps.com/t/how-to-create-order-history-in-free-app/31365/1 "2021-09-04T10:02:42Z")

</div>

I need solution to display order history tab for each user.it should list only order related to that particular user.i have a phone number as required field when placing the order.

---

<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: [September 4, 2021, 10:37am UTC](https://community.glideapps.com/t/how-to-create-order-history-in-free-app/31365/2 "2021-09-04T10:37:58Z")

</div>

So you don’t store their emails in the orders sheet right?

I imagine you can use a relation from the user profiles table to the orders table using the phone number as the connector and display that relation in an inline list.

---

<div class="post-metadata">

### Author: ![Manikandan\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manikandan_r/32/43482_2.png) [@Manikandan\_R](https://community.glideapps.com/u/Manikandan_R)
#### Post date: [September 4, 2021, 1:54pm UTC](https://community.glideapps.com/t/how-to-create-order-history-in-free-app/31365/3 "2021-09-04T13:54:31Z")

</div>

Still not getting this order history

Attached is what my tabs are

Now I’m getting email in my table

Now I need order history for that particular user.

I don’t know which field to be relate.i tried meals type with email but nothing comes in the relation column.

Need help on this.!

[IMG\_20210904\_191919|666x500](https://community.glideapps.com/uploads/short-url/7sqdI7IJkBhDdy4J01ziAWDVCzi.jpeg)

 ![IMG_20210904_191854](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/5/8541486ce9c302ec6be413d2c86e83cafad258e3.jpeg)  
 ![IMG_20210904_191756](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/b/3b213077770046d812e535d1af3dcd26e2785a4f.jpeg)!  
 ![IMG_20210904_191756](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/b/3b213077770046d812e535d1af3dcd26e2785a4f.jpeg) ![IMG_20210904_191919](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/4/3445ba8122d946912463d0386bf5163e1b36308c.jpeg)

---

<div class="post-metadata">

### Author: ![Manikandan\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manikandan_r/32/43482_2.png) [@Manikandan\_R](https://community.glideapps.com/u/Manikandan_R)
#### Post date: [September 4, 2021, 5:11pm UTC](https://community.glideapps.com/t/how-to-create-order-history-in-free-app/31365/4 "2021-09-04T17:11:27Z")

</div>

Hi

Forgot to make email as row owner, required output came.thanks

---

<div class="post-metadata">

### Author: ![Manikandan\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manikandan_r/32/43482_2.png) [@Manikandan\_R](https://community.glideapps.com/u/Manikandan_R)
#### Post date: [September 28, 2021, 6:52pm UTC](https://community.glideapps.com/t/how-to-create-order-history-in-free-app/31365/5 "2021-09-28T18:52:22Z")

</div>

@ThinhDinh order history is working but I need this in some format.

I have a tab as order history displaying orders showing in tiles,meals type, phone number,date and time.

Now I need to change the format as displaying all the orders of a particular date into one.

Today date

Yesterday date

So on…

How to achieve this?

---

<div class="post-metadata">

### Author: ![kyleheney](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kyleheney/32/41173_2.png) [@kyleheney](https://community.glideapps.com/u/kyleheney)
#### Post date: [September 28, 2021, 7:21pm UTC](https://community.glideapps.com/t/how-to-create-order-history-in-free-app/31365/6 "2021-09-28T19:21:17Z")

</div>

Filter your list by date “is within today” , etc.

For yesterday, etc, use a Math column to get the value for Date - 1 (where Date is your order date), then filter your list using that “yesterday” result.

---

<div class="post-metadata">

### Author: ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)
#### Post date: [January 17, 2024, 4:50pm UTC](https://community.glideapps.com/t/how-to-create-order-history-in-free-app/31365/7 "2024-01-17T16:50:22Z")

</div>


