Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Headcount

Hello

 

I am new to Power BI and I'm struggling to write a measure which pulls out the HC for the last period of each previous FY to compare against the current FY month.

 

Can anyone advise please? Sorry if this is a simple query 😞

 

Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

You may create fiscal columns in your calendar table as explained in the below blog post and leverage those columns in your calculations.

Create a Date Dimension in Power BI in 4 Steps – Step 2: Fiscal Columns - RADACAD

If you want to handle this with DAX, refer to the following post

Creating Financial Calendar - Decoding Date and Ca... - Microsoft Power BI Community

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

You may create fiscal columns in your calendar table as explained in the below blog post and leverage those columns in your calculations.

Create a Date Dimension in Power BI in 4 Steps – Step 2: Fiscal Columns - RADACAD

If you want to handle this with DAX, refer to the following post

Creating Financial Calendar - Decoding Date and Ca... - Microsoft Power BI Community

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

BA_Pete
Super User
Super User

Hi @Anonymous ,

 

You'll need to provide an example of your data and its structure.

This isn't just a generic query/calculation, it will need to be tailored to your data.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors