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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.