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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

Measure to calculate period change with custom time periods

Hi,

I am looking to calculate activity to catch the total time spent on a project but the data that I receive is not ideal.  

I need to be able to calculate the cumulative change from the prior custom period.

 

The data is set up like this  

 

UserProjectMinutesTime PeriodWeekCumulative Minutes
1A54.0166662012-P11354.016666
1A107.7833312023-P1153.766665
1A298.683332023-P12190.899999
1A359.5166652023-P2360.833335
     359.516665
      
The results should just take the change from the prior period and I don't want to include the normal date structure that I see in typical examples.      
Desired Result     
   2012-P11 54.016666
   2023-P1 244.666664
   2023-P2 60.833335
   Total 359.516665

 

2 REPLIES 2
Anonymous
Not applicable

I appreciate the quick response but this doesn't really seem to help.  I still get to the place where it works at year-period-week but not at a year-period.  

I even tried to just add an index for each year-period and that doesn't work either.

Any thoughts?

amitchandak
Super User
Super User

@Anonymous , You need use rank on YYYYPP and then use that for POP

 

Power BI Custom Period Till Date (PTD)- https://youtu.be/rQ3Z_LtxwQM

 

Time Intelligence, Part of learn Power BI https://youtu.be/cN8AO3_vmlY?t=27510
Time Intelligence, DATESMTD, DATESQTD, DATESYTD, Week On Week, Week Till Date, Custom Period on Period,
Custom Period till date: https://youtu.be/aU2aKbnHuWs&t=145s

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.