It is just the other way round:
When you calculate the standard deviation and uses the whole population then divide by N
When using a data sample (part of the whole data) divide by (N-1)
The statistical error (not using all data) tends to reduce the calculated value of the SD, to compensate for this use (N-1) instead of N.
If N is small the statistical error will be very large…!!!
The difference is not at the last step but already begins when you calculate the mean…(you must calculate the mean before you can calculate the SD)
The standard deviation in PRT under Indicators uses the N- deviation which is actually wrong because you always use a data sample (of the whole population) so you must divide by (N-1).