# Custom Dimensions as Metrics (i.e. Average)

**URL:** <https://community.piwik.pro/t/custom-dimensions-as-metrics-i-e-average/1774>\
**Category:** Reports and working with data\
**Created:** [March 10, 2023, 10:54am UTC](https://community.piwik.pro/t/custom-dimensions-as-metrics-i-e-average/1774 "2023-03-10T10:54:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jack](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@Jack](https://community.piwik.pro/u/Jack)\
**Post date:** [March 10, 2023, 10:54am UTC](https://community.piwik.pro/t/custom-dimensions-as-metrics-i-e-average/1774/1 "2023-03-10T10:54:25Z")

</div>

Hi all,

Is there a way to convert a custom dimensions in a metric using a different trasformation than “Unique Count of”? For example “Average”?

For istance, I have a custom dimension which contains the price (i.e. 100, 200, 300)

product 1 = 100  
product 2 = 200  
product 3 = 300

How can I have a metric that is the average price (200)?

Thank you very much!

---

<div class="post-metadata">

**Author:** ![Jarek](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/jarek/32/4408_2.png) [@Jarek](https://community.piwik.pro/u/Jarek)\
**Post date:** [March 10, 2023, 1:22pm UTC](https://community.piwik.pro/t/custom-dimensions-as-metrics-i-e-average/1774/2 "2023-03-10T13:22:34Z")

</div>

Hi @Jack, welcome to the community!  
Unfortunately, it’s not possible at the moment as custom dimensions are stored as a “string” type of data. We would need to add a numerical type of custom dimensions, which is not on the roadmap currently.
