2 Replies Latest reply on May 10, 2017 11:42 AM by Jeff Strauss

    Empty report detection

    Jeff Strauss

      Tableau JS API guru's.  We recently updated our portal to "apply filters before loading the viz" instead of the sub-optimal 2-phased rendering of "apply filters after loading the viz".  See here for reference.  Tableau JavaScript API Concepts--Filtering



      Any suggestions?  The problem is that using this new approach, we are having trouble detecting when the dashboard has no data.



      What we see now when the dashboard initially loads and there is no data.



      What it previously was and what the users really desire.  This can be forced by hitting the "refresh icon" .  With the two phased rendering, how this was caught within the portal is that we would look for an error after applying the filter such as "filter doesn't exist".  It was kind of a hack, but it worked.