cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
HubP-SDe
Level I

GroupColumns raising exception in v18

Dear Community,

 

Since I moved to v18, a function call that previously worked fine, now raises an exception (in Debug mode only, otherwise, just skipped silently):

  • This worked in v17:
colList = dt2 << Get Column Names( String );
dt2 << GroupColumns( colList[1] :: :Time At Exit );
  • Raises this exception in v18
    HubPSDe_0-1742225867279.png
  • FYI, this explicit workaround works:
    dt2 << GroupColumns( :Time At Entrance Queue :: :Time At Exit );

Can anyone tell why colList[1] does not work anymore in this context?

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: GroupColumns raising exception in v18

My guess is that JMP18 doesn't like you mixing string with the other format (that format is overall very weird). Personally I would just use list of columns or name of column (as a string) and number. https://www.jmp.com/support/help/en/18.1/#page/jmp/group-columns.shtml#ww805157

 

 

-Jarmo

View solution in original post

1 REPLY 1
jthi
Super User

Re: GroupColumns raising exception in v18

My guess is that JMP18 doesn't like you mixing string with the other format (that format is overall very weird). Personally I would just use list of columns or name of column (as a string) and number. https://www.jmp.com/support/help/en/18.1/#page/jmp/group-columns.shtml#ww805157

 

 

-Jarmo

Recommended Articles