The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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!!!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
81 | |
75 | |
54 | |
48 |
User | Count |
---|---|
134 | |
124 | |
78 | |
64 | |
63 |