Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello,
I dont know why my Totals are summing correctly? Anyone have any advice on how I can make them sum correctly?
Hi,
Alexis has a valid point. However, if you still want to add the entries in the column, then share the link from where i can download your PBI file.
Hi @jonnyA,
You can create two measures([Measure1] and [Measure2]) as below and put the measure [Measure2] on the matrix. Please note that replace the table name "Table" referenced in the following formula with the actual table name you applied to the matrix.
Measure1 = DISTINCTCOUNT ( 'Table'[CPT'S] )
Measure2 =
SUMX (
GROUPBY ( 'Table', 'Table'[Provider Name], 'Table'[CPT Code] ),
[Measure1]
)
In addition, you can refer the method in the following links to resolve it.
Why Your Total Is Incorrect In Power BI - The Key DAX Concept To Understand
Dax for Power BI: Fixing Incorrect Measure Totals
If the above one can't help you get the correct result, please provide some simple sample data of involved fields in your matrix and correct result with screenshot or table. By the way, are these fields from the same table? If no, is there relationship created between these tables? Please also provide the relationship information if any relationship be created. Thank you.
Best Regards
A distinct count is not necessarily additive. If you have the same [CPT's] under multiple different [CPT Codes], then do you actually want to count them multiple times in your total?
@jonnyA This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907