cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

how to get count of occurrences using Infotable API

AP_10343008
12-Amethyst

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?

1 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?

 

 

Top Tags