Reply
jnguyen21
Frequent Visitor
Partially syndicated - Outbound

Custom Sorting In a Waterfall Graph

Looking to sort the breakdowns in a custom order. I've created an index for the category to Map Depreciation = 1, Supplies = 2, etc.

However when I sort by axis, the category is not an option for me to sort by. Are there any other ways that I can sort the breakdown?

 

jnguyen21_1-1706130801048.png

 

jnguyen21_2-1706130885218.png

 

 

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

Syndicated - Outbound

Hi @jnguyen21 ,

 

Hope everything is going well.

 

Judging from the screenshot you provided, your Category contains FiscalYear, and your sorting is based on Sum of New YTD.

 

Do you want to sort based on FiscalYear? If yes you can do this:

vhuijieymsft_0-1706147937446.png

 

I provide an example so that you can better understand the sorting of waterfall charts.

 

1. First, create a waterfall chart, with Y axis as "Total Sales Variance" and Category as "FiscalMonth".

vhuijieymsft_1-1706147947941.png

 

2. Sort in descending order according to "FiscalMonth". At this time, August has the largest difference and January has the smallest difference.

vhuijieymsft_2-1706147956973.png

 

3. Sort in descending order according to "Total Sales Variance". At this time, March has the largest positive difference and July has the largest negative difference.

vhuijieymsft_3-1706147965017.png

 

If you want to know more about waterfall chart sorting, please refer to the following document. The fourth item in his directory is about waterfall chart sorting.

Waterfall charts in Power BI - Power BI | Microsoft Learn

 

If I misunderstood your question, I would be grateful if you could provide a more detailed description of the problem or a Power BI Desktop file.

 

If you have any concerns or if I can help you, please feel free to contact me.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or 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-huijiey-msft
Community Support
Community Support

Syndicated - Outbound

Hi @jnguyen21 ,

 

Hope everything is going well.

 

Judging from the screenshot you provided, your Category contains FiscalYear, and your sorting is based on Sum of New YTD.

 

Do you want to sort based on FiscalYear? If yes you can do this:

vhuijieymsft_0-1706147937446.png

 

I provide an example so that you can better understand the sorting of waterfall charts.

 

1. First, create a waterfall chart, with Y axis as "Total Sales Variance" and Category as "FiscalMonth".

vhuijieymsft_1-1706147947941.png

 

2. Sort in descending order according to "FiscalMonth". At this time, August has the largest difference and January has the smallest difference.

vhuijieymsft_2-1706147956973.png

 

3. Sort in descending order according to "Total Sales Variance". At this time, March has the largest positive difference and July has the largest negative difference.

vhuijieymsft_3-1706147965017.png

 

If you want to know more about waterfall chart sorting, please refer to the following document. The fourth item in his directory is about waterfall chart sorting.

Waterfall charts in Power BI - Power BI | Microsoft Learn

 

If I misunderstood your question, I would be grateful if you could provide a more detailed description of the problem or a Power BI Desktop file.

 

If you have any concerns or if I can help you, please feel free to contact me.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

sevenhills
Super User
Super User

Syndicated - Outbound

In the data view, select the column "Category", click "Sort by column". Here, by default it will show the category column. Now, you click the custom "Index" column you created.

 

sevenhills_0-1706135967144.png

 

Go back to report view and the order should be as per the index. 

 

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)