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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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