Forum Discussion

JAlarco's avatar
JAlarco
Frequent Visitor
4 years ago
Solved

Power Bi Table Total Percentage

Hello everyone, I need assistance as I am having issues with the total field in a table using percentage. 

 

I have data that looks like 

 

Data Previous Year | Data Current Year | Percent Change

10                                        5                           -50%

10                                        5                           -50%

---

Total: 20                              10                            -100% 

 

Clearly, I want the total to show -50% is that is the percent change for the total rather than the sum of the entries. How can I do this. Thank you so much!

  • use SUMX which iterates the calculation for each row

     

    eg   SUMX(yourtablename,[yout percent measure name]

     

    See this video 

     

    please click the thumbs up and accept as solution buttons. Thanks ğŸ˜€

     

1 Reply

  • use SUMX which iterates the calculation for each row

     

    eg   SUMX(yourtablename,[yout percent measure name]

     

    See this video 

     

    please click the thumbs up and accept as solution buttons. Thanks ğŸ˜€