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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
nirduek
Employee
Employee

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
v-rzhou-msft
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
Employee
Employee

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
Employee
Employee

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

v-rzhou-msft
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.