Forum Discussion

alfertab's avatar
alfertab
Helper I
2 years ago
Solved

Waterfall Chart using different columns

Hi everyone, I'm having some troubles with Power BI Waterfall Chart and I would like to know if someone could help me.

For the moment I have a table like the following:

DateBilling before the batterySolar savingsBattery charge savingsBattery discharge savingsBilling after the battery
October 2023

15,000

-1,5003,400-4,76012,140
November 202313,540-9502,970-4,05011,510
December 202314,560-1,0603,120-4,23012,390

Having the table, I need to have a waterfall chart like the following:

Could someone please help me? 

 

Thanks 😄

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi, alfertab 

    Based on your description, adding a Visual Object for Ultimate Waterfall Free and I have created many measures to achieve the effect you are looking for. Following picture shows the effect of the display.

     

     

    Measure:

    new Billing after the battery =
    
    VAR _allBillingafter =
    
        CALCULATE ( SUM ( 'Table'[Billing after the battery] ) )
    
    VAR _newAllBatterydischarge = - ( _allBillingafter )
    
    RETURN
    
        _newAllBatterydischarge

     

    Best Regards,
    Yang
    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
    If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

    How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

     

     

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi, alfertab 

    Based on your description, adding a Visual Object for Ultimate Waterfall Free and I have created many measures to achieve the effect you are looking for. Following picture shows the effect of the display.

     

     

    Measure:

    new Billing after the battery =
    
    VAR _allBillingafter =
    
        CALCULATE ( SUM ( 'Table'[Billing after the battery] ) )
    
    VAR _newAllBatterydischarge = - ( _allBillingafter )
    
    RETURN
    
        _newAllBatterydischarge

     

    Best Regards,
    Yang
    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
    If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

    How to get your questions answered quickly --  How to provide sample data in the Power BI Forum