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

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

Reply
andrewkla
Frequent Visitor

Sum of two columns based on two filters?

No sure if the title descsribes what I want to do very well, basically I have this data:

 

Case IDDateWriterWriter pointsCheckerChecker Points
ID 245MarchJames100Andrew20
ID 548MarchAndrew150James30
ID 874AprilAndrew160James32
ID 965AprilAndrew50James10
ID 587AprilJames80Andrew16

 

Writer points and checker points are the same points, which I need to visualise the sum of, per month, per person. This is the desired visualisation result:

 

Andrew170226
James130122
 MarchApril

 

Any help appreciated!

1 ACCEPTED SOLUTION
Fowmy
Super User
Super User

@andrewkla 

I transformed your table in Power Query to a usable layout and just added the points using sum.

Fowmy_0-1621767222924.png

Please check the attached PBIX file and check the PQ steps

Fowmy_1-1621767278853.png

 

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

3 REPLIES 3
Fowmy
Super User
Super User

@andrewkla 

I transformed your table in Power Query to a usable layout and just added the points using sum.

Fowmy_0-1621767222924.png

Please check the attached PBIX file and check the PQ steps

Fowmy_1-1621767278853.png

 

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

@Fowmy 

Thanks, this is indeed a good idea, however - something I should have probably mentioned - my Checker column is a calculated column (lookupvalue from another table where I have Case ID and Checker name). So I can't really pivot that, right?

 

Is there another way of doing it, or have I gone the wrong direction by creating this calculated column in the first place and should have resolved it by some kind of a measure that adds values from two original tables?

@andrewkla 

The right way is to organize your data as I did. If you need a measure, it is possible but not a recommended approach as you may have different names in the writer checker, and the filter by name and other columns are complex.

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.