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!
Currently building a report for overstock and the formula that was made by DAX is also applying to the total column therefore show a huge number that is entirly wrong, how do i fix this?
I simply am just trying to get the column total of total cost but am stumped at this point.
any help is appreciated
current formula:
Solved! Go to Solution.
Woops - sorry, I missed that you had two separate tables. You can try
TotalValue =
SUMX(
OnHandTable,
OnHandTable[on-hand] * RELATED(PartCostTable[part cost])
)
Proud to be a Super User! | |
Hello! You are going to want to use an interator function to handle this. I created some mock data to explain:
Here, I have the Total Cost showing as on-hand * cost at the row level in the table, but the total shows a sum of those. For this, you need SUMX in your measure.
Proud to be a Super User! | |
Fairly new sorry if i seem real confused but here is what i am getting
bigger look of the table/table view
not sure why it did not pull but i have gotten this far
Woops - sorry, I missed that you had two separate tables. You can try
TotalValue =
SUMX(
OnHandTable,
OnHandTable[on-hand] * RELATED(PartCostTable[part cost])
)
Proud to be a Super User! | |
Thank You!
You're very welcome!
Proud to be a Super User! | |
Hi @alexglickfire ,
May I ask what the name of the field is that you are placing in the rows of your matrix table? You can try to get the total to add up by using the SUMX function over that column in the rows of the matrix table. Alternatively, you can skip the total row by applying the IF and HASONEVALUE formula
PartCost x QtyOnHand (without total) = IF(HASONEVALUE('Your table'[Column name on row]), [PartCost x QtyOnHand], BLANK())
Best regards,
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 41 | |
| 21 | |
| 18 |