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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors