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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Help on converting excel formula to DAX

Experts,

 

Need help on below excel formula converting to Dax

 

  Data and Lookup tables   Calculated fields    
             
  Nov, 2019  Aug'19 AR       
  abcd efghij
HWEUR65.476.172.31.1132 80.590%1.16336.97.71.159
 MXN118.66.1336.218.98 17.735%19.5611217.611.519.18
             

 

E =IF(ISERROR($G6*$F6),"",IF(OR($C6="EUR",$C6="GBP",$C6="NZD",$C6="AUD"),$G6*$F6,$G6/$F6))
J= =IF(ISERROR((E6+M6)/F6),"",IF(OR($C6="EUR",$C6="GBP",$C6="NZD",$C6="AUD"),(E6+M6)/F6,(1/((E6+M6)/F6))))

 

I need this two quick help much appreciated

 

Thanks

 

1 ACCEPTED SOLUTION

Ok, so this should be solved using calculated columns, and I set it up for you here: pbix

 

cheers,

-s

View solution in original post

4 REPLIES 4
sturlaws
Resident Rockstar
Resident Rockstar

Hm, perhaps you could upload a sample excel-file to onedrive or something similar, and provde a link to it here. I can't figure out what you are trying to do from what you have posted.

 

cheer,

S

Anonymous
Not applicable

Thanks for replay.

 

Here is the link 

 

https://drive.google.com/open?id=1wrWrb7Nk8iOxdGsL2L6cLnq6nngXU0wY

 

Please let me know if you have any question. Excel attached with data and calculation in the same page. 

 

Thanks

 

Ok, so this should be solved using calculated columns, and I set it up for you here: pbix

 

cheers,

-s

Anonymous
Not applicable

Thank you so much for your help. Appreciate your time and solution

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors