Facing issue while updating multiple variables using dynamic link

We have one pie chart and on click of slice we show data in grid below.
we want to reset startindex of paginginfo to 1 when we click on slice every time using dynamicLink
we have used dynamicLink to get selected value on pie chart, but we are facing issue while updating multiple variables using dynamic link.

How can we achieve this ?

part of code is attached here
...

testCode1.txt

OriginalPostID-117112

OriginalPostID-117112

  Discussion posts and replies are publicly visible