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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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