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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
CarlijnM
Frequent Visitor

Make table with filtered totals

Hi,

 

I hope someone can help. I am building a dashboard, in which I need to sum multiple columns in order to get a total score. I need a total score on 3 different subjects (Interieur, Sanitair and Vloeren).

The data looks something like this:

 Interieur 1Interieur 2Interieur 3Vloeren 1Vloeren 2Vloeren 3Sanitair 1Sanitair 2Sanitair 3
1021021021
2202202202
3600600600
4025025025
5160160160

 

As I did it now, I just summed the columns like [column1]+[column2]=[column3] etc. The problem I am having, is that I want to combine the total scores in 1 table. When I try to do this, I get the following result: 

CarlijnM_1-1655715047438.png

 

The problem is, that the total that is calculated in the seperate columns, is shown in every row. So the total for Interieur is also shown behind Sanitair and Vloeren.

 

What I am looking for is this (this is made as an example):

CarlijnM_0-1655715020340.png

 

The total is shown for each category. I want to calculate the total of all columns and rows for Interieur, Sanitair and Vloeren seperately, so 1 total for Interieur, 1 for Sanitair and 1 for Vloeren. 

 

With the data I have, how can I generate the table above?

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@CarlijnM , My advice would be to unpivot the table and split the attribute column by delimiter and you will have these values in a row in one column you can create a measure with a filter

 

https://radacad.com/pivot-and-unpivot-with-power-bi
Split column and Combine Columns: https://youtu.be/T30H_fe2uAA

you only need split part

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
CarlijnM
Frequent Visitor

Thank you very much! It works now!

Had some issues with measures I already made, but I figured it out.

 

amitchandak
Super User
Super User

@CarlijnM , My advice would be to unpivot the table and split the attribute column by delimiter and you will have these values in a row in one column you can create a measure with a filter

 

https://radacad.com/pivot-and-unpivot-with-power-bi
Split column and Combine Columns: https://youtu.be/T30H_fe2uAA

you only need split part

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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 Kudoed Authors