cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
christianyepez2 Regular Visitor
Regular Visitor

calculate parallel period in columns

Hi Everyone, 

 

I have a column with some dates or periods,  I need a calculated column with the parallel period, for example teh first result has to be January, 2017, the table is like this: 

 

Date

january, 2018

february, 2018

march, 2018

 

 

 

I am using this formula but the result is a blank column 

Parallel Perdiod = CALCULATE(PARALLELPERIOD(BSC_DATOS_FINANZAS_FLETES[Fecha].[Date];-1;YEAR)) 
 

I will appreciate some help

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Vvelarde Super Contributor
Super Contributor

Re: calculate parallel period in columns

@christianyepez2

 

Hi, try with this

 

Fecha1YPrev = EDATE(Table1[Fecha],-12)

Regards

 

Victor




Lima - Peru
Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!




View solution in original post

2 REPLIES 2
Vvelarde Super Contributor
Super Contributor

Re: calculate parallel period in columns

@christianyepez2

 

Hi, try with this

 

Fecha1YPrev = EDATE(Table1[Fecha],-12)

Regards

 

Victor




Lima - Peru
Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!




View solution in original post

Community Support Team
Community Support Team

Re: calculate parallel period in columns

@christianyepez2,

 

Or you can create a calculate column using DAX below and then change the format with (MMMM yyyy):

Parallel Perdiod = DATE(YEAR('Date'[Date]) - 1, MONTH('Date'[Date]), DAY('Date'[Date]))

Capture.PNG  

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 134 members 1,661 guests
Please welcome our newest community members: