Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello:
Is there any way to trun the current graph that I made:
into this. I want each data label to show + the total
Also, when numbers are really low "stacked column" chart doesnt show some number becuase of the axis. How can I show numbers here. How can I adjust the numbers in axis.
Solved! Go to Solution.
Hi @samnaw ,
I created some data:
Here are the steps you can follow:
1. Create calculated table.
Table 2 =
var _table1=
DISTINCT('Table'[Group2])
var _table2=
{"Total"}
return
UNION(
_table1,_table2)
2. Create measure
Measure =
IF(
MAX('Table 2'[Group2])="Total",
SUMX(
FILTER(ALL('Table'),'Table'[Group1]=MAX('Table'[Group1])),[Value])
,
SUMX(
FILTER(ALL('Table'),'Table'[Group1]=MAX('Table'[Group1])&&'Table'[Group2]=MAX('Table 2'[Group2])),[Value])
)
3. Result:
If you want to display values with low numbers, you can customize Range's Maximum in Visualizations – Format – Y-axis.
Range that is too large automatically omits values with smaller numbers.
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
Hi @samnaw ,
I created some data:
Here are the steps you can follow:
1. Create calculated table.
Table 2 =
var _table1=
DISTINCT('Table'[Group2])
var _table2=
{"Total"}
return
UNION(
_table1,_table2)
2. Create measure
Measure =
IF(
MAX('Table 2'[Group2])="Total",
SUMX(
FILTER(ALL('Table'),'Table'[Group1]=MAX('Table'[Group1])),[Value])
,
SUMX(
FILTER(ALL('Table'),'Table'[Group1]=MAX('Table'[Group1])&&'Table'[Group2]=MAX('Table 2'[Group2])),[Value])
)
3. Result:
If you want to display values with low numbers, you can customize Range's Maximum in Visualizations – Format – Y-axis.
Range that is too large automatically omits values with smaller numbers.
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
56 | |
54 | |
54 | |
37 | |
29 |
User | Count |
---|---|
77 | |
63 | |
45 | |
40 | |
40 |