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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
v-cgao-msft
Community Support
Community Support

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
v-cgao-msft
Community Support
Community Support

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.