Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi
I'm hoping someone can help me with the below, I've been stuck on this for far too long 🙂
I need to provide a report on historical headcount and to filter this by location
I have tried to use the below formula with ALL and ALLSELECTED. All gives me the correct total but I am unable to filter, can anyone help me please?
ALl Cons Headcount =
CALCULATE (
DISTINCTCOUNT('Current Assignments'[ID]),
FILTER (('Current Assignments'),
'Current Assignments'[Start Date]<= MAX ( 'Calendar'[DayMonthYear]) && 'Current Assignments'[End Date] >= Max ('Calendar'[DayMonthYear])),all('Calendar'))
Try like the above or use crossfilter to remove date and assignment join
Thank you!
Unfortunately the amended formula above returned blank and I've tried the crossfilter option and I couldn't get that to work either, unless I've put it in the wrong place
The True/False expression does not specify a column. Each True/False expressions used as a table filter expression must refer to exactly one column.
Hi @Kerry2701 ,
I am not clear about your requirement, if possible could you please inform me more detailed information(such as your expected output and your sample data (by OneDrive for Business))? Then I will help you more correctly.
Please do mask sensitive data before uploading.
Thanks for your understanding and support.
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 40 | |
| 21 | |
| 18 |