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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
netteSJ
Frequent Visitor

Replicating excel formula

Hello guys,

Can anyone help me i have this excel formula that i need to replicate in power query. 

Here is my data table. 

 

DataPic6.PNG

 

 

 

 

 

My formula in excel :

 =IF(X3>=71%,"GOOD",IF(X3>=50%,"SATISFACTORY",IF(X3>=1%,"NEED IMPROVEMENT")))

 

tempsnip.png

 Really appreciate any help guys.

 

3 REPLIES 3
netteSJ
Frequent Visitor

I forgot to mentioned that i am using below formula to get average performance for each Questions before doing the formula above

 

Capture7.PNG

Using formula 

=COUNTIF(Data!I:I,K2) and theni just get the average

 

 

 

 

adityavighne
Continued Contributor
Continued Contributor

@netteSJ 

Add column 

Performance =

IF('Table'[toal score]>=71/100,"Good",IF('Table'[toal score]>=50/100,"Statisfactory","need"))
 
try this. Make changes as per your categories you have.
 
regards,
Aditya 
vicky_
Super User
Super User

In power query: 

= Table.AddColumn(Custom1, "Performance", each if [ColumnX] >= 71 then "GOOD" else if [ColumnX] >= 50 then "SATISFACTORY" else if [ColumnX] >= 1 then "NEED IMPROVEMENT" else null)

vicky__0-1684993651680.png

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors