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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Calculate hours plus the next 30 days

Hi I'm trying to calculate how many hours are spent on a pro bono rotation. 

 

I have the below measure that calculates the Pro Bono Hours for individuals doing a pro bono rotation. 

Pro Bono Rotation = CALCULATE([Pro Bono],
                    FILTER(WFE, WFE[Practice Area Name]= "Pro Bono"))
 
However, when their rotation is finished they get pro bono hours credit for the next 30 days after their rotatio. Rotation periods are as follows;
Jan-Feb
Mar-June
Jul-Sept 
 
I'm not sure how to write a measure that give them credit for next 30 days follwing their rotation.
2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous 

 

Can you provide some virtual data and expected results? Please be careful to delete sensitive data. It is best presented in tabular form.

 

Regards,

Nono Chen

Anonymous
Not applicable

Person A. Had a Pro Bono Rotation in the beginning of the Associate Year. Nov-Feb. I need to calculate pro bono hours during the rotation and also the next month when they went back to practice area – Development. The total Pro Bono Rotation hours should be 742

 

Person B. Had a Pro Bono Rotation Mar- June I need to calculate pro bono hours during the rotation and also the next month when they went back to practice area – Development. The total Pro Bono Rotation hours should be 590 +  July hours

 

Fee Earner

Nov 23

Dec 23

Jan 14

Feb 24

Mar 24

Apr 24

May 24

June

July

Person A

 

 

 

 

 

 

 

 

 

Pro Bono Rotation

157

157

159

157

 

 

 

 

 

Development Practice

 

 

 

 

112

41

55

68.7

 

Person B

 

 

 

 

 

 

 

 

 

Pro Bono Rotation

 

 

 

 

128

167

182

113

 

Health Practice

7.5

1.5

21.3

9.5

 

 

 

 

 

 

 

Originally to figure out Pro Bono Rotation I used this measure Pro Bono Rotation = CALCULATE([Pro Bono],

                    FILTER(WFE, WFE[Practice Area Name]= "Pro Bono"))

 

However this measure does not add the next month

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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