Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Hey Everyone,
I have a headcount table that shows current headcount and planned headcount for the next 12 months. The structure of it looks like this and it's named 'CombinedHC':
The Fiscal Period column has a relationship to a Month table named dim_Month.
We're two months into our fiscal year, so right now there's no values in the Current HC column for periods 202203 through 202212.
What I am looking to do is write a measure to carry the latest Current HC value forward to all future months. So in the above example, carry the value of 26 from period 202202 forward to the months of 202203 through 202212. Any help is appreciated!
@weldonator6789 see attached, I just created a sample pbix file to give you an idea on how you can calculate it. Tweak the measure as you see fit.
✨ Follow us on LinkedIn
Learn about conditional formatting at Microsoft Reactor
My latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@parry2k Thank you for your help! I realized I left out a few columns in my screenshot above that I believe are impacting the results of the measure.
Each month can have multiple different LOB, Roles, and a Service/Install column. The Carryforward measure is calculating 9 for everything in 202203 and beyond into future months. I believe the issue may be stemming from the TOPN piece of the measure, but I tried tweaking that and couldn't get it to work...
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
72 | |
67 | |
65 | |
42 | |
42 |
User | Count |
---|---|
46 | |
38 | |
28 | |
26 | |
26 |