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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
how do I write this as a Dax expression?
=sum(field X * field Y)/sum(Field X)
I get an error that the sum function in only expecting one field.
Solved! Go to Solution.
@22LACMT Try:
= SUMX('Table',[field X] * [field Y])/ SUM([field X)
@22LACMT Try:
= SUMX('Table',[field X] * [field Y])/ SUM([field X)
Sorry, it its still giving me errors . I added a filter but am still getting incorrect data
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |