cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
UserID16644
Level V

Update column value from another table using wildcard

Hi all, is it possible to update a column from values coming from another table using wildcard as key? I have this example table but doesn't know how to use wildcards properly in updating tables. Also, I am still using JMP 15 version

 

Table A

Id_AModelStatusStart DateEnd Date
23-ABC-AAADone2023-10-012023-10-05
23-ABD-BBBDone2023-10-022023-10-07
23-ACD-BBCOngoing2023-10-032023-10-09

 

Table B (file to be updated, start/end date initially has no values, but when their IDs match using wildcard, it will then be updated)

Id_BModelStatusStart DateEnd Date
23-ABCADone2023-10-012023-10-05
23-ABDBOngoing2023-10-022023-10-07
24-AAACDone  
2 REPLIES 2
txnelson
Super User

Re: Update column value from another table using wildcard

Given the example case you displayed, I do not believe there is a "Wildcard" capability in JMP.  However, you can easily create a new column in table A that has as its value, the first 6 characters of column ID_A.  Then that column can be used to match with the ID_B column in table B.

Jim
jthi
Super User

Re: Update column value from another table using wildcard

Depends a bit on what type of wildcard you need what would be easiest. In your example, I would create Id_B column to Table A by dropping the last part of Id_A.

-Jarmo