Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
This is the measure I'm using to calculate total gifts to date in the current fiscal year.
Solved! Go to Solution.
Hi @PBrainNWH - Sorry,
can you try either sameperiodlastyear or parallelperiod function from dax
Below logic i am sharing with Paralleperiod function.
GiftsLastFY =
CALCULATE(
[Total Gifts],
DATESYTD(
PARALLELPERIOD(Opportunity[CloseDate], -1, YEAR),
"6/30"
)
)
Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Proud to be a Super User! | |
Hi @PBrainNWH Create a measure that calculates the total gifts for the last fiscal year.
Create below measure and check:
GiftsLastFY =
CALCULATE(
[Total Gifts],
DATESBETWEEN(
Opportunity[CloseDate],
DATE(YEAR(TODAY())-1, 7, 1),
DATE(YEAR(TODAY()), 6, 30)
)
)
assuming FY ends with June.
Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Proud to be a Super User! | |
Thank you for replying.
The calculation GiftsLastFY is giving me the total for every day of the last fiscal year. I'm testing on one record and they have one $10,000 gift in last fiscal year.
Hi @PBrainNWH - Sorry,
can you try either sameperiodlastyear or parallelperiod function from dax
Below logic i am sharing with Paralleperiod function.
GiftsLastFY =
CALCULATE(
[Total Gifts],
DATESYTD(
PARALLELPERIOD(Opportunity[CloseDate], -1, YEAR),
"6/30"
)
)
Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Proud to be a Super User! | |
ParallellPeriod seems to work! Thank you.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
22 | |
21 | |
19 | |
13 | |
12 |
User | Count |
---|---|
41 | |
31 | |
23 | |
22 | |
22 |