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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Sentry
Regular Visitor

Calendar Calculations (aaagghh)...!

Howdy,

 

I have a list of contract details for our organisation. Included is the supplier name, description, start and end date, and value of the contract.

 

I need to analyse the suppliers using a daily contract value basis to determine the shape of their overall contract 'run-off'.

 

By this I mean, some suppliers have many contracts that start and end at different dates. For Supplier A, I want to be able to graphically show the contract profile (from today going out 2 years) of all their contracts on a daily basis - and compare this to Supplier B. Note that some contracts expire soon, others will go out beyond 2 years. When I compare the shape of the contract run-off between Supplier A and Supplier B, there should be a difference.

 

Question:

 

When I have a fact table with key contract data (supplier, value, start date, end date, cost centre), should I create a new table that has the daily contract spend for a date range out for 2+ years. 

 

Is there a better way to solve this..?

 

 Appreciated.

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

HI @Sentry,

It sounds like you want to analysis rolling amount on date axis based on two data fields and group by suppliers.
If this is a case, I'd like to suggest you create a calculate table to expand these date range and mapping to the original table. You can simply create a line chart to analyze records based on new table date range.

Spread revenue across period based on start and end date, slice and dase this using different dates 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

HI @Sentry,

It sounds like you want to analysis rolling amount on date axis based on two data fields and group by suppliers.
If this is a case, I'd like to suggest you create a calculate table to expand these date range and mapping to the original table. You can simply create a line chart to analyze records based on new table date range.

Spread revenue across period based on start and end date, slice and dase this using different dates 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
amitchandak
Super User
Super User

Please refer if this can help you in handling start and end dates

HR-Analytics-Active-Employee-Hire-and-Termination-trend

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges

Connect on Linkedin

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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