Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. 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!!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 37 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 67 | |
| 32 | |
| 27 | |
| 25 |