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
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
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.