@Faizan when starting with JMP, it May also be an Option to look at data first (Gaphbuilder ..) and then start Y by X e.g. with local data filter … or heat map to understand what the data contains before running the full modeling machine. I can not really imagine how your full data set Looks like, you sent only a small subset I think. JMP offers plenty Methods to understand data.
As @Mark_Bailey stated, the fit model platform will be your way to perform the Task. I put some scripts into your data table that you can see how it May look like.
What do you mean by reference? Is this a certain Setting (=Level) of your categorical variable A+B?
In the fit x by y platform you can see the answer Y depending on the Settings of A or B, Controlling with the Local data filter what part of data you are Looking at. You can mark the rows containing the reference Settings, and Show it up in the Analysis, is that what you are Looking for?
Georg