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
Hi!
Please I need help. I have a table like this:
I need a measure that sum all the values (Column VALUE) except the row that duplicates ID and PRODUCT.
I want to put this measure the total in a card visualization.
Thank a lot!
Solved! Go to Solution.
Why don't you de-duplicate the table before you load it into PBI? In Power Query it's just as easy to do as clicking several buttons... And if you want to know how many dup rows there ware originally for a given row, you can store the count of the row in the table as well. This will retain all the information you have in the original table and the resultant table will be as small as possible, thus DAX will be faster on it.
[Measure] =
SUMX(
SUMMARIZE(
T,
T[ID],
T[Product],
T[Value]
),
T[Value]
)
Try this
Measure = CALCULATE(SUMX(Tabela,Tabela[VALUE]), FILTER(Tabela,Tabela[ID]))
You can use a card with this measure.
@daromel , Power Query, Remove duplicate rows: https://www.youtube.com/watch?v=Hc5bIXkpGVE
In Dax =
New table =distinct(Table)
or summarize(Table,Table [ID],Table[Product],Table[Value])
Why don't you de-duplicate the table before you load it into PBI? In Power Query it's just as easy to do as clicking several buttons... And if you want to know how many dup rows there ware originally for a given row, you can store the count of the row in the table as well. This will retain all the information you have in the original table and the resultant table will be as small as possible, thus DAX will be faster on it.
Thanks for the answering,
The table has others fields that I need.
No all the fields are duplicates, just some of then.
[Measure] =
SUMX(
SUMMARIZE(
T,
T[ID],
T[Product],
T[Value]
),
T[Value]
)
It worked perfect. thank you!!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 11 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 19 | |
| 12 | |
| 11 |