Forum Discussion
Help with volume differences calculation
So I'm trying to create a calculated column/dax to calculate the differences between the volume column which would be referring to the start and stop of the 'TRUE' state of variable A,B and C. So for example for variable C, for the 'TRUE' state would start at volume 630 and ended at 594. So the result I intended to be returned would be the difference between 630 and 594.
Sorry if I was not being clear. I'm quite new to Power BI.
Oh, no worries. Thanks for clarifying. Is there like an end objective? There's likely a more effective way to model/structure your data to accomplish what you're looking for without writing a weird DAX column.
- Human2 years agoFrequent Visitor
Thank you for your understanding. So for my end objective, I intend to be able to calculate the total volume used for each variable and eventually, the total/overall volume use.
- CoreyP2 years agoSolution Sage
And what exactly are these variables? They can just be either true or false based on a calculation or something?
- Human2 years agoFrequent Visitor
From my understanding, the variable is some kind of machine that utilizes the volume and the value of 'TRUE' and 'FALSE' is the status of the machine state whether it is in use or not. TRUE as in-use indicator and FALSE as when the machine is not in-use.