Forum Discussion
mork
10 years agoHelper V
Problem with DAX formula
I have created a a measure with a DAX formula that estimates the remaining mandays of a project based on the completion percentage. My DAX formula is the following: "Estimated Remaining MD = ...
Greg_Deckler
10 years agoCommunity Champion
So, the problem is your SUM for Completion%. When you are looking at all of the data and grouping by ProjectDpt, for example, if you have 2 projects that are both 0.8 complete, that SUM is going to give you 1.6. 1 - 1.6 = -0.6 and hence the negative numbers.
mork
10 years agoHelper V
Yeah that sounds like it is the problem. The thing though is that when I remove the SUM I get this error:
"A single value for column "Completion%" in table ----- cannot be determined. This can happen when a measure formula refers to a colum that contains many vlaues withouth specifying an aggregation such as min, max, count, or sum to get a single result."
Sean your solutions uses columns and I would like to use a single measure if that's possible.