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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Same Period Last Year uneven Reporting Months

I am struggling to get the 2020 prior year per month figures in yellow cell fill (column E) in the bottom left table to to equal the 2019 current year per month figures in blue fill (column D) in the top left table.
I did manage to get the 2020 prior year total figure to equal the 2019 current year figure ( 1 111 026 844.07 )

Where I use the calendar month period, everything works out. Per month and year total.

 

The measure for Same Month Last Year = 

 

Gross Written Premium - Same Month Last Year DT FD DATEADD:=
CALCULATE ( [Gross Written Premium],
DATEADD (DIM_Time[FullDate], -1, YEAR)
)

 

Can somebody help me?

 

nikilouwgmail_1-1654611737993.png

 

@AllisonKennedy  @Ashish_Mathur  @amitchandak @Greg_Deckler - I have seen related posts by you, but not where the reportingmonths are different each month (current year months and prior year months) - could you possibly assist with a solution?

3 REPLIES 3
Anonymous
Not applicable

@Greg_Deckler - could you perhaps help? It seems my situation is complicated because reportingmonths are different each month (current year months and prior year months).

could you apply your post TITHW as a solution?

 

Anonymous
Not applicable

hi @amitchandak 

No, the the reportingmonth periods (reportingdatestart and reportingdateend) are not the same each year.

amitchandak
Super User
Super User

@Anonymous , do the reporting start date and reporting end date have the same value for a prior year too?

Remove those from visual and try

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.