Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago

HOW to simulate a DIVIDEX

Is there any way to simulate a DIVIDEX (which it's not available) in DAX?

For Istance, if I want to simulate a division row by row from 'table1'[column1] and 'table1'[column2], it is possible to use the invers of PRODUCTX?

Thanks in advance
AG

5 Replies

  • That's not the inverse of PRODUCTX.  PRODUCTX multiplies across row, not across columns. 

     

    Please describe your business scenario, and maybe provide some sample data.

    • Anonymous's avatar
      Anonymous
      Not applicable

      I have to divide across rows (sales invoice line), the data in the column of the total amout and the data in quantity column.

      • lbendlin's avatar
        lbendlin
        Super User

        You didn't share sample data so this is only a guess

         

        SUMX(table1,DIVIDE([column1],[column2])