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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

same period 3 years ago for a fiscal year

I thought this would be easy....

 

I have 2 fiscal years of data:

Mar 1, 2015 - Feb 29, 2016 = F2016

Mar 1, 2018 - Feb 28, 2019 = F2019

 

All I'm trying to do is calculate the % increase between these two years.  (for sales, GP$, vehicle count, etc...)

 

I've tried parallelperiod but it just gives me same values for F2016, and nothing for F2019?!

Prior sales = CALCULATE([Sales $], PARALLELPERIOD('Date'[Date], -3, YEAR))
 
PLEASE HELP!!!

 

6 REPLIES 6
jdbuchanan71
Super User
Super User

@Anonymous 

Try it with DATEADD instead.

Prior Sales =
CALCULATE ( [Sales $], DATEADD ( 'Date'[Date], -3, YEAR ) )

PARALLELPERIOD was giving me some odd results in my test file (attached) but DATEADD worked fine.

FYDateAdd.jpg

Anonymous
Not applicable

This gives the same result as PARALLELPERIOD.

@Anonymous can you share your .pbix file?

Anonymous
Not applicable

Yes, can you walk me through how to do that?

 

I can't share my original file but I made a mock-up on that I can share. Both formulas come up with blank values so I figure if that issue gets solved I can try to apply it to my actual model.

The easiest way is to put it in OneDrive or DropBox then post the link here.

Anonymous
Not applicable

https://kaltire-my.sharepoint.com/:f:/r/personal/jacquie_rintoul_kaltire_com/Documents/Power%20BI%20...

 

Like that?

Thank you for your help, I REALLY appreciate your time!

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.