Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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:
Thanks for your help
Solved! Go to Solution.
Hi @RichOB ,
You can add an index column like-
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.
Attached file for reference.
Hope this helps!
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
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
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
Hi @RichOB ,
You can add an index column like-
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.
Attached file for reference.
Hope this helps!
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