Forum Discussion

R_'s avatar
R_
Regular Visitor
8 years ago

Calculated Calendar

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_

1 Reply

  • Phil_Seamark's avatar
    Phil_Seamark
    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?