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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.