This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
I'm trying to create a total row in a matrix table similar to the Excel example pictured below. I want the sum of "A" and "B" for each day as well as the absolute average % difference of "A". Formula I used in Excel to calculate is pictured up top. I've also added my dummy pbix file below. I've spent hours trying to do this and not the best as creating measures. Please help ASAP!
Hi there. Thanks for responding. The totals for "A" and "B" were perfect. But, ideally, I would like to keep the original % difference values with the negative values in the table and just do the absolute average as the total like in the picture below. Is that possible to do? I've also attached my updated dummy file.
Hello @ok_kpop ,
You have to create measures instead of taking those columns directly. Create three measures as below and drag them in the values field of the visual. So the three measures are as below:
Total A = SUMX(Sheet1,Sheet1[A])Total B = SUMX(Sheet1,Sheet1[B])Difference Average = AVERAGEX(Sheet1,ABS(Sheet1[% Difference]))Your output looks like below:
Dont forget to turnon row sub totals at last.
If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 30 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 63 | |
| 53 | |
| 31 | |
| 23 | |
| 23 |