Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Sums calculation

Table is  ----------------------------------------- City                   Store     Product             Price Toronto              A             TV1                 500 Toronto              B   ...
  • rsbin's avatar
    2 years ago

    Anonymous ,

    You can create 2 Calculated Columns:

    TotalPrice = CALCULATE( SUM( [Price] ),
                    ALLEXCEPT(YourTable, YourTable[City] ))
    
    Ratio = [Price] & "/" & [TotalPrice]

    Hope this is what you are looking for.

    Regards,