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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
aashton
Helper V
Helper V

Dreaded Placeholder error

Hello,

I have two tables, CRM Sharepoint ( a list of facilities) and Monthly Data, joined on the Facility ID.  I have a measure in Monthly Data:

Current Vacancy = IF([WD Total FTE Model]=0,0,CALCULATE(1-DIVIDE(SUM('Monthly Data'[FTE Status]), [WD Total FTE Model]))). 

 
I'd like to find the total number of facilities with 100% Current Vacancy for a card.  I've been trying:
Sites 100% Vacant = CALCULATE(DISTINCTCOUNT('CRM Sharepoint'[CRM_Account_Name]), 'NAPA CR HCM Monthly Data'[Current Vacancy]=1)
And get the placeholder error...I never know what that means??
 
1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @aashton 

CALCULATE filters are tables. It is trying to identify which table is supposed to be filtered based on the provided measure value but your code identifies none. You need to manually tell the engine which table do you mean to filter. However, using CALCULATE in this case is not recommended. You may try

COUNTROWS 

FILTER (

VALUES ( 'CRM Sharepoint'[CRM_Account_Name] ),

[Current Vacancy] = 1

)

)

View solution in original post

2 REPLIES 2
tamerj1
Super User
Super User

Hi @aashton 

CALCULATE filters are tables. It is trying to identify which table is supposed to be filtered based on the provided measure value but your code identifies none. You need to manually tell the engine which table do you mean to filter. However, using CALCULATE in this case is not recommended. You may try

COUNTROWS 

FILTER (

VALUES ( 'CRM Sharepoint'[CRM_Account_Name] ),

[Current Vacancy] = 1

)

)

Thank you so much!!!

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.