Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

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

 

  • sturlaws's avatar
    sturlaws
    7 years ago

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

     

    cheers,

    -s

4 Replies

  • sturlaws's avatar
    sturlaws
    Icon for Resident Rockstar rankResident 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