Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi everyone,
I have been trying to add grant totals bar for unstacked (clustered) bar chart that depends on two measures(values), and this is clustered by a hierarchy (Region>Countries>Sites), I could reach the goal for Regions as this solution https://community.powerbi.com/t5/Desktop/Grand-Total-in-Bar-Chart/td-p/612631 , but when I try to mimic it for the following hierarchies it gives me grant totals for every country or site which has zero values. Do you know some trick to achieve this approach?
Solved! Go to Solution.
@Anonymous
Thank you for providing the additional info and sample file. The key was knowing what formula you were using.
You need to update your measure to:
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
@Anonymous
Thank you for providing the additional info and sample file. The key was knowing what formula you were using.
You need to update your measure to:
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Hi @Anonymous ,
Your columns [inv] and [olu] have 0 in the data, so the value of 0 will be displayed
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , You a create line clustered visual and Line with the marker. And you can have line color same background color.
Refer to this example
https://radacad.com/showing-the-total-value-in-stacked-column-chart-in-power-bi
Do you have dimension tables or is it all in one table? Please can you provide sample of your data model with the blank values. You need to find the right modified filter context, probably using ALL() or ALLSELECTED or ALLEXCEPT, etc. Please give as much info as possible about what filters you have on the page too and what to respect and ignore.
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
I attached the sample file
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 38 | |
| 31 | |
| 27 | |
| 26 |