ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

how to get count of occurrences using Infotable API

AP_10343008
16-Pearl

how to get count of occurrences using Infotable API

While taking distinct for any column in infotable, is it possible to get count of occurrences for each value along with distinct output?

ACCEPTED SOLUTION

Accepted Solutions

You can use aggrgate for such use case, 

Example:

 

Bikash_Panda_0-1706688420514.png

 

View solution in original post

2 REPLIES 2

You can use aggrgate for such use case, 

Example:

 

Bikash_Panda_0-1706688420514.png

 

Iam passing all the columns of datashape to aggregate service using for loop.

After aggregation, i couldnt get value from output infotable if i use

let value = infotable[i]."COUNT_"+FielName[i];

how to get these values?

 

 

Announcements




Top Tags