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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

How to align waterfall chart list

 i have created  dax query for water fall chart  like  below 

 

Waterfall_ = var _res = IF('Master Data Base'[Reduction buckets]="Ex rate","Ex rate",

        if('Master Data Base'[Reduction buckets]=" Overstock Consumption","Overstock Consumption",

        if('Master Data Base'[Reduction buckets]=" Scrap","Scrap",

        if('Master Data Base'[Reduction buckets]=" Supply Improvements","Supply Improvements",

        if('Master Data Base'[Reduction buckets]=" Sell Back to OEM´s","Sell Back to OEM´s",

        if('Master Data Base'[Reduction buckets]="New Materials","New Materials",

        IF('Master Data Base'[Reduction buckets]=" Glidepath RF06"&& 'Master Data Base'[Month]="AC Sep","End Inventor",

        IF('Master Data Base'[Reduction buckets]=" Glidepath RF06"&&'Master Data Base'[Month]="Dec 2020","Starting Inventor")))))))) return _res

 

 

THENNA_41_0-1636621584084.png

 

but i want order looks like below 

 

THENNA_41_1-1636621740952.png

 

 how i will rearrange   the order . any idea . please help me 

 

 

1 ACCEPTED SOLUTION
v-cazheng-msft
Community Support
Community Support

Hi @Anonymous 

 

You may try this solution. Firstly, you need create a Calculated column as follows.

Order =

VAR bucket = 'Master Data Base'[Reduction buckets]

VAR month_ = 'Master Data Base'[Month]

RETURN

    SWITCH (

        TRUE (),

        bucket = " Glidepath RF06"

            && month_ = "Dec 2020", 1,

        bucket = "Ex rate", 2,

        bucket = " Overstock Consumption", 3,

        bucket = "New Materials", 4,

        bucket = " Scrap", 5,

        bucket = " Supply Improvements", 6,

        bucket = " Sell Back to OEM´s", 7,

        bucket = " Glidepath RF06"

            && month_ = "AC Sep", 8

    )

 

Then, you need sort Waterfall_ column with this newly created Calculated column.

vcazhengmsft_4-1636941926422.png

 

After that, make sure that your visual is sorted by Waterfall_ column in ascending.

vcazhengmsft_5-1636941926424.png

 

Attached pbix file as reference.

 

Best Regards,

Community Support Team _ Caiyun

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. If you still have problems on it, please feel free to let us know. Thanks a lot!

 

 

View solution in original post

2 REPLIES 2
v-cazheng-msft
Community Support
Community Support

Hi @Anonymous 

 

You may try this solution. Firstly, you need create a Calculated column as follows.

Order =

VAR bucket = 'Master Data Base'[Reduction buckets]

VAR month_ = 'Master Data Base'[Month]

RETURN

    SWITCH (

        TRUE (),

        bucket = " Glidepath RF06"

            && month_ = "Dec 2020", 1,

        bucket = "Ex rate", 2,

        bucket = " Overstock Consumption", 3,

        bucket = "New Materials", 4,

        bucket = " Scrap", 5,

        bucket = " Supply Improvements", 6,

        bucket = " Sell Back to OEM´s", 7,

        bucket = " Glidepath RF06"

            && month_ = "AC Sep", 8

    )

 

Then, you need sort Waterfall_ column with this newly created Calculated column.

vcazhengmsft_4-1636941926422.png

 

After that, make sure that your visual is sorted by Waterfall_ column in ascending.

vcazhengmsft_5-1636941926424.png

 

Attached pbix file as reference.

 

Best Regards,

Community Support Team _ Caiyun

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. If you still have problems on it, please feel free to let us know. Thanks a lot!

 

 

Anonymous
Not applicable

Hello @Anonymous 
You can create a calculated table using the same logic and create an index column then sort the values based on the index column. Please create an appropriate realtionship. I hope this works for you.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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