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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
OllieHiggins
Regular Visitor

Using a slicer on a stacked column chart

I have a stacked column chart which I've manipulated to look like a waterfall chart, to show how sales go from A to B over a period of time. The x axis is the passage of time and segments in each column chart are effectively different channels of sales in each period. I would like to introduce a slicer to isolate each channel, so if they click on a particular option, the chart only shows the sales from that channel.

 

I've been reading around parameter fields as an option, but I can't seem to get it to work, I've created the slicer through this method and tried to drag it into the graph visual in both the legend data field (didn't do anything) and the small multiple data field (split the graph into quadrants). 

 

I've read that it's something to do with the parameter fields looking up against numerical data, but I can't figure out what the issue or solution is. I've tried creating separate, basic measures for each of the sales channels e.g., measure = Sum('sales'[sales channel1]) etc. and putting them into the parameter slicer instead of just the original field, but no luck there either.

 

PS I'm not wed to parameter fields, if there's a better solution.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @OllieHiggins ,

 

Please refers to the following steps.

 

Create corresponding measures for each channel and use them to create field parameters and a slicer.

Channel1 = SUM(Sheet1[Channel 1])
Channel2 = SUM(Sheet1[Channel 2])
Channel3 = SUM(Sheet1[Channel 3])

 

Place the field parameter field in the Y-axis, replacing the 'Channel1', 'Channel2', and 'Channel3' fields.

The final result is as follows.

vdengllimsft_0-1740646329688.png

 

Please see the attached pbix for reference.

 

Best Regards,
Dengliang Li

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

6 REPLIES 6
Anonymous
Not applicable

Hi @OllieHiggins ,

 

Please refers to the following steps.

 

Create corresponding measures for each channel and use them to create field parameters and a slicer.

Channel1 = SUM(Sheet1[Channel 1])
Channel2 = SUM(Sheet1[Channel 2])
Channel3 = SUM(Sheet1[Channel 3])

 

Place the field parameter field in the Y-axis, replacing the 'Channel1', 'Channel2', and 'Channel3' fields.

The final result is as follows.

vdengllimsft_0-1740646329688.png

 

Please see the attached pbix for reference.

 

Best Regards,
Dengliang Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Brilliant, thank you!

OllieHiggins
Regular Visitor

Thanks - I have created the below test file to demonstrate the ask   https://drive.google.com/file/d/1u4JpzhS99xSXmy6RMuNl3B_Pf2p9sVOv/view?usp=drive_link 

 

Essentially, I'd like a slicer that you could click and it would show just sales channel 1, sales channel 2 etc.

 

The underlying spreadsheet linking to the PowerBI is as follows - the "difference" column is then made 100% transparent in the graph in PowerBI, so as to create the waterfall effect:

 

SortWaterfall Data Points£PillarsChannel 1Channel 2Channel 3Difference
124/25 Opening Position8000080000    
224/25 sales to date2000 2000  80000
3Current Period Closing Position8200082000    
4ROY sales forecast1800 0 180082000
5FY25 Forecast8380083800    
625/261925 43060143583800
726/273553 954360223985725
827/28+5779 5394385089278
9End State9505795057    
OllieHiggins
Regular Visitor

Thanks - I have created the below test file to demonstrate the ask   https://drive.google.com/file/d/1u4JpzhS99xSXmy6RMuNl3B_Pf2p9sVOv/view?usp=drive_link 

 

Essentially, I'd like a slicer that you could click and it would show just sales channel 1, sales channel 2 etc.

 

The underlying spreadsheet linking to the PowerBI is as follows - the "difference" column is then made 100% transparent in the graph in PowerBI, so as to create the waterfall effect:

 

SortWaterfall Data Points£PillarsChannel 1Channel 2Channel 3Difference
124/25 Opening Position8000080000    
224/25 sales to date2000 2000  80000
3Current Period Closing Position8200082000    
4ROY sales forecast1800 0 180082000
5FY25 Forecast8380083800    
625/261925 43060143583800
726/273553 954360223985725
827/28+5779 5394385089278
9End State9505795057    
danextian
Super User
Super User

Hi @OllieHiggins 

Please provide a workable sample data (not an image), your expected result from the same sample data and your reasoning behind. This will make it easier for us to figure out what you're trying to achieve.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
parry2k
Super User
Super User

@OllieHiggins Sorry but your question is not very clear. Could you please provide more details? Read this post to get your answer quickly.

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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