Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

new measure based on column value

I have a pretty much beginner like question:   A have a numbers field with sales amounts and my sum/measure must only contain the total amount of sales based on the value of another column.    So...
  • az38's avatar
    6 years ago

    Hi Anonymous 

    try smth like

    Measure = calculation(sum(ColumnB); FILTER('Table';'Table'[ColumnA]="yourValue"))

    do not hesitate to kudo useful posts and mark solutions as solution