This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
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 us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 44 | |
| 36 | |
| 23 | |
| 20 | |
| 20 |