# Sum of column in embedded table that has been filtered

**URL:** <https://community.tulip.co/t/sum-of-column-in-embedded-table-that-has-been-filtered/16223>\
**Category:** General\
**Created:** [March 27, 2026, 5:45pm UTC](https://community.tulip.co/t/sum-of-column-in-embedded-table-that-has-been-filtered/16223 "2026-03-27T17:45:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![codygarcia](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@codygarcia](https://community.tulip.co/u/codygarcia)\
**Post date:** [March 27, 2026, 5:45pm UTC](https://community.tulip.co/t/sum-of-column-in-embedded-table-that-has-been-filtered/16223/1 "2026-03-27T17:45:26Z")

</div>

Hi,

I created an input variable that sorts an embedded table by Shipper # field. I’d also like to add/display the sum of the column called Gross, based on the results from the Shipper # variable sort.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/4/4f7912a258ddfab59f37481b6087e7b8bc0e1839.png)

1. Is this possible?
2. If yes, what option(s) are available for this?

Thanks.

---

<div class="post-metadata">

**Author:** ![thorsten.langner](https://avatars.discourse-cdn.com/v4/letter/t/4bbf92/32.png) [@thorsten.langner](https://community.tulip.co/u/thorsten.langner)\
**Post date:** [March 30, 2026, 7:29am UTC](https://community.tulip.co/t/sum-of-column-in-embedded-table-that-has-been-filtered/16223/2 "2026-03-30T07:29:44Z")

</div>

You can add a query and aggregation to that table (on the table page) and apply the same variable to that query filter.

---

<div class="post-metadata">

**Author:** ![codygarcia](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@codygarcia](https://community.tulip.co/u/codygarcia)\
**Post date:** [April 16, 2026, 11:04am UTC](https://community.tulip.co/t/sum-of-column-in-embedded-table-that-has-been-filtered/16223/3 "2026-04-16T11:04:52Z")

</div>

I was able to have my query = app input. I went into the app editor and changed the app input value to the variable I was trying to sort by. This worked very well.

Thanks!!
