0 Replies Latest reply on Feb 23, 2014 11:23 PM by William Salit

    Capturing minimum value for use on web page

    William Salit

      I have a viz table called "Similar Districts." There are several columns, one of which is called "Enrollment." I would like to capture the minimum value and then place it somewhere on my web page. Right now I've just been trying to have the alert show me the value, to no avail. What is the appropriate syntax to access that value? I think I'm on the right track, but I think the .getFieldName("Enrollment") portion of the code is incorrect.

      [CODE]

      function showEnrollment() {

              alert(viz.getWorkbook().getActiveSheet().getFieldName("Enrollment").getMinValue());

          }

      [/CODE]