Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
piraky
Frequent Visitor

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 1
v-qiuyu-msft
Community Support
Community 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

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.