Create a waterfall Plot.

Parameters:

Parameters:

The R_Waterfall_Chart action button generates a waterfall chart using R, providing a clear visual representation of sequential positive and negative contributions to a total value. This visualization is especially useful for financial reporting (e.g., profit and loss analysis), cost breakdowns, or operational impact assessments.
By processing a sorted dataset of labels and numeric values, the action highlights how each element contributes to the overall result. The chart can be customized with labels, titles, fonts, and output format (HTML).
Input Data
The action requires a dataset with at least two columns:
The Values column must be strictly numeric. Any non-numeric entries (e.g., "NA", "Total", "€1000", empty cells) will cause errors in processing. Pre-cleaning is strongly recommended.
Sorting Requirement
Chart Construction
Optional Features
Below are the main configuration properties available in the R_Waterfall_Chart action button:
Financial Analysis
Show revenue, expenses, and net profit in an easy-to-read breakdown.
Project Management
Illustrate stepwise contributions of tasks or risks to project cost/timeline.
Operational Reporting
Display how different factors (e.g., production, transport, overhead) impact overall performance.
Error: non-numeric argument to binary operator
→ Ensure the Values column is numeric only. Remove currency symbols, thousand separators, and text entries.
Error due to Subtotals
→ Disable the Add sub-totals option until the chart renders successfully.
Empty or Incorrect Output
→ Confirm sorting step is applied before chart generation.

