cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
James_Bennett Frequent Visitor
Frequent Visitor

Waterfall Chart using Measures

Hi,

 

I'm trying to reproduce a graph originally built in Excel in PowerBI. The Excel graph uses multiple measures as shown here:

 

Excel_Waterfall.PNGExcel Waterfall

 

The columns are measures created in PowerBI off a a substantial data set:

 

Measures.PNGMeasures

 

Any attempt to reproduce this in PowerBI has failed. The chart simply does not let me add the different measures anywhere except the "Tooltips" area.  For some reason this is not a problem in other types of charts, such as a column chart seen below:

 

BI_Bar.PNGBI Columns

 

  

Is there some work around here? Could i somehow modify the column chart to act like a waterfall chart? Do waterfall charts not work with measures?

 

Edit: Changed the BI Columns image to be more readable.

1 ACCEPTED SOLUTION

Accepted Solutions
James_Bennett Frequent Visitor
Frequent Visitor

Re: Waterfall Chart using Measures

I wasn't able to find the solution I wanted. I considered building a custom visual with R or Python, but I have no expereince in those. I tried downloading the custom Sunbust visual, but it's got the same problem as the waterfall. I settled on doing a doughnut chart. 

It would be great to see these wrinkles sorted out. In my mind, there is no good reason I can do a bar graph with the right data, but not a waterfall. 

View solution in original post

6 REPLIES 6
v-danhe-msft Super Contributor
Super Contributor

Re: Waterfall Chart using Measures

Hi @James_Bennett,

Based on my research, I am afraid the Water Fall chart may not support different measures, you could try to ues the Ultimate Waterfall chart to have a try:

https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104380956

It could allow multiple measures to create a water fall visual:

1.PNG

Regards,

Daniel He

 

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
James_Bennett Frequent Visitor
Frequent Visitor

Re: Waterfall Chart using Measures

I think you're right v-fanhe-msft. I've been looking into it using R or Python as well. I'll post back here when I find a solution.

v-danhe-msft Super Contributor
Super Contributor

Re: Waterfall Chart using Measures

Hi @James_Bennett,

Ok, if you could find a solution, don't forget to mark an answer to close this topic.

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
James_Bennett Frequent Visitor
Frequent Visitor

Re: Waterfall Chart using Measures

I wasn't able to find the solution I wanted. I considered building a custom visual with R or Python, but I have no expereince in those. I tried downloading the custom Sunbust visual, but it's got the same problem as the waterfall. I settled on doing a doughnut chart. 

It would be great to see these wrinkles sorted out. In my mind, there is no good reason I can do a bar graph with the right data, but not a waterfall. 

View solution in original post

cyongt_bdf Frequent Visitor
Frequent Visitor

Re: Waterfall Chart using Measures

Hi,

 

You can do it via a workaround in DAX formula and a control table.

1. Create a table with matching "measure" name:

image.png

 

 

 

 

 

 

2. Create an additional measure for your waterfall chart, you may apply + or - for your measure to get the waterfall sentiment:

Waterfall value = 
    SWITCH (
        SELECTEDVALUE ( Table1[Index] );
        1; +[Measure 1];
        2; +[Measure 2];
        3; -[Measure 3];
        BLANK()
    )

3. Apply the new measure in your waterfall chart, with the category based on the table field created (Note that you need to sort it via the category, use hierarchical drill-down if needed):

 

image.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Cheers!

Highlighted

Re: Waterfall Chart using Measures

Hi @Cyanva ,

 

Your solutions worked fine. I need to add product category to the water fall.

 

Example:

 

measure 1 then it should show by product category for the measure 1 and so on.

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

New Badges

Incoming: New and Improved Badges

Exciting news: We've given our badges an overhaul and added brand news ones.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 256 members 2,754 guests
Please welcome our newest community members: