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
CarlSagan
Helper II
Helper II

Many to many relationship causing summation to rollup incorrectly

I have a dimension table called investment_selections and a transactional table called assets. When I put asset records in a table that does not contain investment_selection properties, the running total is summing up as expected. When I throw the assets into a visual that takes the summation of all the assets broken down by a column on the investment_selection table, rows are duplicated somewhere causing the overall sum to be inflated. Below is a screenshot of what I'm talking about

CarlSagan_0-1733512079368.png

these two tables are joined on a concatenated column that takes the planid and account number of both the investment selection and asset records. I thought this would eliminate the many to many problem, but it doesn't seem like it did properly. Any insight on how to deal with many to many or a dax formula that can help point me in the right direction is greatly appreciated.

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

@CarlSagan What is your DAX formula?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Simple

assets_running_total_date_table = 
CALCULATE(
    [assets_total],
    FILTER(
        ALL('Date'[Date]),
        'Date'[Date] <= MAX('Date'[Date])
    )
)

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.