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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
crjackson
Helper I
Helper I

Max Value per Quarter

I am working on effort certification which happens once a quarter. I am comparing what they certify vs the hours they actualy work per fiscal quarter/year. Our FY starts in September so they would certify on 9/1, 12/1, 4/1 and 7/1. I can't get the max to work once i filter by fiscal month even though it is within the same quarter. So if someone says they will do 20% effort on 9/1. I want to be able to use that percentage for Sep - Nov. It seems to work in September but when I change to October, it is blank even though it is within the quarter. 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @crjackson ,

I create a table as you mentioned.

vyilongmsft_0-1715737828586.png

Then I create a calculated column and here is the DAX code.

Quarterly Effort % =
VAR QuarterStart =
    DATE ( YEAR ( 'Table'[Date] ), MONTH ( 'Table'[Date] ), 1 )
VAR QuarterEnd =
    EOMONTH ( QuarterStart, 2 )
RETURN
    CALCULATE (
        AVERAGE ( 'Table'[EffortPercentage] ),
        FILTER ( 'Table', 'Table'[Date] >= QuarterStart && 'Table'[Date] <= QuarterEnd )
    )

vyilongmsft_1-1715738030365.png

 

 

 

Best Regards

Yilong Zhou

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

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @crjackson ,

I create a table as you mentioned.

vyilongmsft_0-1715737828586.png

Then I create a calculated column and here is the DAX code.

Quarterly Effort % =
VAR QuarterStart =
    DATE ( YEAR ( 'Table'[Date] ), MONTH ( 'Table'[Date] ), 1 )
VAR QuarterEnd =
    EOMONTH ( QuarterStart, 2 )
RETURN
    CALCULATE (
        AVERAGE ( 'Table'[EffortPercentage] ),
        FILTER ( 'Table', 'Table'[Date] >= QuarterStart && 'Table'[Date] <= QuarterEnd )
    )

vyilongmsft_1-1715738030365.png

 

 

 

Best Regards

Yilong Zhou

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

 

So the issue with this is I don't want to have to populate a row for each physician each month. They fill out the certification form once a Fiscal Quarter so the table looks like this:

crjackson_0-1716996279608.png

I would like what they enter in September "20%" to count for the entire quarter so September, October and November. I was trying to calculate the Max per Fiscal Quarter however the problem I am running into is that as soon as the slicer changes to October (within the same quarter), it renders a blank. 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.