Forum Discussion
Anonymous
3 years agoNot applicable
DAX Formula and Measure Question
Hello everyone! My data is depicted below (1st picture). It is pretty simple, I created the Total Subtasks Completed and the % of PP Progress columns. The total subtasks completed is the sum of the a...
- 3 years agoSupposing your table named Data, try to add a column with the code below:PctRange =SWITCH(TRUE(),Data[% of PP Progress] <=0.25, "0-25%",Data[% of PP Progress] <=0.5, "26%-50%",Data[% of PP Progress] <=0.75, "51%-75%","76%-100%")
Anonymous
3 years agoNot applicable
Hi Anonymous ,
Try a measure like below:
Measure =
var %Progress = sum([% of PP Progress])
Return
SWITCH(
TRUE(),
%Progress <= 0.25, 1,
%Progress > 0.25 && %Progress < = 0.5, 2,
%Progress > 0.5 && %Progress <=0.75, 3,
4
)