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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
watje255_ju
Helper III
Helper III

Pro rate monthly amounts over fiscal weeks

Hello, 

I have a monthly forecast that is entered on the first/second day of the month, and I want to count the number of fiscal months in that month, pro rata the total amount, and then graph that pro rata'd amount over each fiscal week in that month so we can compare with weekly sales. 

 

Please see link to PBIX file Monthly Allocation Test.pbix and the desired result screenshot of the table below for the first few months 

 

Thanks!Desired Result.PNG

2 REPLIES 2
watje255_ju
Helper III
Helper III

Hi Yilong Zhou, thanks so much for your reply. The picture of the table and graph i showed was the desired solution, using the dataset in the PBIX file/model  I sent a link to in the original post - the dataset looks like the below. Thanks!  Monthly Allocation Test.pbix 

Thanks! Dataset.PNG

Anonymous
Not applicable

Hi @watje255_ju ,

I create a table as you mentioned.

vyilongmsft_0-1713320138217.png

Then I get an Index column and create a new calculated column.

Column =
VAR _Current = 'Table'[Fiscal Week2]
RETURN
    CALCULATE (
        MAX ( 'Table'[Monthly Allocation] ),
        FILTER ( ALL ( 'Table' ), 'Table'[Fiscal Week2] = _Current )
    )

vyilongmsft_1-1713320533961.png

When I Put it into the Stacked column chart, you will get what you want.

vyilongmsft_2-1713320749662.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.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.