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
amon151
Frequent Visitor

Aggregate selected columns on chart

I'm not sure how to exactly ask this question so plese bear wtih me.

 

I have a column chart with bins like this...

amon151_0-1705610969247.png

 

What I want to do is select/highlight a group a columns in this chart and be able to see the sum of those values. For example, if the table below represented my column chart, I would select/highlight bins 2 & 3 and see a total of 13. I'm thinking this can be achieved using measures but I'm not sure where to start. Any ideas?

 

amon151_1-1705611521705.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @amon151 ,

You can use slicer to achieve this:
Here is my sample data:

vjunyantmsft_0-1705891022536.png

Then I use this DAX to create a measure:

SUM = SUM('Table'[Value])

I use ID and Value to create a column chart and put this measure into a card visual, then use Bin to create a slicer:

vjunyantmsft_1-1705891063020.png

The final output is below:

vjunyantmsft_2-1705891225116.png


Best Regards,
Dino Tao
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

2 REPLIES 2
Anonymous
Not applicable

Hi @amon151 ,

You can use slicer to achieve this:
Here is my sample data:

vjunyantmsft_0-1705891022536.png

Then I use this DAX to create a measure:

SUM = SUM('Table'[Value])

I use ID and Value to create a column chart and put this measure into a card visual, then use Bin to create a slicer:

vjunyantmsft_1-1705891063020.png

The final output is below:

vjunyantmsft_2-1705891225116.png


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

Daniel29195
Super User
Super User

hello @amon151 

 

is this the requirement you want to achieve ? 

Daniel29195_0-1705703628080.png

 

if yes, then power bi will automatically filters data and show the sum of the selected columns from the visual..

 

or am i missing something ? 

 

best regards,

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.