Forum Discussion
Waterfall Chart Help
- 6 months ago
Hi manah77g ,
I failed to meet all of your requirements. Coloring the first column wasn't possible with the standard waterfall chart visual. But maybe you're still satisfied with my solution. I did the following:
- Entering your table using "Enter data"
- Switch to Power Query
- Removed the t from row 8
- Added an index column (a very important step to keep the category order)
- Changed type of "value" column to decimal number using context menu "using local..." and an appropriate region for your number format
- Removed your last row (the Power BI waterfall calculates its own total)
- Closed Power Query
- Set Sortby Index of category column to index (a very important step to keep the category order)
- Set format of value to Decimal number and adapt the details like the number of decimal places
- Add a waterfall visual
- Add "category" to Category
- Add "value" to value.
- Check an appropriate summarization setting for value (Min, Max, Sum should work)
- Adjust the setting of the waterfall chart:
- Columns->Colors: Adjust color of total column
- Add a textbox with "Actual NPAT" to cover the "Total" string
Find attached a pbix Demo!
Hope that helps and meets at least the most of your requirements!
- 6 months ago
Dear manah77g,
I'm glad if I could help.
It might be interesting for you to have a look at a custom waterfall visual:
- https://marketplace.microsoft.com/en-us/product/power-bi-visuals/WA200000195?src=office&tab=Overview
- It's free
- First and last column may have a different color but not dynamically
- Or a more sophistcated one: https://inforiver.com/analytics-plus/waterfall-chart/
- Not free
- You can adjust almost everything
But I have no experience with one of these custom visuals.
- https://marketplace.microsoft.com/en-us/product/power-bi-visuals/WA200000195?src=office&tab=Overview
Dear Hans-Georg_Puls ,
note that manah77g is my account
Great job on the solution, especially regarding the removal of the eighth row. Thank you very much for your valuable help.
I still have two challenges:
First: How can I set the Budget color to be different from green and red? Since it does not represent an increase or decrease, but rather a fixed and predefined budget.
Second: How can I make the Total (Actual) dynamic so that it appears in green when the value is positive and in red when it is negative? Because I tried another data, the total became negative but it appears in green color.
Is there another type of Waterfall chart that can support this requirement?
I truly appreciate your cooperation and support in helping me solve this challenge.
Dear manah77g,
I'm glad if I could help.
It might be interesting for you to have a look at a custom waterfall visual:
- https://marketplace.microsoft.com/en-us/product/power-bi-visuals/WA200000195?src=office&tab=Overview
- It's free
- First and last column may have a different color but not dynamically
- Or a more sophistcated one: https://inforiver.com/analytics-plus/waterfall-chart/
- Not free
- You can adjust almost everything
But I have no experience with one of these custom visuals.