# How to create a data element with this format (SSD\_S21-102)

**URL:** <https://community.dhis2.org/t/how-to-create-a-data-element-with-this-format-ssd-s21-102/41916>\
**Category:** Support - Assistance technique\
**Created:** [10 February 2021 15:01 UTC](https://community.dhis2.org/t/how-to-create-a-data-element-with-this-format-ssd-s21-102/41916 "2021-02-10T15:01:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![SDKAAA](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/sdkaaa/32/43219_2.png) [@SDKAAA](https://community.dhis2.org/u/SDKAAA)\
**Post date:** [11 February 2021 07:18 UTC](https://community.dhis2.org/t/how-to-create-a-data-element-with-this-format-ssd-s21-102/41916/2 "2021-02-11T07:18:50Z")

</div>

Hello James,  
If I understood correctly you wish to have the 1002 part automatically increase,correct?  
What about the other parts? SSD-S21- are they fixed for all or also need to change based on some criteria (e.g. the org unit?)  
Here’s another community post that talks about it:

> [@How to create entity attribute with generated value	based on others elements](https://community.dhis2.org/t/how-to-create-entity-attribute-with-generated-value-based-on-others-elements/5383):
>
> Hi everyone, I am using tracker and I want to create a entity attribute with generated value that depending on other attributes values like : code of the orgunit assigned to program value of the field sex followed by random number of 4 digit. Each of them separated with “-”. Do some one have an idea on how to achieve this? Thanks, 
> 
> > **···**
> >
> > Gérard Bisama Tel:+243810890810

Let me know if you need further support.  
All the best,  
Bernard

---

_[View the full topic](https://community.dhis2.org/t/how-to-create-a-data-element-with-this-format-ssd-s21-102/41916)._
