Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I need to count the number of accumulated contracts (formula below) per month. Then I need the same calculation to compare with the last year.
At this point is when I can not continue. I don't know where or how use SAMEPERIODLASTYEAR.
The Fact table is "ContratosServicio" and the Calender table "Calendario".
Solved! Go to Solution.
Hi @joaquinel ,
I think you have to use this measure
CALCULATE(
[15_TotalBOPLastPeriod],
SAMEPERIODLASTYEAR('calendario'[date])
)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @joaquinel ,
I think you have to use this measure
CALCULATE(
[15_TotalBOPLastPeriod],
SAMEPERIODLASTYEAR('calendario'[date])
)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Great!!!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.