Calculated Expression | New Property to Class

Calculated Expression | New Property to Class

Deepak.SinghZYRM6
Participant Participant
681 Views
2 Replies
Message 1 of 3

Calculated Expression | New Property to Class

Deepak.SinghZYRM6
Participant
Participant

Hello,

In 2023, we can add property type as Calculated and concatenate multiple properties to it. My question is, can we implement IFF statement to it?

Example: IFF((Description=''),Supplier|| ''|| Manufacturer, Supplier||''||Manufacturer||"|Description)

 

I have added the expression to field and it has accepted it but expected result not seen when component placed.

 

Any insights on this it would highly appreciated.

 

0 Likes
682 Views
2 Replies
Replies (2)
Message 2 of 3

h_eger
Mentor
Mentor

Dear @Deepak.SinghZYRM6 ,

 

The idea itself is very good, but unfortunately the functions for it are not included:
as a function is available:
Substring
ToUpper
ToLower
ToString
ToNumber

 

as Opperation Symbols is available:
|| Concatenate
( Left Bracket
) Right Bracket
+ Add
- Substruct
* Multiply
/ Divide

 

unfortunately no IFF included.

03-10-_2022_13-03-13.jpg

-

If my reply was helpful, please give a "Kudo" or click the "Accept as Solution" button below (or both).

Hartmut Eger
Senior Engineer
Anlagenplanung + Elektotechnik
XING | LinkedIn

EESignature



0 Likes
Message 3 of 3

Deepak.SinghZYRM6
Participant
Participant

Hello Eger
Thanks for the update on this thread.

It would be great to have this enhancement to support IIF as this is very common requirement for a tag where we have more than one or two properties as Null.

Thank you so much for providing rest of the details on this implementation.

 

Regards | Deepak Singh

0 Likes