Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Some help is appreciated 🙂
Please see below:
I am trying to create Scores. Formula being sum(Numerator)/Sum(Denominator) for that specific easure name.
Cna someone help me in creating a formula using Power Query.
Thank you
Solved! Go to Solution.
Hi @Anonymous ,
Power Query isn't really designed for creating measures such as this.
Is there a reason why you don't want to just apply this table to your data model and create a DAX measure for it?
For context, in DAX it would be as simple as:
_score =
VAR __numValue =
CALCULATE(
SUM(yourTable[Values]),
yourTable[Measures] = "Numerator"
)
VAR __denValue =
CALCULATE(
SUM(yourTable[Values]),
yourTable[Measures] = "Denominator"
)
RETURN
__numValue / __denValue
In Power Query it would likely be some significant gymnastics and an extended refresh time.
Pete
Proud to be a Datanaut!
Hi @Anonymous ,
Power Query isn't really designed for creating measures such as this.
Is there a reason why you don't want to just apply this table to your data model and create a DAX measure for it?
For context, in DAX it would be as simple as:
_score =
VAR __numValue =
CALCULATE(
SUM(yourTable[Values]),
yourTable[Measures] = "Numerator"
)
VAR __denValue =
CALCULATE(
SUM(yourTable[Values]),
yourTable[Measures] = "Denominator"
)
RETURN
__numValue / __denValue
In Power Query it would likely be some significant gymnastics and an extended refresh time.
Pete
Proud to be a Datanaut!
Perfect!! Thank you so much Pete 🙂 I am new to using DAX measures. But you explained in detailed way. That was really helpful.
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 |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 19 | |
| 14 | |
| 12 | |
| 10 | |
| 8 |