Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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êsCovering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
99 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
94 | |
84 | |
67 |