Forum Discussion
Kurumi0418
Helper I
8 years agoHow to use Average first and Sum rule???
Hello.
I have one question :
How to use measure to : Average and sum???
I Need average STEP PROCESS TIME first, and I Need sum this measure values not average. so How can I do?
Try this MEASURE
Measure = IF ( HASONEFILTER ( Table1[Oper] ), AVERAGE ( Table1[StepProcessTime] ), SUMX ( VALUES ( Table1[Oper] ), CALCULATE ( AVERAGE ( Table1[StepProcessTime] ) ) ) )
1 Reply
- Zubair_Muhammad
Community Champion
Try this MEASURE
Measure = IF ( HASONEFILTER ( Table1[Oper] ), AVERAGE ( Table1[StepProcessTime] ), SUMX ( VALUES ( Table1[Oper] ), CALCULATE ( AVERAGE ( Table1[StepProcessTime] ) ) ) )