# Web api tile donut - disk space

**URL:** <https://community.squaredup.com/t/web-api-tile-donut-disk-space/1370>\
**Category:** Dashboard Server\
**Tags:** dashboards\
**Created:** [April 13, 2021, 10:51am UTC](https://community.squaredup.com/t/web-api-tile-donut-disk-space/1370 "2021-04-13T10:51:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cragdoo](https://community.squaredup.com/user_avatar/community.squaredup.com/cragdoo/32/872_2.png) [@Cragdoo](https://community.squaredup.com/u/Cragdoo)\
**Post date:** [April 13, 2021, 10:51am UTC](https://community.squaredup.com/t/web-api-tile-donut-disk-space/1370/1 "2021-04-13T10:51:08Z")

</div>

Has anyone used the Web api tile (donut) for displaying something like diskspace?

I have my API output

> ```
> {
> "data": [
> {
> "type": "WinLocal",
> "id": "ec959a1e-5253-4525-b644-15ab66e3c3bd",
> "name": "CD-LAB-REPO1",
> "description": "Created by CD-LAB-VEEAM1\\Administrator at 16/02/2021 14:12.",
> "hostId": "6745a759-2205-4cd2-b172-8ec8f7e60ef8",
> "hostName": "CD-LAB-VEEAM1",
> "path": "R:\\Backups_Primary",
> "capacityGB": 1862.9,
> "freeGB": 1097,
> "usedSpaceGB": 0
> }
> ],
> "pagination": {
> "total": 1,
> "count": 1,
> "skip": 0,
> "limit": 200
> }
> }
> 
> ```

And would like to show both freeGB and usedSpaceGB in one donut chart, but when I select multiple metrics to extract I get the error message

> _ **A value column from your result set has not been selected** _

.

Anyone have an pointers? Someone must have used this for similar in the past

---

<div class="post-metadata">

**Author:** ![Badger1](https://community.squaredup.com/user_avatar/community.squaredup.com/badger1/32/845_2.png) [@Badger1](https://community.squaredup.com/u/Badger1)\
**Post date:** [April 13, 2021, 12:56pm UTC](https://community.squaredup.com/t/web-api-tile-donut-disk-space/1370/2 "2021-04-13T12:56:01Z")

</div>

Hi,

Was able to build this fairly easily with the json you provided.

 ![image](https://community-cdn.squaredup.com/original/1X/d2c3b583b096b1fe3b0ab4738a664a8ea237afef.png)

Is this what you’re looking for? A bit unsure how this’ll be helpful considering that it’ll sum the values at the center (which is obviously more than it’s capacity?). Maybe you have something in mind?

As for the error you’re getting I think you missed giving the label names to the metrics.

---

<div class="post-metadata">

**Author:** ![Cragdoo](https://community.squaredup.com/user_avatar/community.squaredup.com/cragdoo/32/872_2.png) [@Cragdoo](https://community.squaredup.com/u/Cragdoo)\
**Post date:** [April 13, 2021, 1:57pm UTC](https://community.squaredup.com/t/web-api-tile-donut-disk-space/1370/3 "2021-04-13T13:57:32Z")

</div>

Thanks for that, knew I couldn’t see the wood for the trees …got it working now.
