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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

How to get total value in column clustererd chart

i have single datasheet name called Master . in this sheet have two column name    reductionlist  and  value . i am trying to get  total value clusterd column graph . when i use union measure getting error .

 

i have attached simple  sample data sheet for   reference 

 

i have expained in pbi file   also with expected output screen shot    
Sample File  

 

thanks in advance .

 

 

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

If you want to add the total column in the chart, you cannot use measure. You need create an entity table/calculated table. But once you do this, the total value of the chart will be static (not affected by filters)

sample:

New Table = 
VAR tab1 =
    FILTER (
        Sheet1,
        Sheet1[Reduction buckets]
            IN {
            " Total Reduction",
            "Overstock Consumption",
            " xxxxx",
            "xxxxx"
        }
    )
VAR tab2 =
    ROW (
        "Reduction buckeys", "Total",
        "Value", SUMX(tab1,Sheet1[Value] )
    )
RETURN
    UNION ( tab2, tab1 )

In addition,  you try to use 'water fall chart' to replace ‘line and clustered column chart’.

 

Best Regards,
Community Support Team _ Eason

v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

If you want to add the total column in the chart, you cannot use measure. You need create an entity table/calculated table. But once you do this, the total value of the chart will be static (not affected by filters)

sample:

New Table = 
VAR tab1 =
    FILTER (
        Sheet1,
        Sheet1[Reduction buckets]
            IN {
            " Total Reduction",
            "Overstock Consumption",
            " xxxxx",
            "xxxxx"
        }
    )
VAR tab2 =
    ROW (
        "Reduction buckeys", "Total",
        "Value", SUMX(tab1,Sheet1[Value] )
    )
RETURN
    UNION ( tab2, tab1 )

In addition,  you try to use 'water fall chart' to replace ‘line and clustered column chart’.

 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors