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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
johnelliott
Frequent Visitor

Tallying totals for items in columns based on a value in column A (scorecard)

Greetings PBI community. 

 

I am very much still learning and am a bit stuck on how to accomplish this.

 

I have values in column A of a spreadsheet, 1-15.  In columns B-K there are categories. In each category a name will appear for each of the 1-15 values.  My goal is to total the 'score' for each name based on the corresponding value in column A.


For instance in this example using only 1-3 rather than 1-15, Tom would have 16, Sue would have 21 and Anne would have 23

 

1Tom SueSueTom Tom SueSueTom SueAnne
2SueTom Tom AnneAnneTom Tom SueTom Tom 
3AnneAnneAnneSueSueAnneAnneAnneSueSue

 

Any help would be greatly appreciated.

 

 

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey @johnelliott ,

 

when using Power Query you can select column a and use the transformation "Unpivot other columns", the following screenshot shows the result of this operation:
image.png

The idea of the unpivot operation is to transform the existing wide format into a long format (this is optimal for the Tabular data model).

Then in Power BI you can create this simple table visual

TomMartens_0-1660245141746.png

I'm not sure about the expected result, as I understand the business rule you provided like this:

Sue = 5 * 1 + 2 * 2 + 4 * 3 = 21.

 

Hopefully, this provides what you are looking for.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

1 REPLY 1
TomMartens
Super User
Super User

Hey @johnelliott ,

 

when using Power Query you can select column a and use the transformation "Unpivot other columns", the following screenshot shows the result of this operation:
image.png

The idea of the unpivot operation is to transform the existing wide format into a long format (this is optimal for the Tabular data model).

Then in Power BI you can create this simple table visual

TomMartens_0-1660245141746.png

I'm not sure about the expected result, as I understand the business rule you provided like this:

Sue = 5 * 1 + 2 * 2 + 4 * 3 = 21.

 

Hopefully, this provides what you are looking for.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors