The Spotfire Community is moving to TIBCOmmunity and this forum location has closed. During the transition, you can still search the old forums but posting has been disabled. We encourage you to pick up the discussion at the new Spotfire community on TIBCOmmunity.
distinct count function - TIBCO Spotfire Community

distinct count function

Last post Tue, Feb 14 2012 11:55 AM by deandipietro. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • Tue, Mar 23 2010 2:44 PM

    • spuc2
    • Top 50 Contributor
    • Joined on Tue, Mar 23 2010
    • Posts 33

    distinct count function

    Hi, where can I find a distinct count function in spotfire?

    I don't have any functions under available functions when adding a table. not sure if there is something that needs to be ran to populate these functions/functionality.

    thanks!

    Filed under:
  • Wed, Mar 24 2010 2:57 AM In reply to

    Re: distinct count function

     Hi,

    There are a couple ways to do a distinct count. Cross Tables will do this for you, you can also pivot your data, and there are some other methods as well.

    Please view the following post which describes using the pivot method, and then read the comments below it for solutions using Cross Tables and other methods.

     

    Thanks,

    Kevin

  • Wed, Mar 24 2010 1:06 PM In reply to

    • spuc2
    • Top 50 Contributor
    • Joined on Tue, Mar 23 2010
    • Posts 33

    Re: distinct count function

    thank you for the input on this :)

    just wondering you mention for me to review the following post but I don;t see any link.. would you have it handy?

    thanks!

  • Tue, Feb 14 2012 11:02 AM In reply to

    Re: distinct count function

     Did you ever find the link? I'm looking for a way to add a column that calculates the number of times the value in another column is present in the table. Basically the countif() function in excel.

  • Tue, Feb 14 2012 11:55 AM In reply to

    Re: distinct count function

     Nevermind -- I figured it out. Its really easy:

     

    count([columnA]) OVER [columnA]

    Filed under: ,
Page 1 of 1 (5 items)
©Copyright 2000-2011 TIBCO Software Inc | Privacy Policy | Terms of Use I Blog I Contact Us I Content Center