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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Syndicate_Admin
Administrator
Administrator

Calculation between dates

Hello community,

I'm trying to add a waterfall diagram to my report to show the tons coming in and out, but the problem is that my history I separate it only in the "M" shift and separated by days, as seen in the diagram.

Kddk852_0-1660578162570.png

I have my variation table with inputs and outputs between each shift

Kddk852_1-1660578363262.png

However, I have noticed that I have to add the variation of the shift of two different dates (For example, Shift "V" July 12 + Shift "M" July 13), since what my waterfall diagram does is add the two shifts of the same day (Shift "M" July 12 + Shift "V" July 12) which is as shown in the photo

Kddk852_2-1660578609010.png

Here's what Power BI adds up

Kddk852_4-1660582385398.png

And this is what I want you to add up

Kddk852_5-1660582433363.png

Thanks in advance

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

Hi, @Syndicate_Admin 

You can consider creating a custom category based on 'Turno' and 'Fecha LC'.

Calculated column:

 

Category =
IF (
    'Table'[Turno] = "V",
    'Table'[Fecha LC] & "V to " & ( 'Table'[Fecha LC] + 1 ) & "M",
    'Table'[Fecha LC] - 1 & "V to " & 'Table'[Fecha LC] & "M"
)

 

Then, replace ‘Fecha LC' with the new field 'Category' and apply it to the category of the waterfall chart.

 

Best Regards,
Community Support Team _ Eason

View solution in original post

1 REPLY 1
v-easonf-msft
Community Support
Community Support

Hi, @Syndicate_Admin 

You can consider creating a custom category based on 'Turno' and 'Fecha LC'.

Calculated column:

 

Category =
IF (
    'Table'[Turno] = "V",
    'Table'[Fecha LC] & "V to " & ( 'Table'[Fecha LC] + 1 ) & "M",
    'Table'[Fecha LC] - 1 & "V to " & 'Table'[Fecha LC] & "M"
)

 

Then, replace ‘Fecha LC' with the new field 'Category' and apply it to the category of the waterfall chart.

 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.