Forum Discussion

muhaiza's avatar
muhaiza
Frequent Visitor
4 years ago
Solved

Conditional Formatting based on specific value for each row

Hi i need help to make conditional formatting but each row depends on different value. at 'On Hand qty', the background color depends on the 'Target quantity' such as: on the fifth row, 'ta...
  • Samarth_18's avatar
    Samarth_18
    4 years ago

    muhaiza Please update your code as below:-

    measure 3=
    IF (
        SUM ( INF[On Hand Qty] ) >= INT ( MAX ( INF[Target Quantity] ) ),
        "Green",
        "Red"
    )

    Output:-