cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nirduek
Microsoft
Microsoft

Creating a waterfall from calculated columns

Hi there,

 

I am trying to create a waterfall chart from calculated columns that are not combined under one field (meaning, that I cannot drag a field to the category section on the Visualization pane). Is it possible?

 

More detailed explanation - as presented in the attached screenshot, I have 3 segments for which I calcualted different financial aspects (revenue, run rate, opportunity size). When I try to create a waterfall chart I receive in return the total financial gain for each segment seperately, while I want to see a breakdown of each financial aspect (the total of the 3 segments together). So, ideally I will see in my chart Revenue (Segment A + B + C), Run Rate (Segment A + B + C), Opportunity (Segment A + B + C), Total.

 

If anyone knows how can I solve it, that would be great.

 

Many thank,

Nir

 

Power BI Community Screenshot.png

2 ACCEPTED SOLUTIONS
RicoZhou
Community Support
Community Support

Hi @nirduek ,

 

If your table looks like as below, I think you can try my way.

RicoZhou_0-1663053036924.png

Calculated table:

Table 2 = 
DATATABLE(
    "Category",STRING,
    "Order",INTEGER,
    {
    {"Revenue",1},
    {"Run Rate",2},
    {"Opportunity",3}
    })

 Measure:

Measure = 
SWITCH(MAX('Table 2'[Category]),"Opportunity",CALCULATE(SUM('Table'[Opportunity])),"Revenue",CALCULATE(SUM('Table'[Revenue])),"Run Rate",CALCULATE(SUM('Table'[Run Rate])))

Result is as below.

RicoZhou_1-1663053100066.png

 

Best Regards,
Rico Zhou

 

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

View solution in original post

nirduek
Microsoft
Microsoft

Hi Rico,

Thank you very much for your assistance.

Will that method work while using live data import? also, since I cannot create a new table (again, the data is live), will it be enough to only create the measure (so far, it does not work).

 

Many thanks,

Nir

View solution in original post

2 REPLIES 2
nirduek
Microsoft
Microsoft

Hi Rico,

Thank you very much for your assistance.

Will that method work while using live data import? also, since I cannot create a new table (again, the data is live), will it be enough to only create the measure (so far, it does not work).

 

Many thanks,

Nir

RicoZhou
Community Support
Community Support

Hi @nirduek ,

 

If your table looks like as below, I think you can try my way.

RicoZhou_0-1663053036924.png

Calculated table:

Table 2 = 
DATATABLE(
    "Category",STRING,
    "Order",INTEGER,
    {
    {"Revenue",1},
    {"Run Rate",2},
    {"Opportunity",3}
    })

 Measure:

Measure = 
SWITCH(MAX('Table 2'[Category]),"Opportunity",CALCULATE(SUM('Table'[Opportunity])),"Revenue",CALCULATE(SUM('Table'[Revenue])),"Run Rate",CALCULATE(SUM('Table'[Run Rate])))

Result is as below.

RicoZhou_1-1663053100066.png

 

Best Regards,
Rico Zhou

 

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

Helpful resources

Announcements
Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors