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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
bvdm1980
Helper II
Helper II

totals showing same value - table relation question

Hi.

 

I have the following tables:

dim_CostActivity

fact_CostDetails

fact_BudgetDetails

 

my cost activity is ofcourse coming back in multiple tables. Unique values. So i linked this to both fact tables on the CostActivity field

What i don't get is, that when i use a measured SUM on total budget and total costs, one of these is showing same values on all rows. 

For example:

matrix table with CostActivity and TotalBudget from Budget table, and then TotalCost from cost table gives me the correct values per activity for budget, but same totals on every row for Costs. 

matrix table with CostActivity and TotalCosts from Cost table, and then TotalBudget from budget table, gives me the correct values per activity for budget, but same totals on every row for Budget.

So somehow the relations arent working like they should? 

1 ACCEPTED SOLUTION

Hi @ImkeF 

 

thanks for your reply. I double checked the settings, and all keys are same formatting. 

what i did wrong (i typed another explanation here and by typing something popped in my mind....)

i used the activity code from 1 of the fact tables, and not the activity from the dim_CostActivity table.... 😄

View solution in original post

2 REPLIES 2
ImkeF
Community Champion
Community Champion

Hi @bvdm1980 ,
indeed, that's often the reason.
Make sure that the key-columns are of the same type (text or numbers for example).

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Hi @ImkeF 

 

thanks for your reply. I double checked the settings, and all keys are same formatting. 

what i did wrong (i typed another explanation here and by typing something popped in my mind....)

i used the activity code from 1 of the fact tables, and not the activity from the dim_CostActivity table.... 😄

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.