Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Calculation of scores

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.

 

nichitaj_0-1636469220698.png

 

 

 

 

Thank you 

 

1 ACCEPTED SOLUTION
BA_Pete
Super User
Super User

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



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




View solution in original post

2 REPLIES 2
BA_Pete
Super User
Super User

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



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Anonymous
Not applicable

Perfect!!  Thank you so much Pete 🙂 I am new to using DAX measures. But you explained in detailed way. That was really helpful. 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.