Forum Discussion

Reawaken's avatar
Reawaken
Regular Visitor
3 years ago
Solved

Add up values in one column based on whether a value in another column is of a specific value

Hi there,   I am trying to add up values in a column based on whether a value in another column has a value of 4 or 5.   What I'd like to be able to do, from the information in the pictur a...
  • Ashish_Mathur's avatar
    3 years ago

    Hi,

    Write this measure and drag it to a card visual

    Measure = calculate(sum(Data[Balance]),data[new crate]=4||data[new crate]=5)

    Hope this helps.