Hi,
How would I modify the following measure - OnTime =
CALCULATE(COUNTROWS ( FILTER ( OTIF, OTIF[ShiftInTime] = OTIF[TimeFrom]*[targetperc OT])))
to also multiply by [targetperc OT] if OTIF[ShiftInTime] <> OTIF[TimeFrom]
Solved! Go to Solution.
OnTime = CALCULATE(COUNTROWS ( FILTER ( OTIF, OTIF[ShiftInTime] = OTIF[TimeFrom]*[targetperc OT])) + COUNTROWS ( FILTER ( OTIF, OTIF[ShiftInTime] <> OTIF[TimeFrom]*[targetperc OT])) * [targetperc OT] )
Something like that?
OnTime = CALCULATE(COUNTROWS ( FILTER ( OTIF, OTIF[ShiftInTime] = OTIF[TimeFrom]*[targetperc OT])) + COUNTROWS ( FILTER ( OTIF, OTIF[ShiftInTime] <> OTIF[TimeFrom]*[targetperc OT])) * [targetperc OT] )
Something like that?
Hi,
When I try to get the percentage of your measure of Total Calls ie. OnTime % = OnTime/Total Calls
the OnTime% changes to whatever value is selected in the slicer. Any idea why this is?
Yes, that works. Great, thank you.
Hi,
When I try to get the percentage of your measure of Total Calls ie. OnTime % = OnTime/Total Calls
the OnTime% changes to whatever value is selected in the slicer. Any idea why this is?
User | Count |
---|---|
130 | |
81 | |
64 | |
57 | |
55 |
User | Count |
---|---|
213 | |
108 | |
86 | |
82 | |
76 |