BookmarkSubscribeSubscribe to RSS Feed

Placing a specified column's values into a list

galactus3000

Community Trekker

Joined:

Nov 9, 2016

I would like to know how to place column values from a specifed column into a list.

 

Imaging something like

 

listofvaluesincolumnrats = List( Column Values( dt, :rats ) );

Frustrating because I feel this should be elementary but I cannot seem to find any documentation on how to do this with create a loop.

 

Thanks in Advance

-- Galactus3000

2 REPLIES
galactus3000

Community Trekker

Joined:

Nov 9, 2016

never mind ... I think I figured it out:

listofvaluesincolumnrates = dt:rats << get values;

 

 

aronwilson

Community Trekker

Joined:

Jan 27, 2017

Did you figure out a way to get the values where it matches only some categories in the list? for example, get values for white rats vs. get values for brown rats?

 

Aron