Select to view content in your preferred language

Calculation not working in browser

353
1
04-05-2024 01:01 PM
RHammers
Occasional Contributor

Hi all! I have a calculation that doesn't seem to work fully in a browser. It works in Connect, but in a browser it will not return a date if ${resolved_date} is null.

int(coalesce(decimal-date-time(${resolved_date}), decimal-date-time(today()))
- decimal-date-time(${received_date})) div(1)

Any insight as to why? Thanks!

Edit: Nevermind! I just realized that my approach wouldn't work anyways, because the intent is to use the info in a dashboard to display how long cases have been open.

0 Kudos
1 Reply
JenniferAcunto
Esri Regular Contributor

If you want to display how long cases have been open in a Dashboard, then you would use Arcade in the dashboard to do so. You might want to check out Dashboards That Pop: Dynamic Date 'Alerts' to see how that works. 

- Jen
0 Kudos