Calculated values in Schedules can't catch "null" yes/no parameters?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Since we got the ability to use calculated values in labels I developed a system for calculating occupancy loads. To that end, I wanted to create a schedule that users could look at to verify what they're seeing in the plans without switching back and forth. Here's the formula in our tag:
if(not(ManualOccLoad), roundup(Area / OccFactor / 1 SF), OccupantLoad)
Where:
ManualOccLoad is a shared, project parameter (this is for rooms) of the Yes/No type (why I won't say Boolean in a moment)
OccFactor is a shared, project parameter of the integer type
OccupantLoad is a shared, project parameter of the integer type
Area is the default Area parameter.
The idea is if the manual checkbox isn't checked, just calculate the value from Occupancy Load and square footage. If it is, use the manual entry as is.
But that same formula does NOT work in a calculated value in a schedule. For all project parameters of the "yes/no" type they are set to a "blank" state. The formula in a label is fine with that. In a schedule it doesn't capture the "blank" state.
Any ideas on how to work around this? Is it something that has been fixed since 2019? Is there a reason why we can't filter for that "blank" state or use a conditional?