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
jsjames2285
New Member

Sum up data from multiple columns

I'm trying to create a pie chart of Segments.  The issue is that one "project" can contain multiple segments.  But I want to have a chart that sums up all of each type of segment.

The Segment cell was originally listed with a "Pipe" separating them, but I did the split column to give me multiple columns.

But as you see RRP can be in Segment 1 and Segment 3.  I'd like my chart to sum up all instances of RRP.

 

RRP occurs 28 times in Segment1 and 11 times in Segment3, but I can't get the pie chart to add all the occurances together.

It just shows 28 in the chart.

2018-09-24_15-35-20.jpg

1 ACCEPTED SOLUTION
v-jiascu-msft
Employee
Employee

Hi @jsjames2285,

 

There could be two solutions. Please refer to the demo in the attachment.

1. Unpivot the three columns into one column.

2. Create a new table and a measure.

Sum_up_data_from_multiple_columns

 

 

Best Regards,
Dale

Community Support Team _ Dale
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

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

 

In the Split column window, click on Advanced and select rows.  Click on OK

 

Does this help?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
v-jiascu-msft
Employee
Employee

Hi @jsjames2285,

 

There could be two solutions. Please refer to the demo in the attachment.

1. Unpivot the three columns into one column.

2. Create a new table and a measure.

Sum_up_data_from_multiple_columns

 

 

Best Regards,
Dale

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

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.