Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Good.
I am doing some calculations and I get an error when adding it in DAX, but if it works correctly if I calculate it in power Query.
I have this table to calculate the total
I created the column in power query and the sum of values are correct:
Total2 = Quantity * Precio_Medio * Sign
I want to do this same with DAX, for that I have calculated.
As you can see, the total sum is different, although the calculation of each line is correct. The good solution is -256.356€
Some idea that I'm doing wrong in DAX.
Thank you.
Greetings.
Perfect, now if the sum is good for me.
Thanks a lot.
Greetings.
Please try a measure like this:
Multiply AMount and Price =
SUMX(
TableName,
[ColumnAmount]*[ColumnPrice]
)so I assume it would lookm like this
Multiply Amount and Price =
SUMX(
F_BI,
F_BI[QUANTITY]*F_BI[PRECIO_MEDIO]*F_BI[Sign]
)
Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your thumbs up!
@ me in replies or I'll lose your thread.
and pleaase use it as a measure not as a calculated column.
Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your thumbs up!
@ me in replies or I'll lose your thread.
If yes, it is that the column was to check that everything was correct. I'll stick with the measure.
Greetings.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 29 | |
| 28 | |
| 20 | |
| 20 | |
| 19 |
| User | Count |
|---|---|
| 35 | |
| 28 | |
| 21 | |
| 19 | |
| 17 |