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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
kari1282
Helper III
Helper III

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

@kari1282 , [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))

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@kari1282 , [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))

@amitchandak Thank you this worked

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.