Forum Discussion

racheljeska's avatar
racheljeska
Frequent Visitor
2 years ago
Solved

Expression Error

Hello,   How do I fix this error? Thank you!
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi racheljeska 

    You can try the following

    MEASURE =
    VAR completedval =
        CALCULATE (
            COUNT ( table[status] ),
            ALLSELECTED ( table ),
            tale[status] = "Completed"
        )
    VAR alleval =
        CALCULATE ( COUNT ( table[status] ), ALLSELECTED ( table ) )
    RETURN
        IF ( ISFILTERED ( table[status] ), 0, completedval / alleval )
    

    Best Regards!

    Yolo Zhu

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