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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Switch Formula Not Loading in Waterfall Chart

I have run into an issue with developing a report that involves switch formulas being used in waterfall charts. My waterfall chart requires unique measures to be used to showcase the impact of several drivers behind a net sales number. This has been set up using a switch formula, with an index table and the measures. Example shown below: 

Waterfall Value=
SWITCH (
VALUES (Account Table'[Index]),
1, Measure 1,
2, Measure 2,
3, Measure 3,
4, Measure 4,
5, Measure 5,
6, Measure 6,
7, Measure 7,
8, Measure 8,
9, Measure 9
BLANK())


While each measure individually is able to calculate quickly, once put into the switch formula several issues arise. In addition, the report allows filters for different groups (i.e. country, brand, period), and if those are selected, the waterfall chart simply fails to work. Any help would be much appreciated.

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous,

Can you please share a pbix or some dummy data that keep raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

PhilipTreacy
Super User
Super User

Hi @Anonymous 

 

Please supply your file.  This is almost impossible to disgnose without seeing your data and code.

 

regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.