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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anders_G
Helper I
Helper I

Distribute values between two dates

I have these forecast amounts that I want to distribute evenly in the upcoming quarters (not including the quarter of the start date).

 

I have been able to do an even distribution between the start and end dates by creating new columns that adds all the dates between the start and end dates and then based on the number of days between the dates calculates an amount per day.

Anders_G_6-1659523840858.png

So far everything works. But, I have been asked to not include the quarter in which the start date falls. So the calculation should not start from 2022-01-01, but 2022-04-01. (Q1= Jan-Mar, Q2=Apr-Jun, Q3=Jul-Sep, Q4=Oct-Dec)

 

So the same amount (150,000). But, evenly divided over Q2-Q4. How could I calculate this?

 

 

Anders_G_3-1659523175806.png 

Anders_G_4-1659523220526.png

 

Anders_G_5-1659523423302.png

 

 

 

1 ACCEPTED SOLUTION
v-kkf-msft
Community Support
Community Support

Hi @Anders_G ,

 

Please add the new column.

 

Column =
DIVIDE (
    SUM ( 'Table'[Forecast Amount] ),
    COUNTROWS (
        FILTER (
            Dates,
            Dates[QUARTER] > QUARTER ( MAX ( 'Table'[Start date] ) )
                && Dates[Date] <= MAX ( 'Table'[End date] )
        )
    )
)

vkkfmsft_0-1659951633463.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
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

1 REPLY 1
v-kkf-msft
Community Support
Community Support

Hi @Anders_G ,

 

Please add the new column.

 

Column =
DIVIDE (
    SUM ( 'Table'[Forecast Amount] ),
    COUNTROWS (
        FILTER (
            Dates,
            Dates[QUARTER] > QUARTER ( MAX ( 'Table'[Start date] ) )
                && Dates[Date] <= MAX ( 'Table'[End date] )
        )
    )
)

vkkfmsft_0-1659951633463.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.