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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Distinct Count

Hi I'm trying to create find how many people are below 80%

 

I wrote the following measure 

 

# of Associates = DISTINCTCOUNT(WFE[Fee Earner Name]) to tell me the number of associates and it works. However, when I add teh measure to tell me the # below 80% I get the same number as Associates
# Associate <80 = CALCULATE(DISTINCTCOUNT(WFE[Fee Earner Name]), FILTER('Fee Earner Capacity', 'Fee Earner Capacity'[AA YTD Adjusted Utilization]<=.8))
 
I'm not able to figure out where I've gone wrong in the measure
kari1282_0-1701879420730.png

 

 
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , [AA YTD Adjusted Utilization] is a column, then the above should work. If it is a measure then try

 

countrows(FILTER(values(WFE[Fee Earner Name]), [AA YTD Adjusted Utilization]<=.8))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , [AA YTD Adjusted Utilization] is a column, then the above should work. If it is a measure then try

 

countrows(FILTER(values(WFE[Fee Earner Name]), [AA YTD Adjusted Utilization]<=.8))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak Thank you this worked

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.