Date calculation display in CX Dashboard | XM Community
Skip to main content

Hi Community,

 

i have a date picker question in a survey that i have build (see reference at the bottom of the page).

i connected this survey as a source for a CX dashboard.

now, i want to create a date calculation based on (date chosen in the question )-(live date) and to show the number of days that are the difference between two dates in a record table widget in the dashboard.

is this possible and if so, how can i do that.

 

Thanks in advance,

Dar

 

Date picker question:

 

don’t think, there is a possibility to do this cal. In dashboard, you can use custom metrics for specific calculation. But using live date in the custom metric, I don’t think that’s possible.


Hi.

I don't think it's possible to perform this calculation from the dashboard, not even using custom metrics. What I believe you can do is add an extra question that contains a JavaScript to perform the date difference calculation.

I've seen some posts about this topic when I was searching to calculate the current age based on the birthdate, but I'm not sure if any of them would help you. I recommend searching for a post like this for better guidance.

Regards


Leave a Reply