Forum Discussion

piraky's avatar
piraky
Frequent Visitor
9 years ago

DAX funciton on Utilization measure

Hi,

 

I was able to create a good Utilization % (Per month Per Employee) from the help of this site:

http://stackoverflow.com/questions/31420864/dax-utilization-measure-formula

Now I have correct % for every month, every employee. ( or even the average over monthly)

 

My challenge is to show how many employees had 0% Utilization Rate, for a given month.

I can't use COUNTBLANK because Utilization Rate is a measure.

 

Is there another way to get a result using Hours Entered? (I have a table of Employees entering time by date to calculate Util %)

 

Thanks!

1 Reply

  • v-qiuyu-msft's avatar
    v-qiuyu-msft
    Icon for Community Support rankCommunity Support

    Hi piraky,

     

    Please try this measure:

     

    Measure= Countax(Filter('<tablename>',[% Utilization Rate] =0, [Hours Entered] )

     

    If above measure doesn't meet your requirement, please share sample data you used and measure you calculate % Utilization Rate, also with screenshots about expected results you want to return. If possible, .pbix file with sample data is better.

     

    Best Regards,

    Qiuyun Yu