# Trying to make a canvas workpad

**URL:** <https://discuss.elastic.co/t/trying-to-make-a-canvas-workpad/321219>\
**Category:** Kibana\
**Tags:** canvas\
**Created:** [December 14, 2022, 1:25pm UTC](https://discuss.elastic.co/t/trying-to-make-a-canvas-workpad/321219 "2022-12-14T13:25:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bit1290](https://avatars.discourse-cdn.com/v4/letter/b/df705f/32.png) [@bit1290](https://discuss.elastic.co/u/bit1290)\
**Post date:** [December 14, 2022, 1:25pm UTC](https://discuss.elastic.co/t/trying-to-make-a-canvas-workpad/321219/1 "2022-12-14T13:25:29Z")

</div>

Hello,

I have this configuration:

 ![imagem](https://us1.discourse-cdn.com/elastic/original/3X/c/9/c9d80c76492023f4d0ffb4be9f9f2f12fa977789.png)

with this preview data:

 ![imagem](https://us1.discourse-cdn.com/elastic/original/3X/c/5/c538de10134524009570e5add458b07d163315e5.png)

and the display has this configuration with the following error:

![imagem](https://us1.discourse-cdn.com/elastic/original/3X/2/5/25daf82af12c747a68cac5d0b1763fb4bc6cef5d.png)

Can someone help me understand why I'm having this error?

Thank you very much

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [December 27, 2022, 3:42pm UTC](https://discuss.elastic.co/t/trying-to-make-a-canvas-workpad/321219/2 "2022-12-27T15:42:59Z")

</div>

You are trying to add a wheel so you want to show a percentage value. Can you open the Expression Editor and add a `max` property to the `progress` function?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/5/851db0bac911bde03d16709835176dcfcb58d249.png)

I think the issue you are seeing is not directly related with the problem, you just need to add a max value so Canvas knows which percentage to render (a count of timestamps in your screenshot).

Sharing the code here in case you want to test against the logs sample dataset

```auto
kibana
| selectFilter
| esdocs index="kibana_sample_data_logs" fields="timestamp, ip" sort="timestamp, DESC"
| math "size(ip)"
| progress shape="wheel" label={formatnumber "0"} max=10000
  font={font size=24 family="'Open Sans', Helvetica, Arial, sans-serif" color="#000000" align="center"}
| render

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 24, 2023, 3:43pm UTC](https://discuss.elastic.co/t/trying-to-make-a-canvas-workpad/321219/3 "2023-01-24T15:43:15Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
