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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
RichOB
Post Partisan
Post Partisan

Calculating previous quarter figure in new column

Hi, how can I get the previous quarter count in a new measure to then calculate the % change from the previous FQ, please? For example, I need a new column called Previous_Count where FY2024 FQ4 shows 119.

 

This is what I currently have, along with a calendar with the financial year and financial quarter columns:

 

SccountCal.pngSCcount.png

 

Thanks for your help

 

 

1 ACCEPTED SOLUTION
v-sdhruv
Community Support
Community Support

Hi @RichOB ,

You can add an index column like-

vsdhruv_0-1753857132696.png

Then use this DAX in your calculated column-

Previous = 
CALCULATE(
    MAX('Table'[Count]),
    FILTER(
        'Table',
        'Table'[Index] = EARLIER('Table'[Index],1) -1
    )
)


You will get the previous count.

vsdhruv_1-1753857287162.png

Attached file for reference.

Hope this helps!

View solution in original post

5 REPLIES 5
v-sdhruv
Community Support
Community Support

Hi @RichOB ,

Since we didnt hear back, we would be closing this thread.
If you need any assistance, feel free to reach out by creating a new post.

Thank you

v-sdhruv
Community Support
Community Support

Hi @RichOB ,

Just wanted to check if you had the opportunity to review the suggestions provided and whether that helped to resolve the issue?

Thank You

v-sdhruv
Community Support
Community Support

Hi @RichOB ,
Just wanted to check if you had the opportunity to review the suggestions provided and whether that helped to resolve the issue?

Thank You

v-sdhruv
Community Support
Community Support

Hi @RichOB ,

You can add an index column like-

vsdhruv_0-1753857132696.png

Then use this DAX in your calculated column-

Previous = 
CALCULATE(
    MAX('Table'[Count]),
    FILTER(
        'Table',
        'Table'[Index] = EARLIER('Table'[Index],1) -1
    )
)


You will get the previous count.

vsdhruv_1-1753857287162.png

Attached file for reference.

Hope this helps!

Jihwan_Kim
Super User
Super User

Hi,

One of ways is to use Visual Calculation, and use PREVIOUS function in the formula bar.

Please check the link down below.

 

Using visual calculations in Power BI Desktop - Power BI | Microsoft Learn

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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
Top Kudoed Authors