4 Replies Latest reply: Jun 21, 2017 2:14 PM by David Forest RSS

    Count of Items in Chart and Table differs

    Justin Dallas

      Hello Everyone,

       

      I have a chart and a table that both have the same backing formula.  The fundamental problem is that in my Table, I have 3 rows, and in my Bar Chart, I have a count of "2".

       

      Before I show the chart and table, my measures look like so:

       

      Bar Chart:

      COUNT( 
       Aggr(
        If(
        ([TractorStatusHistory.StatusStartDate] <  Min(TOTAL CalDate)) and 
        ([TractorStatusHistory.StatusEndDate] > Max(TOTAL CalDate)),  
        [%tractorNumber]),
              [%tractorNumber])
      )
      

       

       

      Table:

      If(
        [TractorStatusHistory.StatusStartDate] < Min(TOTAL CalDate) 
        and [TractorStatusHistory.StatusEndDate] > Max(TOTAL CalDate), 
        [%tractorNumber]
      )
      

       

       

      While they look the same, the output is quite different with the Table having 3 rows, and the Bar Chart counting 2

       

      BadCount.png

       

      Does anyone have a clue of how I can see the exact rows making up the bar chart?  Or better yet, are the two statements above semantically equivalent?  I'm not sure how to proceed.

       

       

      Any help is greatly appreciated.