# Value according to user's email

**URL:** <https://community.glideapps.com/t/value-according-to-users-email/42975>\
**Category:** Ask for Help\
**Created:** [June 11, 2022, 4:39pm UTC](https://community.glideapps.com/t/value-according-to-users-email/42975 "2022-06-11T16:39:59Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![agung\_Taufik](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/agung_taufik/32/2589_2.png) [@agung\_Taufik](https://community.glideapps.com/u/agung_Taufik)\
**Post date:** [June 11, 2022, 4:39pm UTC](https://community.glideapps.com/t/value-according-to-users-email/42975/1 "2022-06-11T16:39:59Z")

</div>

Hi  
I want to differentiate notification value as per user’s email,  
`Aan Hasanah's` shopping cart value notification is 5, this is what I expected.  
and the value of Agung Taufik’s shopping cart notification should be 0, but in the basket menu, `Agung Taufik's` value is 5,  
How to differentiate values according to user email?

Aan Hasanah

 ![Screenshot 2022-06-11 23.24.35](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/8/786d4caa421d38f5a89286fd55c306c28100557f.png)

Agung Taufik

 ![Screenshot 2022-06-11 23.26.47](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/0/d05ed3a2d0f02efda3f2c800d4e003a3e220dffb.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:** [June 11, 2022, 11:05pm UTC](https://community.glideapps.com/t/value-according-to-users-email/42975/2 "2022-06-11T23:05:03Z")

</div>

I assume you’re using CSS to have that red circle?

You can just put the right number in the template column that populates that CSS on your screen.

If you’re not able to do that, please send over screenshots of your configuration for that screen, specifically that CSS part.

---

<div class="post-metadata">

**Author:** ![agung\_Taufik](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/agung_taufik/32/2589_2.png) [@agung\_Taufik](https://community.glideapps.com/u/agung_Taufik)\
**Post date:** [June 11, 2022, 11:44pm UTC](https://community.glideapps.com/t/value-according-to-users-email/42975/3 "2022-06-11T23:44:38Z")

</div>

Hi @ThinhDinh  
you are right, I use css, for the value I get from `HITUNG SELISIH CHECKOUT`

I try to explain the flow of the application that I made.  
I have a special group shopping application, where the user as the group leader can order for its members.  
let’s say I am the group leader, I want to choose 5 types of goods for my members, and in the application I calculate the order of the goods I ordered, this is where the problem is when another user enters my total order is also in another user.

in GLIDE TABLE I use math to calculate my order, for the sum I calculate `Row ID` - `Hitung Nama Anggota Yang Terisi`

I’ll show you a screenshot

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/3/0300af0d0672a3e7b7ad1cc7451358203a447c07.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:** [June 12, 2022, 12:07am UTC](https://community.glideapps.com/t/value-according-to-users-email/42975/4 "2022-06-12T00:07:04Z")

</div>

Why is your HITUNG SELISIH CHECKOUT column the same for every row? How are you getting the 2 rollups and shouldn’t they be different for each user?

---

<div class="post-metadata">

**Author:** ![agung\_Taufik](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/agung_taufik/32/2589_2.png) [@agung\_Taufik](https://community.glideapps.com/u/agung_Taufik)\
**Post date:** [June 12, 2022, 12:13am UTC](https://community.glideapps.com/t/value-according-to-users-email/42975/5 "2022-06-12T00:13:42Z")

</div>

because I used `Math>Count` to count all unfilled `row id`-`Nama Anggota`.  
is there any other way to make the data work as per user?

---

<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:** [June 12, 2022, 12:15am UTC](https://community.glideapps.com/t/value-according-to-users-email/42975/6 "2022-06-12T00:15:09Z")

</div>

Shouldn’t you do it with a relation using the user’s email/ID instead, providing you have the user’s email/ID in the other table?

I was thinking you can have a relation like that, then do a rollup on that relation instead of taking the whole unfilled rows set, which can include other users’ data.

---

<div class="post-metadata">

**Author:** ![agung\_Taufik](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/agung_taufik/32/2589_2.png) [@agung\_Taufik](https://community.glideapps.com/u/agung_Taufik)\
**Post date:** [June 12, 2022, 2:05am UTC](https://community.glideapps.com/t/value-according-to-users-email/42975/7 "2022-06-12T02:05:02Z")

</div>

Omg  
why am i this careless 😅  
thanks for reminding me @ThinhDinh

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [June 13, 2022, 2:05am UTC](https://community.glideapps.com/t/value-according-to-users-email/42975/8 "2022-06-13T02:05:36Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
