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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
guanel1
Helper I
Helper I

count rows when a measure is >=0.85

I have a list of Business Units (BU) with Teams. Each team has deliverables due. I have calculated the % of deliverables completed on time for each BU. I created the following measures:

# of OU = DISTINCTCOUNT(Table1[BU]) --> needs to be distinct because there are multiple instances of the BU name as there are multiple Deliverables for each team within the BU.

# of Deliverables = COUNTA(Table1[Deliverable ID])

# of Completed On Time = CALCULATE(COUNTA(Table1[STATUS]),Table1[STATUS]="COMPLETED ON TIME")

% Completed on Time = DIVIDE([# of Completed On Time],[# of Deliverables])

 

My resulting visual (table) looks like this:

Business Unit# of Teams# of Deliverables# of Completed on Time% of Completed on Time
A610880%
B10151067%
C455100%
D12181689%

 

I want to create a measure that will count the BU's only when the total % of Completed on time is >=0.80 (or 80%)

And in doing so, I want the answer to be 3. (3 BU's met the above criteria)

 

I tried to create the following measure with nesting measures:

# of BU Met Completion = CALCULATE([# of OU],[% of Completed on Time]>=0.80)

But i get an error. A function 'PLACEHOLDER' has been used in a True/False expression that is used as a table filter expression. This is not allowed.

 

I was assuming that it would show 4-1(one BU with less than 80%) = 3

 

Does anyone know how I can get a measure to count the # of BUs when the total % of completed on Time is >=80%?

1 ACCEPTED SOLUTION
wdx223_Daniel
Super User
Super User

# of BU Met Completion =CALCULATE([# of OU],FILTER(VALUES(Table1[Business Unit]),[% of Completed on Time]>=0.80)))

View solution in original post

2 REPLIES 2
guanel1
Helper I
Helper I

perfect. 1000x thanks!

wdx223_Daniel
Super User
Super User

# of BU Met Completion =CALCULATE([# of OU],FILTER(VALUES(Table1[Business Unit]),[% of Completed on Time]>=0.80)))

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.