Forum Discussion

Grande's avatar
Grande
Frequent Visitor
5 years ago

Dax Formula= Addition and Multiplication error.. Need help.!

I would like to creted the below formaula for the which is giving me error Please help me..

 

Annual Salary (USD) - AOP FX Rates + (Annual Salary (USD) - AOP FX Rates * Fringe Rate)

Excel Formula =IFERROR(BR31765+(BR31765*BP31765),"NA")

data Values : 

 Fringe Rate = 15%
AOP FY20 FX Rates = 1
Annual Salary (USD) - AOP FX Rates = 152,360
Annual Salary + Benefits (USD) = 175,774 

 

I created the formula but it does not giving me the correct Results 

I should get the Result = 175774

 

 

Please help me

4 Replies

  • littlemojopuppy's avatar
    littlemojopuppy
    Community Champion

    Hi Grande 

    First, the formulas you're providing are inconsistent with each other.

    Second, providing an Excel formula without providing at least a snap shot of the data those cells are referencing provides no basis for anyone to do anything but guess what you're trying to accomplish.

     

    What are you actually getting???  Because based on your Excel formula, I get this...

     

     

  • Grande's avatar
    Grande
    Frequent Visitor

    Thank you for Replay, I will try your soultion and I will get back to you.. Thank you Again..!

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hello Grande 
    You can try the below calculation

    Results =
    VAR TotalSalary = SUM('Table (5)'[Salary])
    VAR TotalFringeRate = SUM('Table (5)'[Fringe Rate])
    RETURN
    TotalSalary + (TotalSalary*TotalFringeRate)

    Can you please check the expected answer?
    As per your formula, I'm getting the above result.
    • littlemojopuppy's avatar
      littlemojopuppy
      Community Champion

      Anonymous you're posting the exact same solution that was previously suggested???  ğŸ™„