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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
rpinxt
Solution Sage
Solution Sage

Can you group columns to expand and colapse like in excel?

We have a simple list visual which contains these fields:

rpinxt_0-1676623861666.png

So the first field is the total and the others are the breakdown.

In excel you would group these fields and user could expand or collapse the group.

 

Can Power BI do something similar?

Not really talking about DAX but just shorten the columns that are shown in the visual or expand them and the visual gets wider again.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @rpinxt ,

You can try to use group and bin in Power BI Desktop.

  • To use grouping, select two or more elements on a visual by using Ctrl+Select. Then right-click one of the selected elements, scroll to Group, and choose Group from the context menu.
  • Use binning to right-size the data that Power BI Desktop displays. You can set the bin size for numerical and time fields in Power BI Desktop. You can make bins for calculated columns but not for measures.

More details: 

Use grouping and binning in Power BI Desktop - Power BI | Microsoft Learn

Group rows or columns in table / matrix reports in Power BI - Inforiver

 

Best Regards
Community Support Team _ Polly

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

3 REPLIES 3
rpinxt
Solution Sage
Solution Sage

No sure why the answer was chosen by someone as a solution.

Does not seem to do what I asked. Althought the inforiver add-ins are very nice.

 

But cannot seem to find how it would group two or more measures together.

Apparently it only works with fields. (as in excel you would be able to collapse and expand any column. Also when they only contain formulas)

Anonymous
Not applicable

Hi @rpinxt ,

You can try to use group and bin in Power BI Desktop.

  • To use grouping, select two or more elements on a visual by using Ctrl+Select. Then right-click one of the selected elements, scroll to Group, and choose Group from the context menu.
  • Use binning to right-size the data that Power BI Desktop displays. You can set the bin size for numerical and time fields in Power BI Desktop. You can make bins for calculated columns but not for measures.

More details: 

Use grouping and binning in Power BI Desktop - Power BI | Microsoft Learn

Group rows or columns in table / matrix reports in Power BI - Inforiver

 

Best Regards
Community Support Team _ Polly

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

rpinxt
Solution Sage
Solution Sage

Hopefully people understand what I mean or should I give an excel example?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

Top Solution Authors