Forum Discussion

saranp780's avatar
saranp780
Helper III
5 years ago

How to distinct count the row value?

My objective is, I want to verify some asset from my user. So I have to run some script that contains the hardware information such as below.

 

EmIDNameLastNameAssetCPUGPUMonitorS/w
B3480EligahJackson34001Intel Core i5-9400Intel UHD630LG 27"1
B3480EligahJackson34001Intel Core i5-9400Intel UHD630LG 27"2
B3480EligahJackson34001Intel Core i5-9400Intel UHD630LG 27"3
B3480EligahJackson34001Intel Core i5-9400Intel UHD630LG 27"4
B3480EligahJackson34001Intel Core i5-9400Intel UHD630LG 27"5
B3480EligahJackson34001Intel Core i5-9400Intel UHD630LG 27"6
B3480EligahJackson34001Intel Core i5-9400Intel UHD630LG 27"7
B3480EligahJackson34001Intel Core i5-9400Intel UHD630LG 27"8
B3480EligahJackson34001Intel Core i5-9400Intel UHD630LG 27"9
B3480EligahJackson34001Intel Core i5-9400Intel UHD630LG 27"10
B3480EligahJackson34001Intel Core i5-9400Intel UHD630LG 27"11
A3350TomasJohnson35001Intel Core i5-9400Intel UHD630HP 19"1
A3351TomasJohnson35001Intel Core i5-9400Intel UHD630HP 19"2
A3352TomasJohnson35001Intel Core i5-9400Intel UHD630HP 19"3
A3353TomasJohnson35001Intel Core i5-9400Intel UHD630HP 19"4
A3354TomasJohnson35001Intel Core i5-9400Intel UHD630HP 19"5
A3355TomasJohnson35001Intel Core i5-9400Intel UHD630HP 19"6
A3356TomasJohnson35001Intel Core i5-9400Intel UHD630HP 19"7
A3357TomasJohnson35001Intel Core i5-9400Intel UHD630HP 19"8
B3480EligahJackson34001Intel Core i5-9400nVidia Geforce GTX  1650LG 27"1
B3480EligahJackson34001Intel Core i5-9400nVidia Geforce GTX  1650LG 27"2
B3480EligahJackson34001Intel Core i5-9400nVidia Geforce GTX  1650LG 27"3
B3480EligahJackson34001Intel Core i5-9400nVidia Geforce GTX  1650LG 27"4
B3480EligahJackson34001Intel Core i5-9400nVidia Geforce GTX  1650LG 27"5
B3480EligahJackson34001Intel Core i5-9400nVidia Geforce GTX  1650LG 27"6
B3480EligahJackson34001Intel Core i5-9400nVidia Geforce GTX  1650LG 27"7
B3480EligahJackson34001Intel Core i5-9400nVidia Geforce GTX  1650LG 27"8
B3480EligahJackson34001Intel Core i5-9400nVidia Geforce GTX  1650LG 27"9
B3480EligahJackson34001Intel Core i5-9400nVidia Geforce GTX  1650LG 27"10
B3480EligahJackson34001Intel Core i5-9400nVidia Geforce GTX  1650LG 27"

11

 

From this example the result that I get is "1" and the result only show "

B3480EligahJackson34001Intel Core i5-9400nVidia Geforce GTX  1650LG 27"


PS. This information will be shown software as a unique name but I can't delete or remove them because in some report I have to count them also.

3 Replies

  • camargos88's avatar
    camargos88
    Community Champion

    saranp780 ,

     

    Can you please explain a little bit more what you are trying to achieve ??

    Some example as output would be help.

    • saranp780's avatar
      saranp780
      Helper III

      I would like to get some result that counts the different hardware from the example above =1 and showing the name of data different = 

      B3480EligahJackson34001Intel Core i5-9400nVidia Geforce GTX  1650LG 27

      but no show of the data that unchange.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi saranp780 ,

    I'm sorry for that it's still not very clear. Is this your desired result?

    If not, please provide me with your expected results. It couldn't be better if you kindly offer me a form or a screenshot.

    Best Regards,

    Yuna