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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
elocke
Frequent Visitor

Many-to-One Relationship Breaks Cumulative Total!

Need help getting a DAX cumulative total to work across two tables with a many-to-one relationship!

 

I have two very simple tables (A dates table, and a people table) connected by a "Name" column.

 
 
 

image.png

image.png

 

 

 

 

 

 

 

 

All I want to do is create a summarized table by date with the cumulative total of people, and a target value.

 

Here's the code for my DAX summarized table:

image.png

 

 

 

 

 

 

 

 

 

 

 

 

 

When the two tables have a 1-to-1 relationship, this code works perfectly!! Unfortunately, as soon as I have more than one record per name in my people table, and the relationship becomes a many-to-one relationship, the cumulative total stops counting cumulatively, and simply returns the total for that record.

 

Is there a way to get around this?? I've already tried using the "all" function, but that didn't help either.

 

image.png

1 ACCEPTED SOLUTION
elocke
Frequent Visitor

Found the issue.

 

All I had to do was change the summarized table to the dates table instead of the people table. Send a kudo if you love the ever miniscule subtlties of Power BI table relationships and DAX. 🙂

 

 

image.png

View solution in original post

2 REPLIES 2
memada
Frequent Visitor

this is most helpful 🙂 I struggled with this for way too long 😔

elocke
Frequent Visitor

Found the issue.

 

All I had to do was change the summarized table to the dates table instead of the people table. Send a kudo if you love the ever miniscule subtlties of Power BI table relationships and DAX. 🙂

 

 

image.png

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.