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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Mengeltje
Frequent Visitor

Parallelperiod measure last year with no data current year

Hi there,

in my report I've created the measure parallelperiod. What I need is the actuals of this year in comparison with the actuals of last year over the months. Because there is no data of this year for July and further the measure shows no data for these months for last year.

The measure is: 

LastYear = CALCULATE(SUM(Calls[Aangeboden oproepen]), PARALLELPERIOD('Date'[Date],-1,MONTH))

 

There is a print screen attached. 

What I need is the whole of last year and the actuals of this year till the current month.

 

Thank you for your advice.

 

Mengeltje_0-1623420728196.png

 

 

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @Mengeltje 

 

Use the Date column from Date table into the Matrix. And you may consider using SAMEPERIODLASTYEAR or DATEADD functions to get the same result.

Time Comparisons In Power BI: This Year vs Last Year | Enterprise DNA

DateAdd vs ParallelPeriod vs SamePeriodLastYear; DAX Time Intelligence Question - RADACAD

 

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

View solution in original post

1 REPLY 1
v-jingzhang
Community Support
Community Support

Hi @Mengeltje 

 

Use the Date column from Date table into the Matrix. And you may consider using SAMEPERIODLASTYEAR or DATEADD functions to get the same result.

Time Comparisons In Power BI: This Year vs Last Year | Enterprise DNA

DateAdd vs ParallelPeriod vs SamePeriodLastYear; DAX Time Intelligence Question - RADACAD

 

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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