Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Different formula in total row

Hi! I want a column that uses one calculation on each row and subtotal row, but a different calculation on the total row. Example from Contoso sample data set: In the Total row in the right ...
  • tamerj1's avatar
    tamerj1
    3 years ago

    Hi Anonymous 

    please try

    GM pct total =
    SUMX (
    SUMMARIZE (
    Sales,
    Geography[ContinentName],
    Product[ProductName],
    'Date'[Year]
    ),
    [GM pct]
    )