> For the complete documentation index, see [llms.txt](https://docs.dataexport.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dataexport.io/kb/reports/custom-fields/calculated-fields/add-metafields-to-your-report.md).

# Add Metafields to your report

How to **add Metafields** to your reports?

1. Add **Order Id**, **Product Id**, or **Customer Id** fields based on your requirement
2. **Go** to Columns>**Add** Custom Columns>**Calculated Columns**>**Add** Calculated field name & **Enter the function**
3. For adding order meta field use&#x20;

```
rp_meta_fields_by_key([Order ID],test_1)
```

{% hint style="info" %}
**NOTE:** Change the 'test\_1' key to your assigned key in the shop
{% endhint %}

Change the order id to product id or customer id if you would like to add product meta fields or customer meta fields.&#x20;

Watch the video(below) to see it in live:

{% embed url="<https://www.youtube.com/watch?v=pqKOMO_AhYs>" %}
