Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hello everyone!
I hope anyone can help me with the next issue:
I want to know the inventory turnonver of each product I have by month.
I have the next tables:
MULT, in wich i have the details of each product with the next relevants:
MINVE, in wich I have all movements of each product with the next relevants:
I need to creat a measure of M.COST.2017 and substract to INVE.ACT to get the inicial inventory of each prodcut,
Then I have to get the final inventory for each product by month,
Then I have to get all the outputs in cost for each product by month and aplicate the next formula:
Turnover by month
January: Total cost outputs for january / average inventory (January)
February: Total cost outputs for february / average inventory (January + Febreuary / 2)
March: Total cost outputs for march / average inventory (January + February + March / 3)
... and the same for each month
I hope somebody can help me with this problem I have.
Thank you all for helping.
Omar,
Solved! Go to Solution.
You can try a measure as
turn over value = DIVIDE ( SUMX ( FILTER ( ALLSELECTED ( yourTable ), yourTable[date] <= MAX ( yourTable[date] ) ), yourTable[value] ), CALCULATE ( DISTINCTCOUNT ( yourTable[month] ), FILTER ( ALLSELECTED ( yourTable ), yourTable[date] <= MAX ( yourTable[date] ) ) ) )
If it is not your case, please post some sample data and expected output.
You can try a measure as
turn over value = DIVIDE ( SUMX ( FILTER ( ALLSELECTED ( yourTable ), yourTable[date] <= MAX ( yourTable[date] ) ), yourTable[value] ), CALCULATE ( DISTINCTCOUNT ( yourTable[month] ), FILTER ( ALLSELECTED ( yourTable ), yourTable[date] <= MAX ( yourTable[date] ) ) ) )
If it is not your case, please post some sample data and expected output.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
85 | |
70 | |
68 | |
51 | |
32 |
User | Count |
---|---|
115 | |
100 | |
74 | |
65 | |
40 |