Forum Discussion

Syndicate_Admin's avatar
Syndicate_Admin
Icon for Administrator rankAdministrator
3 years ago
Solved

Filter for values ending in Zero

Dear. I would appreciate your help in the following consultation: I need to filter the values ending in three zeros for the following DAX formula: Movimientos = CALCULATE(MIN(MB51_TODO[Fe.conta...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi JMOLLAN ,

    You can update the formula of the measure [Movimientos] as below:

    Movimientos =
    CALCULATE (
        MIN ( MB51_TODO[Fe.contab.] ),
        FILTER (
            MB51_TODO,
            MB51_TODO[CMv]
                IN { "101", "501", "201", "202", "221" }
                    || RIGHT ( MB51_TODO[Ce.], 3 ) = "000"
        )
    )

    Best Regards