Forum Discussion

vjnvinod's avatar
vjnvinod
Impactful Individual
7 years ago
Solved

Measure help

Dear Community,   i have created a margin, which is throwing error, can you let me know what could be the right way to do it?   Margin% = IF(SUM(Inbound[NER_FYTD_Constant]=0,0,SUM(Inbound[MarginF...
  • Christann's avatar
    7 years ago

    You have put all of your parentheses at the end! Try:

    Margin% = IF(SUM(Inbound[NER_FYTD_Constant])=0,0,SUM(Inbound[MarginFYTD_Constant])/SUM(Inbound[NER_FYTD_Constant]))

    Hope this helps!