PI Vision - Sum Range value with Total Value

In PI Vision, I'm trying to add two values, one that is the Range Value and another that is the Total Value, for the same date range.

I was trying to get the Range Value in the 'Calculations' using the function Range('tag', %startdate%,%enddate%) and then do the same thing for Total. How can i do the Range and Total functions by using the start date and end date that the user selected in the attached picture input?

 


image.png.png