Forum Discussion

TH_BI's avatar
TH_BI
Frequent Visitor
4 years ago
Solved

Waterfall Chart: Need Help with Start, Movement, End

Hi Power Bi Coomunity

 

This question has been asked in various forms but I am still having trouble with a solution. I'm a beginner and I really need help!

 

I need to create a waterfall chart that has the following bars:

    Starting Bar - Revenue at December 2020

    Movement - By quarter (movement between last month of the quarter and December 2020). Currently I've calculated it as a measure. 

    Closing Bar - Revenue at December 2021

 

Example:

MonthMonthly MovementClosing ValueWaterfall BarsWaterfall Bars Value
Dec-20         1000Starting Bar1000
Jan-21        10        1010  
Feb-21        20        1030  
Mar-21        30        1060Q1 Bar60
Apr-21        -40        1020  
May-21        -50        970  
Jun-21        -60        910Q2 Bar-150
Jul-21        70        980  
Aug-21        80        1060  
Sep-21        90        1150Q3 Bar240
Oct-21        100        1250  
Nov-21        110        1360  
Dec-21        120        1480Q4 Bar330
   Closing Bar1480

 

The chart should look like this. I've created it in excel. 

 

I'm having trouble showing the Starting and Closing Bar. As I have the movement in Y axis as measure, Power BI is showing the starting point as also a movement.

 

Can someone please help? Please let me know if more info is required. 

 

Thanks


Tanim

 

  • Hi TH_BI ,

     

    A similar effect can be achieved, but since the waterfall bars field is a text field, the x-axis sorting may not be accurate.

    M_sum =
    IF (
        MAX ( Table_test[Waterfall Bars] ) = "Starting Bar",
        1000,
        CALCULATE (
            SUM ( Table_test[Monthly Movement] ),
            ALLEXCEPT ( Table_test, Table_test[Waterfall Bars] )
        )
    )

     

    related document:

    Waterfall charts in Power BI - Power BI | Microsoft Docs

     

    If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


    Best Regards,
    Henry


    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

2 Replies

  • That's how the waterfall chart works. It doesn't have a concept of "Starting Bar".

  • v-henryk-mstf's avatar
    v-henryk-mstf
    Community Support

    Hi TH_BI ,

     

    A similar effect can be achieved, but since the waterfall bars field is a text field, the x-axis sorting may not be accurate.

    M_sum =
    IF (
        MAX ( Table_test[Waterfall Bars] ) = "Starting Bar",
        1000,
        CALCULATE (
            SUM ( Table_test[Monthly Movement] ),
            ALLEXCEPT ( Table_test, Table_test[Waterfall Bars] )
        )
    )

     

    related document:

    Waterfall charts in Power BI - Power BI | Microsoft Docs

     

    If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


    Best Regards,
    Henry


    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.