You can create a Mask column that includes only the first points. Then use a Number from column variable to calculate the average.
Here is a simple example where the first 10 points are the baseline. Currently the Mask column needs a column with the row numbers for this to work. You can add an expression column to create as shown here.
Add the Mask column using the Other menu.
Once the Mask is populated. The Number from Column variable is added using the Other menu in the variables section of the user interface.
Here the Mask column is added along with the variable. Also, the data is normalized using an expression column. We also plotted the normalized data so you can see the result and Lines command draws the y-line at zero.
Does this help?