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 nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is 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.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 25 | |
| 23 | |
| 19 | |
| 17 | |
| 14 |
| User | Count |
|---|---|
| 24 | |
| 20 | |
| 20 | |
| 19 | |
| 19 |