The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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]))).
Solved! Go to Solution.
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
)
)
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!!!
User | Count |
---|---|
11 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
22 | |
14 | |
14 | |
9 | |
7 |