# Specifying data type for table value with multiple data types?

**URL:** <https://forums.buildingsmart.org/t/specifying-data-type-for-table-value-with-multiple-data-types/5740>\
**Category:** IDS\
**Tags:** ids\
**Created:** [November 5, 2024, 12:46pm UTC](https://forums.buildingsmart.org/t/specifying-data-type-for-table-value-with-multiple-data-types/5740 "2024-11-05T12:46:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fmohus](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/fmohus/32/106_2.png) [@fmohus](https://forums.buildingsmart.org/u/fmohus)\
**Post date:** [November 5, 2024, 12:46pm UTC](https://forums.buildingsmart.org/t/specifying-data-type-for-table-value-with-multiple-data-types/5740/1 "2024-11-05T12:46:46Z")

</div>

I have a case with requirements for **Pset\_SoundGeneration/SoundCurve** , which is an _IfcPropertyTableValue_. The table consists of data for frequencies and sound pressures - hence two datatypes ( **IfcFrequencyMeasure** and **IfcSoundPowerMeasure**. How can I specify the two datatypes of the table property in the IDS syntax?

 ![PSetSoundGenereation_SoundCurve_ISSUE](https://us1.discourse-cdn.com/flex016/uploads/buildingsmart1/original/2X/7/78a19eec0b7f873b5d4f9b34da00fff6058486a5.png)

---

<div class="post-metadata">

**Author:** ![artur\_tomczak](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/artur_tomczak/32/2632_2.png) [@artur\_tomczak](https://forums.buildingsmart.org/u/artur_tomczak)\
**Post date:** [November 5, 2024, 1:53pm UTC](https://forums.buildingsmart.org/t/specifying-data-type-for-table-value-with-multiple-data-types/5740/2 "2024-11-05T13:53:35Z")

</div>

Hi Frode, the requirement should pass if any of the columns contain the requested data type. So, to achieve what you need, you can have two requirements, one with _IfcFrequencyMeasure_ and the other with _IfcSoundPowerMausure_ and both should pass.

This isn’t covered well by the documentation yet, but is demonstrated by those two test cases:  
[pass-any\_matching\_value\_in\_a\_table\_property\_will\_pass\_1\_3.IDS](https://github.com/buildingSMART/IDS/blob/development/Documentation/ImplementersDocumentation/TestCases/property/pass-any_matching_value_in_a_table_property_will_pass_1_3.ids)  
[pass-any\_matching\_value\_in\_a\_table\_property\_will\_pass\_1\_3.IFC](https://github.com/buildingSMART/IDS/blob/development/Documentation/ImplementersDocumentation/TestCases/property/pass-any_matching_value_in_a_table_property_will_pass_1_3.ifc)  
and  
[pass-any\_matching\_value\_in\_a\_table\_property\_will\_pass\_2\_3.IDS](https://github.com/buildingSMART/IDS/blob/development/Documentation/ImplementersDocumentation/TestCases/property/pass-any_matching_value_in_a_table_property_will_pass_2_3.ids)  
[pass-any\_matching\_value\_in\_a\_table\_property\_will\_pass\_2\_3.IFC](https://github.com/buildingSMART/IDS/blob/development/Documentation/ImplementersDocumentation/TestCases/property/pass-any_matching_value_in_a_table_property_will_pass_2_3.ifc)

I see the IDS Audit tool reports an error that there are no allowed data types for SoundCurve, but I believe it’s a mistake. Raised it already here: [IFCPROPERTYTABLEVALUE data type · Issue #47 · buildingSMART/IDS-Audit-tool · GitHub](https://github.com/buildingSMART/IDS-Audit-tool/issues/47).

---

<div class="post-metadata">

**Author:** ![fmohus](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/fmohus/32/106_2.png) [@fmohus](https://forums.buildingsmart.org/u/fmohus)\
**Post date:** [November 5, 2024, 2:56pm UTC](https://forums.buildingsmart.org/t/specifying-data-type-for-table-value-with-multiple-data-types/5740/3 "2024-11-05T14:56:04Z")

</div>

Thank you for swift and useful reply Artur! 🙂
