I think the script below will do what you want. Just copy it to your script window, select all lines and execute by pressing Enter. A column will be created for the integral curve.
integrate col(2); // integrate column 2 # integral values go to the hidden dataset _integ_area, final area to integ.area wo -a 1; // add a column col(3)=_integ_area; // save integral curve to column 3 get col(3) -e npt; // how many points in integral? loop (i,1,npt) { # find 10% point if(col(3)[i]>integ.area/10) break; }; type "area: $(integ.area)"; type "10% point: $(i)"; type "X[$(i)]: $(col(1)[i])"; del -as; // delete _integ_area dataset