Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I created a measure to give me the bottom third and I don't want to include Zero or Blank rows because it makes the calculation incorrect.
Current Measure:
If I add
Story Points |
0 |
0 |
5 |
0 |
5 |
49 |
26 |
6 |
104 |
44 |
Solved! Go to Solution.
Hi @Anonymous
try
=
var _minVal = CALCULATE(MIN (JiraEpic[StoryPoints]), ALLEXCEPT (JiraEpic, JiraEpic[ScrumTeamName]), JiraEpic[StoryPoints]<>0, NOT(ISBLANK(JiraEpic[StoryPoints])) )
RETURN
(
CALCULATE(MAX (JiraEpic[StoryPoints]), ALLEXCEPT (JiraEpic, JiraEpic[ScrumTeamName]), JiraEpic[StoryPoints]<>0, NOT(ISBLANK(JiraEpic[StoryPoints])) )
-
_minVal
) / 3
+
_minVal
@Anonymous
Hi, try with this:
Result =
VAR _table_without_0_and_blanks =
FILTER (
ALLEXCEPT ( 'Table', 'Table'[Team] ),
'Table'[Story Points] <> 0
|| 'Table'[Story Points] <> BLANK ()
)
VAR _Min =
CALCULATE ( MIN ( 'Table'[Story Points] ), _table_without_0_and_blanks )
VAR _Max =
CALCULATE ( MAX ( 'Table'[Story Points] ), _table_without_0_and_blanks )
RETURN
DIVIDE ( _Max - _Min, 3 ) + _Min
Regards
Victor
@Anonymous ,
Try like
FILTER(JiraEpic,JiraEpic[StoryPoints]<>0 && not(isblank(JiraEpic[StoryPoints])))
Or
CALCULATE(
(MAXX (FILTER(JiraEpic,JiraEpic[StoryPoints]<>0 && not(isblank(JiraEpic[StoryPoints]))),JiraEpic[StoryPoints]) - MINX (FILTER(JiraEpic,JiraEpic[StoryPoints]<>0 && not(isblank(JiraEpic[StoryPoints]))),JiraEpic[StoryPoints]))/3 + MINX (FILTER(JiraEpic,JiraEpic[StoryPoints]<>0 && not(isblank(JiraEpic[StoryPoints]))),JiraEpic[StoryPoints]),
ALLEXCEPT (JiraEpic, JiraEpic[ScrumTeamName])
)
Hi @Anonymous
try
=
var _minVal = CALCULATE(MIN (JiraEpic[StoryPoints]), ALLEXCEPT (JiraEpic, JiraEpic[ScrumTeamName]), JiraEpic[StoryPoints]<>0, NOT(ISBLANK(JiraEpic[StoryPoints])) )
RETURN
(
CALCULATE(MAX (JiraEpic[StoryPoints]), ALLEXCEPT (JiraEpic, JiraEpic[ScrumTeamName]), JiraEpic[StoryPoints]<>0, NOT(ISBLANK(JiraEpic[StoryPoints])) )
-
_minVal
) / 3
+
_minVal
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
75 | |
73 | |
49 |
User | Count |
---|---|
145 | |
109 | |
109 | |
90 | |
64 |