This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
Does anyone know what this error means?
I'm trying to create a measure that will count the rows in a column for either active or planned.
Thank you,
Sam
Solved! Go to Solution.
Hi @Anonymous ,
Try this.
ActiveFTE =
CALCULATE (
COUNTROWS ( '2022 Headcount Forecast-CountSA' ),
'2022 Headcount Forecast-CountSA'[Dec21 Status Active/Planned/Forecast] = "Active"
)
Here are some references that may be helpful.
Best Regards,
Community Support Team_Gao
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Hi @Anonymous ,
Try this.
ActiveFTE =
CALCULATE (
COUNTROWS ( '2022 Headcount Forecast-CountSA' ),
'2022 Headcount Forecast-CountSA'[Dec21 Status Active/Planned/Forecast] = "Active"
)
Here are some references that may be helpful.
Best Regards,
Community Support Team_Gao
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
hi @Anonymous
Watch out the table name. When it contains spaces you should write like this
'2022 Headcount Forcast-CountSA'
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |