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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
ChaseG_BI
Frequent Visitor

Help with Previous Fiscal Year to Date sum of measure

Hello,

 

I've tried using parallelperiod and sameperiod to create a measure that returns the sum [Charges] for the Previous Fiscal Year to Date. The result of both DAX's is the sum of [Charges] for all records, regardless of my page filter >=10/1/2023 and the latest date in the file is 7/14/2024

 

Attempt 1: returns all [Charges] in the data:

PreviousYearSamePeriodCharges =
CALCULATE(
    SUM(FinalTable2[Charges]),
    SAMEPERIODLASTYEAR('Date'[Date])
)
 
Attempt 2: returns all [Charges] in the data:
PrevYearParallelPeriod = CALCULATE (
   SUM (FinalTable2[Charges]),
   PARALLELPERIOD ('Date'[Date], -1,YEAR)
)
 
ChaseG_BI_0-1721135728327.png

 

Here is the desired result which I attained simply changing my Date filter to 10/1/22 - 7/14/23

ChaseG_BI_1-1721135788842.png

 

Below is an excerpt of the specific columns from the data.  Thank you for any assistance!

 

POSTDATESUPERVISINGPROVIDER Charges
4/1/2023R_R$2,979
5/1/2023R_R$4,421
6/1/2023R_R$93,317
7/1/2023R_R$140,088
8/1/2023R_R$211,991
9/1/2023R_R$324,809
10/1/2023R_R$157,192
11/1/2023R_R$177,722
12/1/2023R_R$120,210
1/1/2024R_R$96,285
2/1/2024R_R$243,313
3/1/2024R_R$229,711
4/1/2024R_R$227,534
5/1/2024R_R$260,698
6/1/2024R_R$213,828
7/1/2024R_R$70,699
3 REPLIES 3
some_bih
Super User
Super User

Hi @ChaseG_BI to calculate fiscal amount you need to have fiscal year definition, like it start in March or June...

then you should adopt in your measure.

Example of fiscal year on link. Hope this helps





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






Thanks for the suggestion.  I'd rather just use a filter to drive the date range.  Also, my date table does specify an October start to our Fiscal year.  Thanks!

Hi @ChaseG_BI the best would be to create measure for fiscal amount, similar on link. Still, you know better your model and requirements.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.