Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Divide 2 Calculated Columns

I have these two columns as measures.  The work great as individual metrics.  I want to divide these 2.  When I set up the following DAX I get "Infinity" as a result in my table.   SignupOpsPerce...
  • AilleryO's avatar
    AilleryO
    6 years ago

    One thing I don't understand, you said you have 2 measures, so why are you not divinding those 2 using DIVIDE() function :

    DIVIDE(measure1, measure2)

    If you have 2 calculated columns, then it's different. (Calculated columns are visible in Data Vieaw and are calculating on each lines, measures are not visible in Data View but are listed in Field panel (with a specific icon, see below the black calculator is a measure, and the other one with a grey column, is calculated column). Measure can make a sum of a column for instance.

    ).

     

    Otherwise I think your trouble might be linked to the context of your table, could you tell us more about the context in which you are are trying to divide the 2.