Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

ISEVEN FUNCTION not working correctly

Hello, 

 

I am trying to use the "ISEVEN" function to see only even numbers on a column. I don't know the reason it is giving me wrong results (please refer to the picture attached). 

 

Example

I am using the following formula: 

 

TESTEVEN  = ISEVEN(ECS_EZQuery40[DEBIT_AMOUNT])

 

Does anyone know what the issue could be? 

 

Thanks 

  • v-frfei-msft's avatar
    v-frfei-msft
    7 years ago

    Hi Anonymous ,

     

    Does that make sense? If so, kindly mark my answer as the solution to close the case please. Thanks in advance.

     

    Regards,
    Frank

6 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    What are the results for that data that you would want? There is probable a way to achieve it. If you want it based on the very last number, for example, you could use this:

     

    Column 2 = ISEVEN(RIGHT(CONCATENATE([Column1],""),1)*1)
    • Anonymous's avatar
      Anonymous
      Not applicable

      I would like to see only even whole numbers (no decimals). 

       

      I tried using this formula for that but didn't work. 

       

      Column 2 = ISEVEN(RIGHT(CONCATENATE(ECS_EZQuery40[DEBIT_AMOUNT],""),3)*3)
  • v-frfei-msft's avatar
    v-frfei-msft
    Community Support

    Hi Anonymous ,

     

    To create a calcualted column using INT function.

     

    Column = INT(ECS_EZQuery40[DEBIT_AMOUNT])=ECS_EZQuery40[DEBIT_AMOUNT]

    Or we can create a measure as below.

     

    Measure = INT(MAX(ECS_EZQuery40[DEBIT_AMOUNT]))=MAX(ECS_EZQuery40[DEBIT_AMOUNT])

     

    Regards,

    Frank

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

      Hi Anonymous ,

       

      Does that make sense? If so, kindly mark my answer as the solution to close the case please. Thanks in advance.

       

      Regards,
      Frank