Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
R_
Regular Visitor

Calculated Calendar

Hi All,

 

We have snapshot Amount in our Data Model.

 2Capture.JPG

 

                                                                                                         

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_

1 REPLY 1
Phil_Seamark
Microsoft Employee
Microsoft Employee

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?

 


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.