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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Josearce
Regular Visitor

Table

I have a table with columnns A through D. I need to find a way to sum the data from column D filtered by column C. Finally, if I take the column C out of the table, D still need to present the total results as filtered by column C.

I will try to make an example:

Column A. Column B. Column C. Column D
Event 1. Event 1. Tax Id 1. 4
Event 2. Event 2. Tax Id 2. 4
Event 3. Event 3. Tax Id 3. 5

Result I need

Column A. Column B. Column D
Event 1. Event 1. 4
Event 2. Event 2. 4
Event 3. Event 3. 5
1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

Hi @Josearce,

 

We can create a calculated table as below.

 

Table = SUMMARIZE(Table1,Table1[Column A],Table1[Column B],"D",CALCULATE(SUM(Table1[Column D]),VALUES(Table1[Column C])))

Capture.PNG

 

Regards,

Frank

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

View solution in original post

1 REPLY 1
v-frfei-msft
Community Support
Community Support

Hi @Josearce,

 

We can create a calculated table as below.

 

Table = SUMMARIZE(Table1,Table1[Column A],Table1[Column B],"D",CALCULATE(SUM(Table1[Column D]),VALUES(Table1[Column C])))

Capture.PNG

 

Regards,

Frank

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

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.