# Adding % of Total column

**URL:** <https://community.holistics.io/t/adding-of-total-column/1740>\
**Category:** Ask the Community\
**Tags:** data-format, visualizations\
**Created:** [November 22, 2023, 10:09am UTC](https://community.holistics.io/t/adding-of-total-column/1740 "2023-11-22T10:09:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grant\_Orchard](https://community.holistics.io/user_avatar/community.holistics.io/grant_orchard/32/1246_2.png) [@Grant\_Orchard](https://community.holistics.io/u/Grant_Orchard)\
**Post date:** [November 22, 2023, 10:09am UTC](https://community.holistics.io/t/adding-of-total-column/1740/1 "2023-11-22T10:09:40Z")

</div>

hi, Is it possible to create a column with the % of overall total. eg. showcase ‘city’ and ‘active users’ and then have a column with the % overall total?

---

<div class="post-metadata">

**Author:** ![Duy\_Phan](https://community.holistics.io/user_avatar/community.holistics.io/duy_phan/32/1142_2.png) [@Duy\_Phan](https://community.holistics.io/u/Duy_Phan)\
**Post date:** [November 22, 2023, 10:26am UTC](https://community.holistics.io/t/adding-of-total-column/1740/2 "2023-11-22T10:26:20Z")

</div>

Hi Grant,

Is this what you’re looking for: [Calculate Percent of Total | Holistics Docs](https://docs.holistics.io/guides/calculate-percent-of-total#using-pivot-table)?

---

<div class="post-metadata">

**Author:** ![Grant\_Orchard](https://community.holistics.io/user_avatar/community.holistics.io/grant_orchard/32/1246_2.png) [@Grant\_Orchard](https://community.holistics.io/u/Grant_Orchard)\
**Post date:** [November 22, 2023, 10:52am UTC](https://community.holistics.io/t/adding-of-total-column/1740/3 "2023-11-22T10:52:17Z")

</div>

I did see this, but I was hoping for a simpler solution - Will a look at the work around.

I did see this page ([`aql: % of total`](https://docs.holistics.io/as-code/guides/aql-percent-of-total)) was hoping this would work, but per usual need to work on a work around.

---

<div class="post-metadata">

**Author:** ![Khai\_To](https://community.holistics.io/user_avatar/community.holistics.io/khai_to/32/128_2.png) [@Khai\_To](https://community.holistics.io/u/Khai_To)\
**Post date:** [November 27, 2023, 8:00am UTC](https://community.holistics.io/t/adding-of-total-column/1740/4 "2023-11-27T08:00:40Z")

</div>

Hi @Grant_Orchard,

Since AQL is still in its beta mode so I have not enabled it for everyone.  
However, I have just enabled AQL for your account so now you can feel free to follow our docs ([`aql: % of total`](https://docs.holistics.io/as-code/guides/aql-percent-of-total)) to create `% Over Total`.

Do note that AQL is enabled on the Dataset level so you would need to incorporate a version flag in your dataset definition as: ` __engine__ : 'aql'` .

Please follow our document here [Enabling AQL | Holistics Docs](https://docs.holistics.io/as-code/amql/enabling-aql) for more details
