Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 37 | |
| 28 | |
| 25 |
| User | Count |
|---|---|
| 122 | |
| 92 | |
| 70 | |
| 68 | |
| 66 |