# Unique value of items in lookup table

**URL:** <https://forum.dimagi.com/t/unique-value-of-items-in-lookup-table/10966>\
**Category:** Users\
**Created:** [July 12, 2024, 9:44am UTC](https://forum.dimagi.com/t/unique-value-of-items-in-lookup-table/10966 "2024-07-12T09:44:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dester229](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/d/bcef8e/32.png) [@dester229](https://forum.dimagi.com/u/dester229)\
**Post date:** [July 12, 2024, 9:44am UTC](https://forum.dimagi.com/t/unique-value-of-items-in-lookup-table/10966/1 "2024-07-12T09:44:20Z")

</div>

Hello all, please, i want to get some cases properties into lookup table but i want to have distinct values of items. how to do it .  
it tried the code below but it doesn't work.

join("", distinct-values(instance('casedb')/casedb/case[@case\_type = 'beneficiaire'][@status = 'open']/Beneficiaire\_Raison\_Social))

"Beneficiaire\_raison\_Social" is the case property i want to fetch into the lookup table, it can be the same for many cases so i want to have distinct value of each.

thanks in advance
