# Expense splitter with 1 partner

**URL:** <https://community.glideapps.com/t/expense-splitter-with-1-partner/2249>\
**Category:** Project Showcase\
**Created:** [November 21, 2019, 5:37pm UTC](https://community.glideapps.com/t/expense-splitter-with-1-partner/2249 "2019-11-21T17:37:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karim](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/karim/32/13974_2.png) [@Karim](https://community.glideapps.com/u/Karim)\
**Post date:** [November 21, 2019, 5:37pm UTC](https://community.glideapps.com/t/expense-splitter-with-1-partner/2249/1 "2019-11-21T17:37:46Z")

</div>

Hi everyone 👋

A second app my fiancé and I have been working on is: [https://splitit.glideapp.io/](https://splitit.glideapp.io/) !

Our goal here was to replace apps such as Splitwise with a Glide App and keep full control of the data that we input (for future analysis 😁).

Hope you enjoy it!

One question for the community:  
When adding an expense, inputing **who** paid for **whom** is done with choice components.

We cannot for the life of us figure out how to make these choice components dynamic.  
The goal is: depending on which trip you add expenses to, the choice component would only show you the participants specific to that trip.

Would love to have some help on this, thanks in advance!

---

<div class="post-metadata">

**Author:** ![George\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/george_b/32/534_2.png) [@George\_B](https://community.glideapps.com/u/George_B)\
**Post date:** [November 21, 2019, 7:51pm UTC](https://community.glideapps.com/t/expense-splitter-with-1-partner/2249/2 "2019-11-21T19:51:42Z")

</div>

Don’t feel bad that you can’t figure that out. It is not possible within Glide using the Choice Component at this point.

---

<div class="post-metadata">

**Author:** ![dkjorgi](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dkjorgi/32/1227_2.png) [@dkjorgi](https://community.glideapps.com/u/dkjorgi)\
**Post date:** [November 21, 2019, 9:04pm UTC](https://community.glideapps.com/t/expense-splitter-with-1-partner/2249/3 "2019-11-21T21:04:34Z")

</div>

While what you are trying to do is not possible with that component I do like the idea of the Split Trip billing.  
It would take some further design planning so data relationships are defined to have multiple trips with multiple expenses and payments but what are the options of how to split the bill apart from “equally”?

Might be an interesting challenge to take on-board.

---

<div class="post-metadata">

**Author:** ![Karim](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/karim/32/13974_2.png) [@Karim](https://community.glideapps.com/u/Karim)\
**Post date:** [November 22, 2019, 3:56am UTC](https://community.glideapps.com/t/expense-splitter-with-1-partner/2249/4 "2019-11-22T03:56:00Z")

</div>

So far I only built the app in such a way that it’s for 2 people and splitting equally.  
Changing it to include more people is possible using this (haven’t gotten around to doing that yet):

> <https://stackoverflow.com/questions/33571382/check-all-checkboxes-vuejs/58987192#58987192>

As concerns non equal splitting, using a math column should be the way to go in order to either split a bill by amount or by %.

---

<div class="post-metadata">

**Author:** ![Karim](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/karim/32/13974_2.png) [@Karim](https://community.glideapps.com/u/Karim)\
**Post date:** [November 22, 2019, 3:59am UTC](https://community.glideapps.com/t/expense-splitter-with-1-partner/2249/5 "2019-11-22T03:59:55Z")

</div>

Thanks for the he answer George.  
Do you (or maybe @Jeff_Hager) happen to know if an inline lists items could be made conditional?

The idea being in the home in the app:

- you add a trip
- in a choice component you choose your trip
- only that trip appears as an inline list item and the choice selection is used to filter the participant list

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![George\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/george_b/32/534_2.png) [@George\_B](https://community.glideapps.com/u/George_B)\
**Post date:** [November 22, 2019, 5:09am UTC](https://community.glideapps.com/t/expense-splitter-with-1-partner/2249/6 "2019-11-22T05:09:29Z")

</div>

Inline lists are usually conditional normally as they are related in some way to one of the detail columns in the row that you are viewing in its detail view. Why don’t you phrase the question in a way that explains what you want to do at a little higher level. For example:  
I want to show a list of all people who have signed up for a trip.  
Actually take a look at this post from earlier today. Think of the Events as your Trips. I used Participants as the name of the list of people and Attendees for the names and events link.

> [@Many-to-Many Relationships](https://community.glideapps.com/t/many-to-many-relationships/2225/4):
>
> @jonlutz79 The best way to do a many-to-many style of app is to have 3 sheets. Here is an example app that I put together for you and others to help understand the structure. It’s a very simple Events app, where you can sign up people to attend an event. Sign up can be done on the Events page/tab or the Participants page/tab. There is a list of Events and a list of possible Participants that are attending the Event. So 3 sheets. Events, Participants, Attendees. The Attendee sheet is the ke…
