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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
yishenhui
Helper I
Helper I

How to control the order when grouping

Hi,

 

When I grouping, is it poosible to control the order of aggregation? As below two screenshots, the first step, the data is already sorted. But when I grouping and want to combine those string together with this order, it doesn't. Any idea how to get it?

 

Thanks

 

image.pngimage.png

1 ACCEPTED SOLUTION
Payeras_BI
Solution Sage
Solution Sage

Hi @yishenhui ,

I would try this:

Table.Group(Table.Buffer(SortTableAgain),...

 

If this post answered your question, please mark it as a solution to help other users find useful content.
Kudos are another nice way to acknowledge those who tried to help you.

J. Payeras
Mallorca, Spain

View solution in original post

2 REPLIES 2
Payeras_BI
Solution Sage
Solution Sage

Hi @yishenhui ,

I would try this:

Table.Group(Table.Buffer(SortTableAgain),...

 

If this post answered your question, please mark it as a solution to help other users find useful content.
Kudos are another nice way to acknowledge those who tried to help you.

J. Payeras
Mallorca, Spain

Hi J.Payeras,

 

I applied a sorting  in the source date loading. After that, the issue disappeared even I removed the sorting. I cannot re-produce the issue again to test your suggestion. But I have read the articles about Table.Buffer and would accept it as Solution.

 

Thanks.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 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.