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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Akash_Raja
New Member

Contract amount distribution among the current year based on the period

Hi,

Input data:

contractstart dateend dateTotal AmountType
C1Jan 1,2024Dec 31, 20241000Annually
C2Mar 1, 2023Apr 30, 202512000Monthly
C3Jul 1, 2023Jun 30, 20245000Quaterly
C4Jan 24, 2024Mar 1, 2024300Monthly
C5Mar 3, 2020Mar 2, 20255000

Annually

 

Output:

 JanFebMarAprMayJunJulAugSeptOctNovDec
C11000           
C2500500500500500500500500500500500500
C31250  1250        
C4100100100         
C5  1000         

 

Actually I need to create a Matrix visualisation like the output shown above.

The main motive of this dashboard is for planning the budget for the current year only

 

Calculation part-

The amount value should divide based on the schedule. 

Eg. For C2 the total duration of the contract is 24 months then 12000*24 = 500 which is the monthly cost, same like that if it's Annually then the amount should divide once a year based on the total duration of the contract period and If quaterly then number of quaters among the contract period 

 

Visualisation part-

Basically it should be in Matrix visualisation and it should only Shows the amount split for the current year only but for the calculation of amount can take the whole part of contract period.

 

Note: this is sample data but my data has some ~1000 line items.

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

For C2 the total duration of the contract is 24 months then 12000*24 = 500 

Your sample data for C2 lists 25 months, not 24.  C4 only goes over 2 months, not 3.

 

lbendlin_0-1729967680264.png

 

 

 

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

For C2 the total duration of the contract is 24 months then 12000*24 = 500 

Your sample data for C2 lists 25 months, not 24.  C4 only goes over 2 months, not 3.

 

lbendlin_0-1729967680264.png

 

 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.