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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
SpiroswayGR
Resolver III
Resolver III

Difficult Task - Cumulative but Net Difference

Dear Community,

 

Let me explain the problem.

1st : We have Data from Hotel Reservations

2nd: We want to Sum Net Difference of reservations and cancellations (Reservations - Cancellations)

3rd : Reservations should be calculated with System Date when they add in system reservation

4th : Cancellation should be calculated with Cancelation Date when they cancel it.

5th : Visual this difference as cummulative For example : 1st day : 100 reservations 50 cancellations = net 50 2nd day : 70 reservations 20 cancellation = 50 +(70-20) = 100 3rd day : 10 reservations 70 cancellations = 100(last day total) + (10-70) = 40

So we will have at the end a diagram with "System Date" (maybe) that each day will have total information per day.

 

Any Solution on that ? 

 

Thanks in advance

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@SpiroswayGR , You can join both dates with the same date table. One Active and One Inactive join will be there.  You can use userelation to choose the join

Refer: https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@SpiroswayGR , You can join both dates with the same date table. One Active and One Inactive join will be there.  You can use userelation to choose the join

Refer: https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak Looks like that is the solution that i am looking for.

 

I will try to apply it on my data. In case , that is not working on me . Can i share some "fake data" to help me around with solution ?

 

Thanks in advance

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Solution Authors
Top Kudoed Authors