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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.