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

How to Order wise align  clusterd chart

i have created clusterd column chart  Using measure with  total value 
 
Below measuer i used in the graph : 
 
 
 
Total Month =
IF(SELECTEDVALUE('Total Month variation'[Reduction buckets])="Total Month Variation",CALCULATE(SUM('Master Data Base'[Value]),ALLSELECTED('Total Month variation'[Reduction buckets])),
SUM('Master Data Base'[Value]))
 
 
 
Now  i have created calculated column  like 
 
Total Month variation = UNION ( VALUES ( 'Master Data base'[Reduction buckets]), ROW ( "Reduction Buckets", "Total Month Variation" ) )
 
 
 
Now  my Grpah looks like 
 
THENNA_41_0-1637302924059.png

 

I want to make this graph order wise  like below 

 

THENNA_41_1-1637302966766.png

 

 
any idea . thanks in advance 
 
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

I created a sample pbix file(see attachment), please check whether that is what you want.

1. Create a sorted table by manual typing. You can also put this sorted table on a cloud-based file (e.g. OneDrive), which makes it easy to maintain and refresh later.

yingyinr_0-1637572883576.png

2. Select the field "Reduction buckets" and sort by column "Order"

yingyinr_1-1637573004378.png

3. Update the formula of your measure [Total Month] as below:

 

Total Month = 
VAR _selbucket =
    SELECTEDVALUE ( 'OrderTable'[Reduction buckets] )
RETURN
    IF (
        _selbucket = "Total Month Variation",
        CALCULATE (
            SUM ( 'Master Data Base'[Value] ),
            ALLSELECTED ( 'OrderTable'[Reduction buckets] )
        ),
        CALCULATE (
            SUM ( 'Master Data Base'[Value] ),
            FILTER (
                'Master Data Base',
                'Master Data Base'[Reduction buckets] = _selbucket
            )
        )
    )

 

4. Create a clustered column chart(Axis:Reduction buckets of table OrderTable Values: Total Month)

yingyinr_2-1637573102852.png

Best Regards

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

I created a sample pbix file(see attachment), please check whether that is what you want.

1. Create a sorted table by manual typing. You can also put this sorted table on a cloud-based file (e.g. OneDrive), which makes it easy to maintain and refresh later.

yingyinr_0-1637572883576.png

2. Select the field "Reduction buckets" and sort by column "Order"

yingyinr_1-1637573004378.png

3. Update the formula of your measure [Total Month] as below:

 

Total Month = 
VAR _selbucket =
    SELECTEDVALUE ( 'OrderTable'[Reduction buckets] )
RETURN
    IF (
        _selbucket = "Total Month Variation",
        CALCULATE (
            SUM ( 'Master Data Base'[Value] ),
            ALLSELECTED ( 'OrderTable'[Reduction buckets] )
        ),
        CALCULATE (
            SUM ( 'Master Data Base'[Value] ),
            FILTER (
                'Master Data Base',
                'Master Data Base'[Reduction buckets] = _selbucket
            )
        )
    )

 

4. Create a clustered column chart(Axis:Reduction buckets of table OrderTable Values: Total Month)

yingyinr_2-1637573102852.png

Best Regards

Anonymous
Not applicable

i have created clusterd column chart  Using measure with  total value 
 
Below measuer i used in the graph : 
 
 
 
Total Month =
IF(SELECTEDVALUE('Total Month variation'[Reduction buckets])="Total Month Variation",CALCULATE(SUM('Master Data Base'[Value]),ALLSELECTED('Total Month variation'[Reduction buckets])),
SUM('Master Data Base'[Value]))
 
 
 
Now  i have created calculated column  like 
 
Total Month variation = UNION ( VALUES ( 'Master Data base'[Reduction buckets]), ROW ( "Reduction Buckets", "Total Month Variation" ) )
 
 
 
Now  my Grpah looks like 
 
THENNA_41_0-1637302924059.png

 

I want to make this graph order wise  like below 

 

THENNA_41_1-1637302966766.png

 

 
any idea . thanks in advance 
 

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.