Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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
| 1 | Tom | Sue | Sue | Tom | Tom | Sue | Sue | Tom | Sue | Anne |
| 2 | Sue | Tom | Tom | Anne | Anne | Tom | Tom | Sue | Tom | Tom |
| 3 | Anne | Anne | Anne | Sue | Sue | Anne | Anne | Anne | Sue | Sue |
Any help would be greatly appreciated.
Solved! Go to Solution.
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:
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
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
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:
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
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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 97 | |
| 71 | |
| 50 | |
| 47 | |
| 44 |