Forum Discussion

Nevos's avatar
Nevos
Frequent Visitor
6 years ago

Inconsistant filter results

I'm getting some really odd behaviour when filtering tables using a measure.  I have two tables (one a copy of the other) and when i remove two collumns from the second table my results change. background I'm using a hybrid push dataset for testing.

 

I have just 5 fields with some data being sent via a PS script.  Nothing complicated. I've also two measures.  The first calculates the latest row of data for each agent.

The second is used as a filter so that only the last row is displayed in each table.

The odd thing though, is that i get two different results depending on which collumns are displayed in the table. The first table displays all raw data. 

The second table has the filter applied so that only the most recent row for each agent is displayed. This is eactly the data i'm after. The third table is a copy and paste of the second with two columns removed. What i don't understand is why i get different data results.  It's as though the filter is no longer applied

6 Replies

  • v-alq-msft's avatar
    v-alq-msft
    Community Support

    Hi, Nevos 

     

    There are two ways. One way is to make the fields in the visual 'Don't summarize'. Another way is to create a new measure as follows.

     

    TotalInbound = CALCULATE(SUM(RealTimeData[InboundCalls]),FILTER('RealTimeData','RealTimeData'[LastUpdated] = [LatestDate]))

     

     

    Result:

     

    Best Regards

    Allan

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

    • Nevos's avatar
      Nevos
      Frequent Visitor

      Hi Allan and thanks for the response.  Yes removing the field to 'Don't summerise' gives the desired result but it doesn't explain why?  Both tables have the field set to SUM and are referencing the same data, measures and fields.  So why two different results?

       

      I've tried your suggestion of the new measure but it doesn't give any data at all 😞 

      • tex628's avatar
        tex628
        Community Champion

        Is the 3rd field, "Internal calls" also set to sum?