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
RafaelAri
Helper III
Helper III

Measure for sum in Clustered column

Hello all,

I have a Clustered Column visual, that display results of up to 3 years (including a slicer to select years).

What is the best way to display the total value, for each category (X-axis item), for selected years?

RafaelAri_0-1710855296379.png

 

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

Create a Table visual and drag Category there.  Drag the same measure as the one you have dragged to the column chart visual.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

4 REPLIES 4
Ashish_Mathur
Super User
Super User

Hi,

Create a Table visual and drag Category there.  Drag the same measure as the one you have dragged to the column chart visual.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Thanks, very good, but is there a way to display this as an additional column, in the clustered-column chart?

You are welcome.  Even if you do that, wouldn't the existing columns become very small because their height will be relative to the Grand total column?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hi @RafaelAri ,

Depending on the information you provided, you can follow these steps below:

1.Add new measure and put it into Card.

Total value = 
VAR _selectedyear =SELECTEDVALUE('Table'[Year])
RETURN
CALCULATE(SUM('Table'[Sales]),FILTER('Table','Table'[Year]=_selectedyear))

Final output:

vyifanwmsft_0-1710901198713.png

vyifanwmsft_1-1710901216317.png

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

If it does not help, please provide more details with your desired out put and pbix file without privacy information.

 

Best Regards,

Ada Wang

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

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.

Users online (5,913)