Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi All,
We have snapshot Amount in our Data Model.
So, I have to create a calendar which automatically takes the last date amount of month/year if I have to calculateas below:
If(Calendar(Month) = Jan, Sum(Amount)) = (Result should be as 3000 )
&
If(Calendar(Year) = 2017, Sum(Amount)) = (Result should be as 5000)
Regards,
R_
HI @R_
Can you please post a sample of what you expect your output to look like?
eg, do you just want 2 rows for your example data or still have 8 rows?
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 27 | |
| 23 | |
| 18 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 54 | |
| 44 | |
| 42 | |
| 39 | |
| 36 |