Skip to main content
1-Visitor
July 18, 2017
Question

How to get distinct values of properties?

  • July 18, 2017
  • 1 reply
  • 5278 views

Hi,

I have a thing whose property values are repeated. How to get distinct values from this property values? some thing like sql query SELECT distinct(propertyname) from table.

Thanks,

Azim

1 reply

5-Regular Member
July 18, 2017

Hi Azim are you trying to get distinct value from Infotable? There's an existing DISTINCT script available something like this

var params = {

t: undefined /* INFOTABLE */,

columns: undefined /* STRING */

};

// result: INFOTABLE

var result = Resources["InfoTableFunctions"].Distinct(params);

ahawaldar1-VisitorAuthor
1-Visitor
July 18, 2017

Hello Sushant,

Is there any service which can return me this distinct values?

Thanks,

Azim

5-Regular Member
July 18, 2017

Are you looking for Infotable?