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
samnaw
Resolver I
Resolver I

Graph question

Hello:

 

Is there any way to trun the current graph that I made:

 

samnaw_0-1675951808039.png

 

into this. I want each data label to show + the total

samnaw_1-1675951843504.png

 

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. 

 

samnaw_0-1675952354789.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @samnaw ,

I created some data:

vyangliumsft_0-1676021424035.png

 

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)

vyangliumsft_1-1676021424036.png

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:

vyangliumsft_2-1676021424040.png

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.

vyangliumsft_3-1676021424041.png

 

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

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi  @samnaw ,

I created some data:

vyangliumsft_0-1676021424035.png

 

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)

vyangliumsft_1-1676021424036.png

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:

vyangliumsft_2-1676021424040.png

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.

vyangliumsft_3-1676021424041.png

 

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

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.