Forum Discussion

EsterBR's avatar
EsterBR
Icon for Helper II rankHelper II
2 years ago
Solved

SWITCH - 2 conditions

Hi,   I have created the following formula with SWITCH:   Budget Q/Month = SWITCH (     SELECTEDVALUE ( 'Calendar'[Month Name] ),     "August", [Budget MAX],     "September", [Budget MAX], ...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hii EsterBR ,

    You can use this measure

    Budget Q/Month =
    SWITCH (
        TRUE(),
        AND('Calendar'[Month Name]  = "August", 'Calendar'[Month Name]  = "September")  , [Budget MAX],
        [Budget SUM]
    )
     
    Similarly you can add other conditions also.
    Thankyou.