Forum Discussion
HOW to simulate a DIVIDEX
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.
- Anonymous2 years agoNot 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.
- lbendlin2 years agoSuper User
You didn't share sample data so this is only a guess
SUMX(table1,DIVIDE([column1],[column2])
- Anonymous2 years agoNot applicable
I thought the DIVIDE function divided not line by line (like it was a DIVIDEX which I know doesn't exist), and I didn't understand why you also used the SUMX.
What I need is to calculate an amount-quantity ratio for each invoice line such that I have a series of unit prices. At this point, for each data filter the customer inserts, it will use the unit value calculated above, relating to the previous period of the one selected, to calculate an average (I don't explain more because i think it's not relevant for the question I asked).
p.s. Sorry if I didn't insert example values, but on one hand they are customer's data, and on the other they are just two columns of numbers, so I thought you just didn't need it.