apologies maybe I wasn't clear in the question.
I change the question to the following:
I have two dataset dataset A and dataset B , dataset A has 23 records and dataset B has 200 records, I want to plot two instagrams for both datasets in the same plot area to compare them , additionally I want to get the records in dataset B that are 2 standard deviation away from the mean of the dataset A.
Can anyone help me with this. I searched on how to get mean and standard deviation as a start and then creating a calculated field to compare the records in dataset B with the mean of dataset A but I failed.