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
Trick-Me
New Member

How to translate excel formula to power query?

Dear community,

i was hoping to get your help to tranlsate the following excel formula to power query:

IF(OR(F2=G2;F2=145);IF(OR(OR(EXACT(F2;Duty));F2=145);"";F2);IF(AND(NOT(OR(EXACT(F2;Duty)));E2>9000);F2;G2))

I hope my wording and level of detail is enough to answer my question, since i´m new to this community.
Thank´s in advance and looking to receive a reply!

1 REPLY 1
lbendlin
Super User
Super User

Welcome to the community. Please provide sanitized sample data that fully covers your issue.
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

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.