Forum Discussion

dtgold81's avatar
dtgold81
Regular Visitor
2 years ago
Solved

Measure ignoring zero values

Hi all,   I've got a weird problem with a measure in a matrix. In essence, I want to calculate the change in 'Total Entries' between two fortnights.   I have a measure which calculates the total ...
  • Daniel29195's avatar
    2 years ago

    dtgold81 

    i think that problem with your code is that example the line you highlighted in red, 

    im assunmming that there is no row for this line item in 26/02.2023, 

    so in the total, 

    your code will return for max and min  --> 12/03/2023 which is 1 - 1 = 0..  and that is why you are getting such results .

     

     

     

     

     

    If my response has successfully addressed your issue kindly consider marking it as the accepted solution! This will help others find it quickly. Dont forget to hit that  thumbs up button 🫡👍