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

Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Kudoed Authors