# Pie chart help needed

**URL:** <https://forum.bubble.io/t/pie-chart-help-needed/243305>\
**Category:** Plugins\
**Created:** [January 25, 2023, 8:00am UTC](https://forum.bubble.io/t/pie-chart-help-needed/243305 "2023-01-25T08:00:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![damien1](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/damien1/32/87118_2.png) [@damien1](https://forum.bubble.io/u/damien1)\
**Post date:** [January 25, 2023, 8:00am UTC](https://forum.bubble.io/t/pie-chart-help-needed/243305/1 "2023-01-25T08:00:29Z")

</div>

Hi all. I’m using the Bubble chart plug in and am struggling with what I think is something really simple!

I have four fields, all numerical. How do I show them on a pie chart as a percentage / proportion of their sum? So each field has their own segment of the pie?

Pretty sure I’m missing something obvious, but I can’t seem to work it out? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![damien1](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/damien1/32/87118_2.png) [@damien1](https://forum.bubble.io/u/damien1)\
**Post date:** [January 28, 2023, 3:11pm UTC](https://forum.bubble.io/t/pie-chart-help-needed/243305/2 "2023-01-28T15:11:02Z")

</div>

Can anyone help?

---

<div class="post-metadata">

**Author:** ![adamhholmes](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/adamhholmes/32/100510_2.png) [@adamhholmes](https://forum.bubble.io/u/adamhholmes)\
**Post date:** [January 28, 2023, 3:14pm UTC](https://forum.bubble.io/t/pie-chart-help-needed/243305/3 "2023-01-28T15:14:49Z")

</div>

The Bubble chart element can’t compare different fields from a single database entry… it can only compare the same field from different database entries.

So, if you want to use the Bubble pie chart, you’ll have to create a new datatype for the chart data, and then use that as the chart datasource.

---

<div class="post-metadata">

**Author:** ![damien1](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/damien1/32/87118_2.png) [@damien1](https://forum.bubble.io/u/damien1)\
**Post date:** [February 3, 2023, 5:33pm UTC](https://forum.bubble.io/t/pie-chart-help-needed/243305/4 "2023-02-03T17:33:27Z")

</div>

@adamhholmes Thanks Adam.
