Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!