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 all,
I am working on a Headcount Details report, where the users requested a filter to show all employees as of a certain date - so the filter will be called 'As Of Date.'
I have indirect relationships built between a Date table (called Date) and a Fact table called HR FACT_WORKFORCEEVENT. The relationships are for a 'From Date' (EFFFROMDATE) and a 'To Date' (EFFTODATE).
Is there a way to create a calculated column (a flag) for all records where
The EFFTODATE is >= Selected Date && The EFFFROMDATE is <= Selected Date?
Hi @amitchandak, thank you for your response!
I actually used that measure before to count the amount of employees. But what I'm trying to do is filter the fact table (HR FACT_WORKFORCEEVENT) to show the detail of that count. So this detail tab would include all rows of those active employees. How do I build that column to filter the table?
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 | |
| 42 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 172 | |
| 107 | |
| 92 | |
| 54 | |
| 46 |