Forum Discussion

Sbezkoro's avatar
Sbezkoro
Regular Visitor
4 years ago
Solved

Why my measure remove external date filter?

I wish to calculate free capacity which is math difference between 100% and Loading, %. [Loading, %] - is a measure which calculated from inputs file as: Loading, % =     CALCULATE( SUM(InputFile...
  • AlexisOlson's avatar
    4 years ago

    Does this work better?

    Free Capacity, % =
    VAR Loading = [Loading, %]
    RETURN
        IF (
            ISBLANK ( Loading ),
            BLANK (),
            MAX ( 1 - Loading, 0 )
        )