cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Register to attend Discovery Summit 2025 Online: Early Users Edition, Sept. 24-25.
  • New JMP features coming to desktops everywhere this September. Sign up to learn more at jmp.com/launch.
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