The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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
User | Count |
---|---|
65 | |
62 | |
55 | |
53 | |
28 |
User | Count |
---|---|
181 | |
82 | |
67 | |
47 | |
44 |