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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Sky20997
Regular Visitor

Need Help, I want to show Avg total by enabling TOTALS of STACKED Column Chart in Power BI

Hello Everyone, 

I would like to show Avg Sales in the Totals part but when I am enabling the TOTAL labels in the Stacked Column Chart, it is simply Summing up the Avg Sales, but my requirement is to show Avg of Avg [Sales]. What is the way around, I have tried using DAX INSCOPE() but that is working for MATRIX Total not in Column Chart Totals. 

I am using Year wise Avg Sales stacked by Region. 

Kindly help please. Need your suggestion on how to show those total at the avg sales at top of the bars.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @Sky20997 

You just use the Line and stacked column chart. 

vyohuamsft_1-1732599602435.png

 

Then create measures:

AvgSales = AVERAGE('Table'[SalesAmount])
AvgOfAvgSales = 
AVERAGEX(
    SUMMARIZE(
        'Table',
        'Table'[Year],
        "AvgSalesPerYear", [AvgSales]
    ),
    [AvgSalesPerYear]
)

Add Year to the X-axis. Add the AvgOfAvgSales measure to the line y-axis. Add AvgSales to the column y-axis and add Region to the column legend. Here is my preview:

vyohuamsft_2-1732599938031.png

 

If you want to display total labels, you can turn them on in the format navigation bar

vyohuamsft_3-1732600036733.png

 

You can refer to the following link:

Showing the Total Value in Stacked Column Chart in Power BI - RADACAD

 

How to Get Your Question Answered Quickly

Best Regards

Yongkang Hua

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

5 REPLIES 5
Ashish_Mathur
Super User
Super User

Hi,

Share the download link of the PBi file.  Show the problem and the expected result clearly.


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

@Ashish_Mathur  Sorry for the lack of information, but I maynot be able to share the pbix file as a whole, I have tried to explain my requirement in the image below. 

Sky20997_1-1732594266038.png

Can you please suggest the best scenario for this ? 

Anonymous
Not applicable

Hi, @Sky20997 
Maybe you can use combined charts (line and stacked column charts) are implemented. I create a sample table and measures(Avg and TotalAvg).

vyohuamsft_1-1732587426985.png

AvgSales = AVERAGE('Table'[SalesAmount])
TotalAvgSales = CALCULATE(AVERAGE('Table'[SalesAmount]), ALL('Table'[Region]))

Then put Avg measure in column y-axis and TotalAvg in line y-axis. Here is my preview:

vyohuamsft_0-1732587413072.png

 

How to Get Your Question Answered Quickly

Best Regards

Yongkang Hua

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

Thank you @Anonymous  for the prompt reply, this solution may not be ideal for my scenario. As I am using aCombo Chart in the first place.  I am showing YOY% trend in the line y-axis, it is the TOTALS were I would like to show something like this 

Sky20997_0-1732594106255.png

What do you suggest, how can I achieve it ? 

Anonymous
Not applicable

Hi, @Sky20997 

You just use the Line and stacked column chart. 

vyohuamsft_1-1732599602435.png

 

Then create measures:

AvgSales = AVERAGE('Table'[SalesAmount])
AvgOfAvgSales = 
AVERAGEX(
    SUMMARIZE(
        'Table',
        'Table'[Year],
        "AvgSalesPerYear", [AvgSales]
    ),
    [AvgSalesPerYear]
)

Add Year to the X-axis. Add the AvgOfAvgSales measure to the line y-axis. Add AvgSales to the column y-axis and add Region to the column legend. Here is my preview:

vyohuamsft_2-1732599938031.png

 

If you want to display total labels, you can turn them on in the format navigation bar

vyohuamsft_3-1732600036733.png

 

You can refer to the following link:

Showing the Total Value in Stacked Column Chart in Power BI - RADACAD

 

How to Get Your Question Answered Quickly

Best Regards

Yongkang Hua

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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.