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
Hello,
i have the below measure that functions correctly for rolling 3 month turnover. The issue I am having is that if an associate terms at the end of a month, they are counting in that months headcount because there term would be effective the following month. So, if i termed on 3/31/2021, i would be included in March's headcount and counted as a term in April. For my term count, in my measure I have: VAR LatestMonth = LASTDATE('Date Table'[Full Date]), so, its taking the end of the month terms. any way i can set it up to say something like; LASTDATE('Date Table'[Full Date]-1day)?
maybe provide some sample data and show the expected outcome. Likely you will need to protect the LASTDATE() with a CALCULATE() and a filter.
LASTDATE('Date Table'[Full Date])-1
I tried that but it excludes from all eom headcount, I want to include month end terms from my datesinperiod timefreame. So, for rolling 3 month, I want to exclude those who termed 3/31/2021 but include 2/28 and 1/31.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 39 | |
| 37 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 119 | |
| 100 | |
| 72 | |
| 69 | |
| 65 |