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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I'd like to create a roll forward of headcount data . My data is in this format
| Function | Date | |
| Hire1 | A | Jan |
| Leaver1 | B | Feb |
| Hire2 | C | March |
| Hire3 | D | June |
| Leaver2 | E | July |
| Leaver3 | F | Feb |
The roll forward should look like this. I'm not clear on how to get the next month's data to automatically roll forward.
| Jan | Feb | Mar | Apr | May | Jun | Jul | |
| Total Hdct | 120 | 121 | 119 | 120 | 120 | 120 | 121 |
| Hire1 | 1 | ||||||
| Leaver1 | -1 | ||||||
| Hire2 | 1 | ||||||
| Hire3 | 1 | ||||||
| Leaver2 | -1 | ||||||
| Leaver3 | -1 | ||||||
| EOM | 121 | 119 | 120 | 120 | 120 | 121 | 120 |
@lab
Calculate(sum(value),Filter(allselected(Datesdim),datesdim[Date]>=min(datesdim[date]))
Try this and let me know, but you must have a date table
Proud to be a Super User!
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 52 | |
| 45 | |
| 16 | |
| 16 |
| User | Count |
|---|---|
| 107 | |
| 105 | |
| 40 | |
| 33 | |
| 25 |