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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Ryanh
New Member

Help with Measure to summarize multiple rows (picture included)

Hi,

 

I'm trying to write a measure in PowerBI that will make the items on the left summarize in to a format that will look like the items on the right. Is there an easy way to do this?

Ryanh_0-1656360590081.png

 

 

 

1 ACCEPTED SOLUTION
ManguilibeKAO
Resolver I
Resolver I

Hi Ryanh,

Here's a solution:

Create a table named TableB, with the following formula:

Table B=SUMMARIZE('TableA','TableA'[Name],"Balance",SUM('TableA'[Balance]))

 

Note that I have assummed that TableA is the name of the table containing the input data.

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

 

Manguilibe KAO

View solution in original post

2 REPLIES 2
Ryanh
New Member

Hi,

 

Thank you so much for your help on this! This worked - I couldn't get it to work at first until I made sure to transform the data and made sure the numbers were decimal or whole numbers. At first I had them at text so I was getting an error which made me think the formula didn't work, but it did!

 

Ryan

ManguilibeKAO
Resolver I
Resolver I

Hi Ryanh,

Here's a solution:

Create a table named TableB, with the following formula:

Table B=SUMMARIZE('TableA','TableA'[Name],"Balance",SUM('TableA'[Balance]))

 

Note that I have assummed that TableA is the name of the table containing the input data.

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

 

Manguilibe KAO

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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