Display tag value by Clicking on Multistate Button In perspective

Hi Team,

Here I have saved the live tag for DB for 15 mins.
By clicking on multi state button , i.e. 10 mins, it should show 10 mins of data of order good parts.
how can I bind using tag/query/expression

How can I take it better.