Invalid Column Value On Dashboard
I am trying to create a widget that displays a counts of days since last incident. Since some locations have not yet reported an incident I am getting this error.
For the sake of making a clean presentation is there something I can do to alter my formula to display a placeholder? I would settle for a "0" but a text like "N/A" would be nice.
=TODAY() - MAX(COLLECT({Incident Date.}, {Region}, "Warehouse", {GB Lost Time}, "Yes"))
Answers
-
Hi @shiggins990,
Try this formula out:
=IFERROR(TODAY() - MAX(COLLECT({Incident Date.}, {Region}, "Warehouse", {GB Lost Time}, "Yes")), "N/A")
Essentially the formula will return "N/A" when your formula results in an error. You can switch the value_if_error to "0" too if that floats your boat!
Cheers,
Ric
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.9K Get Help
- 379 Global Discussions
- 209 Industry Talk
- 441 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 300 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!