Problems with IFS based Expressions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2024-05-20
02:26 AM
- last edited on
2024-05-23
04:08 PM
by
Laszlo Nagy
I'm getting unpredictable results using the IF and IFS functions. No matter how I write the expressions there are always some objects that return an 'undefined' output. What you'll notice in the schedule above is that 5 objects have the 'N/A' value in the first column, but only one of them returns the correct result of 0.00. The others all say <Undefined>. If I change the value int eh first column to either of the other 2 options (UNIT of LENGTH) then I get the right result...no more 'undefined'. Any Idea what's going on here?
I've also tried writing these expressions many different ways. I've tried writing them all into one IF expression, but that would only give me one correct result, the other 2 inputs would result in 'undefined', and it changed depending on what order I put them in.
Operating system used: Mac Apple Silicon 14.5 Sonoma
Archicad 27 USA (full), Macbook Pro (16-inch 2023, M3 MAX, 128 GB RAM)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2024-05-23 04:12 PM
Try to consolidate those three separate lines of IFS expressions into a single IFS expression. You just use commas to separate the different cases.
See if that works.
The purpose is to have a single expression that covers all possible values so a value is always assigned to the Property.
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2024-05-23 07:10 PM
Similar issue solved in this topic:
https://community.graphisoft.com/t5/Project-data-BIM/Expressions-with-2-logical-conditions/td-p/6044...
BIM Consultant | Project Solutions and Services | Panama
AC17-28 SPA+INT | Windows 11 | MSI CreatorPro M16 HX C14VJG, 64GB, Nvidia Quadro RTX 2000 Ada Generation