Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Divide DAX

Hi I Have a calculation I'm doing   TotalItems-TotalErrors/Totals Items    When doing this I'm get a number way off as seen in the "column"   Any help ?   
  • Greg_Deckler's avatar
    6 years ago

    Tough to say perhaps, but I would try this:

     

    ([TotalItems] - [TotalErrors]) / [Totals Items]

     

    Even better:

     

    DIVIDE( [TotalItems] - [TotalErrors], [Total Items],0)

     

    Assumes those are all measures or all columns if you are creating a column in a table.