How to realize the hype similar to the picture when data-driven

image
In data-driven, I want to introduce variables into the xpath of the element. It is easy to implement in the encoder. I would like to ask if the studio does the same? Is there any difference