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
Anonymous
Not applicable

Need Help with DAX

Hi All. I have been given an excel file for refrerrence from which, looking at the formulas used in the excel, I need to create the same in power bi calculated column. Below I am attaching the excel formula for your referrence. Any help would be much appreciated. Thanks in Advance!

 

=IF(A7="","",
IF(SUMPRODUCT(--ISNUMBER(SEARCH({"ITW"},L7)))>0,"inbound",
IF(SUMPRODUCT(--ISNUMBER(SEARCH({"DTW"},L7)))>0,"delivered to WH",
IF(N7="(blank)","not confirmed",
IF(OR(T7=1,T7=2),
IF(SUMPRODUCT(--ISNUMBER(SEARCH({"zones"},K7)))>0,"Zones Service",
IF(N7>TODAY()-3,"new PO",
IF(N7<TODAY()-30,"30+days open","inbound"))),
"inbound")))))

 

 

This is the formula which is being used in the excel, below i am sharing the exact columns name of what excel cell refers:

A7 = itemid
l7 = ets mgmt follup cmnts
N7 = po conf date
T7 = est trans time
k7 = manufacturer name

 

How can we achieve this in power bi calculated column using DAX? Also, The table name in power bi would be "test". 

Can we also achieve this using M Query?

2 REPLIES 2
Anonymous
Not applicable

Please share the excel file.

Anonymous
Not applicable

hi @Anonymous I can share a screenshot of the excel file. Please refer the below picture, so the column we need to create in power bi is referred as "PO aging" in the excel below and that "PO aging" has the above formula which i have posted earlier.

 

vashu123_0-1670219550963.png

 

vashu123_1-1670219574706.png

 

"PO aging" column is present in the 2nd screenshot

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.