[Tutorial] Script Report / Chart

I would suggest instead give one extra column for datatype button and the by formatter open the link.

This might help you