cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cristianml
Post Patron
Post Patron

Same Period Last Year Not Working

Hi,

I need help with the following formula. Seems there is no error but is not showing any amount in the column

Value last period = CALCULATE(SUM(Plan[Value]),SAMEPERIODLASTYEAR(Plan[Period]))

cristianml_0-1634846364086.png

 

Could you help ?

1 ACCEPTED SOLUTION
elofstrom
Resolver I
Resolver I

Hi Christian - 
Try creating it as a calculated measure rather than a calculated column.  Also - make sure that Plan[Period] is a date column to use that time intelligence function SAMEPERIODLASTYEAR.

Eric

 

View solution in original post

1 REPLY 1
elofstrom
Resolver I
Resolver I

Hi Christian - 
Try creating it as a calculated measure rather than a calculated column.  Also - make sure that Plan[Period] is a date column to use that time intelligence function SAMEPERIODLASTYEAR.

Eric

 

View solution in original post

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors