Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi, I am just creating a matrix in power bi.
The [Carry Over Revenue FY 17] is a measure that I put into this matrix.
Here is the calculation:
Carry Over Revenue FY 17 = AVERAGE(CRM_Fact_SalesOpportunities[CarryOverRevenueFY17])
When I done this, I always get the average number of this column in Subtotal box automatically. But I wanna get the sum number of this column. How can I fix this?
Solved! Go to Solution.
Hi @Anonymous,
Hi MFelix, @MFelix
Just an information, the red part should be [Average], which is from the blue part.
AverageTotal =
SUMX (
    SUMMARIZE ( Table; Group_Column; "Average"; AVERAGE ( Table[Column] ) );
    AVERAGE ( Table [Column]  )
)Best Regards!
Dale
Hi @Anonymous,
You need to do a SUMX of a summarize of your average something like this:
AverageTotal =
SUMX (
    SUMMARIZE ( Table; Group_Column; "Average"; AVERAGE ( Table[Column] ) );
    AVERAGE ( Table [Column]  )
)
No sure How you have your table set up but chenge the columns by you data.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @Anonymous,
Hi MFelix, @MFelix
Just an information, the red part should be [Average], which is from the blue part.
AverageTotal =
SUMX (
    SUMMARIZE ( Table; Group_Column; "Average"; AVERAGE ( Table[Column] ) );
    AVERAGE ( Table [Column]  )
)Best Regards!
Dale
How do you edit the DAX formulas for the matrix subtotal? I can't seem to find the formula/code to edit (as shown in the yellow boxes).
Thanks!
How do you navigate to edit the DAX formulas for the matrix subtotal?
Thanks!
Thanks @MFelix for giving this great idea. It gave me the right direction.
Thanks @v-jiascu-msft for pointing out this a little thing. It works great!!
Hi @MFelix,
Your solution seems very close to what I want.
I used your codes and I found that some values are correct and some are not. Could you tell me what is the 'Table' in your codes? Which 'Table' should I use in this case. By the way, I have two group columns which are located in two tables.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsAdvance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.