Forum Discussion
Measure to Deal with Negatives in Calculation
Hi, Thanks in advance.
I couldn't find a way of uploading a file to the forum. The link below is a google drive link to a copy of the file.
https://drive.google.com/file/d/150YjoWvugCp6-dEOnypDtCqF1J9Pkazy/view?usp=sharing
In a previous post:-
I was kindly supplied with a measure to do the first calculation I need.
I need an additional column which deals diffrently with negatives in the measure column. Therefore the 'New Measure' column instead of -negative numbers uses a 0 and only uses positive numbers in the calculation. See illustration below.
I hope this makes sense.
Thanks
Pete
That's unfortunately exactly the point. The result cannot be modified by filters.
4 Replies
- lbendlin
Super User
That selective addition is not something you can do in DAX. You can use List.Accumulate in Power Query for this but that will result in a column, not a measure.