Forum Discussion

sdhn's avatar
sdhn
Responsive Resident
5 years ago
Solved

Calculate %

Hi All,   I have a table with two columns.   City Profit Chicago 60 Los Vegas 80 New York 40 Los Angeles  90 Houston 10 Total Profit 280   I need to add one more ...
  • FrankAT's avatar
    5 years ago

    Hi sdhn ,

    you can do it like this:

     

     

     

    Sum of Profit = SUM('Table'[Profit])
    
    Percentage = DIVIDE([Sum of Profit],CALCULATE([Sum of Profit], ALL('Table')))

     

     

    With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
    FrankAT (Proud to be a Datanaut)