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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Comparisons of one category against another - clustered column chart

Hello, 

I would like to show one category, compared to all the others in the data set, by a different category. For example, one store against all the others by age of customers. And I want to be able to change the stores via a slicer

 

ainekiernan_0-1654693108160.png

 

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @Anonymous 

 

You can try to output the value of different ages for all stores except the selected store by Measure. But it can only be placed in 2 charts, because the values of the clustered column chart cannot be placed in 2 variables at the same time. I know the effect you are trying to achieve, comparing one store to all others in the same graph, which is not currently possible.

Measure = 
    CALCULATE (
        SUM ( 'Table'[Value] ),
        FILTER (
            ALL ( 'Table' ),
            [Store] <> SELECTEDVALUE ( 'Table'[Store] )
                && [Category] = SELECTEDVALUE ( 'Table'[Category] )
        )
    )

vzhangti_0-1655106973231.png

 

Best Regards,

Community Support Team _Charlotte

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
v-zhangti
Community Support
Community Support

Hi, @Anonymous 

 

You can try to output the value of different ages for all stores except the selected store by Measure. But it can only be placed in 2 charts, because the values of the clustered column chart cannot be placed in 2 variables at the same time. I know the effect you are trying to achieve, comparing one store to all others in the same graph, which is not currently possible.

Measure = 
    CALCULATE (
        SUM ( 'Table'[Value] ),
        FILTER (
            ALL ( 'Table' ),
            [Store] <> SELECTEDVALUE ( 'Table'[Store] )
                && [Category] = SELECTEDVALUE ( 'Table'[Category] )
        )
    )

vzhangti_0-1655106973231.png

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.