Forum Discussion
HOW to simulate a DIVIDEX
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.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information or anything not related to the issue or question.
If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Please show the expected outcome based on the sample data you provided.
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523