Welcome to the JMP Community.
Jarmo's response correctly points you to the JMP Platform that will solve your specific question. In addition to pursuing that direction, I also encourage you to take the time to explore JMP. The tools for new JMP users to learn JMP are located under the Help pull down menu.
If you are using JMP 18, the "Learn JMP" selection provides "The one place to access all JMP learning materials".
Earlier versions of JMP have selections for the Discovering JMP document and Tutorials, along with a selection that will open the complete JMP Documentation Library.
And of course, the JMP Discussion Community is there to provide additional help when needed.
Jim