Hi There,
I have the below Measure, and I am pretty sure there is a better way to write this. currently this takes 3-5 mins to calculate.
I think that it is the FILTER that is slowing it down.
DSC 90-150 Days = DIVIDE(CALCULATE(COUNTROWS(SALES),SALES[SOH]<>BLANK(),FILTER(SALES,[Actual DSC]>=90),FILTER(SALES,[Actual DSC]<150)),CALCULATE(COUNTROWS(SALES),SALES[SOH]<>BLANK()),0)