Hey Losanters,
I am using a device list in an overview dashboard that displays three things.
- Device name
- Time in service [days]
- Some attribute value
Everything works as expected when i view the dashboard directly. But, when i view the same dashboard through an experience page, the ‘time in service‘ calculation doesn’t work, it shows 0.
The calculation i am using is:
{{floor (divide (subtract (currentDateTime “x”) (formatDate device.tags.InstallDate.[0] “x”)) 86400000)}}
Interestingly, if i add the InstallDate itself as a column in the device list, the correct ‘time in service‘ is shown.
So my question is: is this a bug, or expected behaviour?