Visokio website     Downloads     Video tutorials     KnowledgeBase  
Total row in table view - Visokio Forums
Total row in table view
  •     Mees June 29, 2011 8:26AM
    Hi,

    My table shows in each cell a unique value count of a certain variable (number of locations).
    The valuecount is on location ID.
    My totals row at the bottom must show the sum of these unique counts. However, it is calculating based on the unique count function in stead of the sum function.

    Can I manipulate this? I can't see the use of having a totals row that shows the number of unique values in a column.

    Thanks
  • 6 Comments
  •     Louise_Peers June 29, 2011 8:32AM
    To add to this, I right clicked on the 'Total' row at the botton of the table - almost outside the regular data - and did a 'Hide' which hid it, but now I can't find how to get it back.

    Thanks
  •     tjbate June 29, 2011 10:02AM
    Arjan, Louise - The Table View Summary Row is controlled from the Grouping drop down (Show overall summary row) and the function applied to each field is the Grouping function. Arjan - if you want two different functions applied, one for the row values and one for the Summary Row, you need to use Aggregation and set the aggregation function for the row values (unique count) and then use the Summary Row with the grouping function set to Sum, Mean, whatever.
  •     Mees June 29, 2011 10:12AM
    I use the Aggregate and columns are set on Unique value count.
    In the Grouping function there is no option however to select Sum, Mean etc.
    Any ideas?
  •     tjbate June 29, 2011 12:12PM
    Is the field your are aggregating/grouping typed as Text, or Numeric (Integer or Decimal)? Normally, unique value count applies to Text/Categories...but these do not usually sum??

    We will look at the file.
  •     Mees June 29, 2011 2:34PM
    File is attached. Had to remove all views due to confidentiality.
    Issue is that tablecells show unique value count of location ID's. Total row must show totals of all cells within the table
    Attachments
    Groupfunction file.iok 22K
  •     tjbate June 30, 2011 7:47AM
    Arjan - Aggregation is an in-memory transformation of the data...once you apply aggregation and set the aggregation function applied to the fields as Unique value count, the underlying row values are not available for summing. When aggregating, you can either hide the Summary Row, set each column's grouping function to None, or possibly to Record count if the count of aggregated rows is meaningful in context.

    Unfortunately, the same is true of Grouping...if you start by grouping the data and set the grouping function for cells to be Unique value count, you currently cannot specify a different function like Sum for the Summary Row.

    You need to try two contiguous Table Views, or, if the number of cells is not too many, a custom formula-driven HTML table in the Content View.

Welcome!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership