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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello I have reviewed the posts on similar topics, but no solution suits what I need. I would appreciate assistance with this formula. I have a column (measure) and at row level the result is correct, but the total applies the measure and should be the sum of the rows.
Column contains this measure
Thanks a lot
Thank you very much for your answer.
I have tested what you indicate and created this measure:
If in the total (without filtering any value of the Reference comm column) the result is much closer to the correct 1119, but it still mismatches.
Thanks a lot
sonia
Hi @Syndicate_Admin ,
Due to I don't know your table and data model, here I will give you some suggestions.
1. Is [prov po + model] a condtional column like [Reference Comm]?
If "Yes", I suggest you to use summarize() in SUMX() table field.
2. Does [prov po + model] come from the same table as [Reference Comm]?
If "Yes", meausure should look like as below.
New Units prov Recibidas 2 =
SUMX (
SUMMARIZE (
'TableName',
'TableName'[Reference Comm],
'TableName'[prov po + model]
),
[Units prov Recibidas 2]
)
If "No", add [prov po + model] based on your data model.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello again. I need help with a similar case. I have several measurements in a table. At the line level it gives me the value well, but not the total of the column.
The table is a matrix where it is broken down by Grouping and Period.
I have tried to apply the solution you gave me in the previous case: sumx(summarize(
However, I can only put one variable in summarize and it doesn't work well if the array contains Grouping and Period.
I would like to be able to add the total of the measure [Max. Sales] by Grouping and by Period, so that the total column is correct.
That is to say something like that but I do not know how to indicate it.
[Max. Sales] is a measure that contains calculations from multiple tables.
Thank you very much¡¡¡ It has worked perfectly.
Hi @Syndicate_Admin ,
Your issue should be caused by IF() function. Here I suggest you to use SUMX() to get sum result based on
[Units prov Recibidas 2] measure.
New Units prov Recibidas 2 =
SUMX ( VALUES ( 'TableName'[Reference Comm] ), [Units prov Recibidas 2] )
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 67 | |
| 62 |