Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn 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 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |