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
Sparsh98
Regular Visitor

Automatic GroupBy while summation

Hi PowerBI Community, 
I am facing an issue where while doing summation of a column it is automatically summing after grouping the data 
For example if input data is 

Sparsh98_0-1707911632138.png

On doing Sum , output I am getting

Sparsh98_1-1707911868269.png

Even though the final Sum is correct, but it is summarizing the data for field Name a as 4 and not keeping the values of a separate as 2 and 2. Is there any way to make this happen. Thanks in advance

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Sparsh98 ,

The fields in the form/matrix will auto-groupby. it's by design.
The workaround is to add an index column (in powerquery) and disguise it as a row number.

vcgaomsft_1-1708325525702.png

vcgaomsft_0-1708325490200.png

Best Regards,
Gao

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!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @Sparsh98 ,

The fields in the form/matrix will auto-groupby. it's by design.
The workaround is to add an index column (in powerquery) and disguise it as a row number.

vcgaomsft_1-1708325525702.png

vcgaomsft_0-1708325490200.png

Best Regards,
Gao

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!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group

_AAndrade
Super User
Super User

 You don't want to aggregate? Is that it?





Did I answer your question? Mark my post as a solution! Kudos are welcome.

Proud to be a Super User!




No , I want to do sum on column Value . Post doing sum , it is combining rows 1 and 2 , and I am getting combined sum as 4 for Name 'a' . Thats is what I want to prevent as it is impacting the number of rows in my case . 
I want to do sum on column Values , but the number of rows should not get altered

 

So the first table image is your data table. Am I right?
You want to see on the matrix visual the same as you see on the first table?





Did I answer your question? Mark my post as a solution! Kudos are welcome.

Proud to be a Super User!




Yes the first table is the data table . The second is a Table Visual not a matrix visual . 

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.

Top Solution Authors
Top Kudoed Authors